Android and IOS Client stuck on grant acces or try Login with QR Code

Hy everyone,
I hope someone can help me, please!

i installed a nc20.
I hat installed following Extensions
ldap_user
external Storage

a smbfs Storage on the local LAN is the / [root] mount-point for the ldap_users

occ config:list

"system": {
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "name.domain.tld",
        "name.domain.tld1"
    ],
    "overwriteprotocol": "https",
    "forwarded_for_headers": [
        "HTTP_X_FORWARDED",
        "HTTP_FORWARDED_FOR"
    ],
    "max_filesize_animated_gifs_public_sharing": 10,
    "overwritehost": "name.domein.tld",
    "overwrite.cli.url": "https:\/\/name.domain.tld",
    "htacces.RewriteBase": "\/",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "20.0.8.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "defaultapp": "files,photos,calendar",
    "skeletondirectory": "",
    "allow_user_to_change_display_name": false,
    "filesystem_check_changes": 1,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "mail_smtpauth": 1,
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "quota_include_external_storage": false,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "filelocking.enabled": true,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "default_language": "de",
    "force_language": "de",
    "default_locale": "de",
    "force_locale": "de",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0.5,
        "dbindex": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "maintenance": false,
    "theme": "",
    "loglevel": 4
},
"apps": {
    "accessibility": {
        "enabled": "yes",
        "installed_version": "1.6.0",
        "types": ""
    },
    "activity": {
        "enabled": "yes",
        "installed_version": "2.13.4",
        "notify_email_calendar": "0",
        "notify_email_calendar_event": "0",
        "notify_email_calendar_todo": "0",
        "notify_email_comments": "0",
        "notify_email_favorite": "0",
        "notify_email_file_changed": "0",
        "notify_email_file_favorite_changed": "0",
        "notify_email_public_links": "1",
        "notify_email_remote_share": "0",
        "notify_email_shared": "0",
        "notify_email_systemtags": "0",
        "notify_notification_calendar": "0",
        "notify_notification_calendar_event": "0",
        "notify_notification_calendar_todo": "0",
        "notify_notification_comments": "0",
        "notify_notification_favorite": "0",
        "notify_notification_file_changed": "0",
        "notify_notification_file_favorite_changed": "1",
        "notify_notification_group_settings": "1",
        "notify_notification_personal_settings": "0",
        "notify_notification_public_links": "1",
        "notify_notification_remote_share": "0",
        "notify_notification_security": "1",
        "notify_notification_shared": "0",
        "notify_notification_systemtags": "0",
        "notify_notification_twofactor_totp": "1",
        "notify_setting_batchtime": "3600",
        "notify_setting_self": "0",
        "notify_setting_selfemail": "0",
        "types": "filesystem"
    },
    "backgroundjob": {
        "lastjob": "21086"
    },
    "bruteForce": {
        "whitelist_1": "xxx.yyy.zzz.0\/24",
        "whitelist_2": "aaa.bbbb.ccc.1\/0",
        "whitelist_3": "ddd.eee.fff.1\/32"
    },
    "bruteforcesettings": {
        "enabled": "yes",
        "installed_version": "2.0.1",
        "types": ""
    },
    "cloud_federation_api": {
        "enabled": "yes",
        "installed_version": "1.3.0",
        "types": "filesystem"
    },
    "comments": {
        "enabled": "yes",
        "installed_version": "1.10.0",
        "types": "logging"
    },
    "contactsinteraction": {
        "enabled": "yes",
        "installed_version": "1.1.0",
        "types": "dav"
    },
    "core": {
        "backgroundjobs_mode": "cron",
        "installed.bundles": "[\"CoreBundle\"]",
        "installedat": "1612935377.9275",
        "lastcron": "1617045901",
        "lastupdateResult": "[]",
        "lastupdatedat": "1617031795",
        "moveavatarsdone": "yes",
        "oc.integritycheck.checker": "[]",
        "previewsCleanedUp": "1",
        "public_files": "files_sharing\/public.php",
        "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
        "shareapi_allow_group_sharing": "yes",
        "shareapi_allow_resharing": "no",
        "shareapi_default_expire_date": "yes",
        "shareapi_default_internal_expire_date": "yes",
        "shareapi_default_permission_canshare": "no",
        "shareapi_default_permissions": "7",
        "shareapi_enable_link_password_by_default": "yes",
        "shareapi_enabled": "yes",
        "shareapi_enforce_expire_date": "yes",
        "shareapi_enforce_internal_expire_date": "yes",
        "shareapi_enforce_links_password": "yes",
        "shareapi_exclude_groups": "no",
        "shareapi_exclude_groups_list": "[\"\"]",
        "shareapi_expire_after_n_days": "90",
        "shareapi_internal_expire_after_n_days": "360",
        "theming.variables": "c49d81180df6e0623017679ac2165e77",
        "updater.secret.created": "1614898975",
        "vendor": "nextcloud"
    },
    "dashboard": {
        "enabled": "no",
        "installed_version": "7.0.0",
        "types": ""
    },
    "dav": {
        "enabled": "yes",
        "installed_version": "1.16.2",
        "sendEventRemindersPush": "yes",
        "types": "filesystem"
    },
    "federatedfilesharing": {
        "enabled": "yes",
        "installed_version": "1.10.2",
        "types": ""
    },
    "federation": {
        "enabled": "no",
        "installed_version": "1.10.1",
        "types": "authentication"
    },
    "files": {
        "cronjob_scan_files": "500",
        "default_quota": "none",
        "enabled": "yes",
        "installed_version": "1.15.0",
        "types": "filesystem"
    },
    "files_accesscontrol": {
        "enabled": "no",
        "installed_version": "1.10.2",
        "types": "filesystem"
    },
    "files_automatedtagging": {
        "enabled": "no",
        "installed_version": "1.10.1",
        "types": "filesystem"
    },
    "files_external": {
        "allow_user_mounting": "no",
        "enabled": "yes",
        "installed_version": "1.11.1",
        "types": "filesystem",
        "user_mounting_backends": "dav,owncloud,sftp,\\OC\\Files\\Storage\\SFTP_Key"
    },
    "files_pdfviewer": {
        "enabled": "yes",
        "installed_version": "2.0.1",
        "types": ""
    },
    "files_rightclick": {
        "enabled": "yes",
        "installed_version": "0.17.0",
        "types": ""
    },
    "files_sharing": {
        "enabled": "yes",
        "incoming_server2server_share_enabled": "no",
        "installed_version": "1.12.2",
        "lookupServerEnabled": "no",
        "lookupServerUploadEnabled": "no",
        "outgoing_server2server_share_enabled": "no",
        "types": "filesystem"
    },
    "files_trashbin": {
        "enabled": "yes",
        "installed_version": "1.10.1",
        "types": "filesystem,dav"
    },
    "files_versions": {
        "enabled": "yes",
        "installed_version": "1.13.0",
        "types": "filesystem,dav"
    },
    "files_videoplayer": {
        "enabled": "yes",
        "installed_version": "1.9.0",
        "types": ""
    },
    "firstrunwizard": {
        "enabled": "no",
        "installed_version": "2.9.0",
        "types": "logging"
    },
    "guests": {
        "allow_external_storage": "true",
        "enabled": "no",
        "hide_users": "true",
        "installed_version": "1.6.2",
        "types": "authentication",
        "usewhitelist": "true",
        "whitelist": "files_trashbin,files_versions,files_sharing,files_texteditor,text,activity,firstrunwizard,photos,notifications,dashboard,user_status,weather_status"
    },
    "limit_login_to_ip": {
        "enabled": "yes",
        "installed_version": "3.1.0",
        "types": "filesystem"
    },
    "logreader": {
        "enabled": "yes",
        "installed_version": "2.5.0",
        "levels": "11111",
        "live": "1",
        "relativedates": "1",
        "types": ""
    },
    "lookup_server_connector": {
        "enabled": "yes",
        "installed_version": "1.8.0",
        "types": "authentication"
    },
    "nextcloud_announcements": {
        "enabled": "yes",
        "installed_version": "1.9.0",
        "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
        "types": "logging"
    },
    "notifications": {
        "enabled": "yes",
        "installed_version": "2.8.0",
        "types": "logging"
    },
    "oauth2": {
        "enabled": "yes",
        "installed_version": "1.8.0",
        "types": "authentication"
    },
    "password_policy": {
        "enabled": "no",
        "enforceNumericCharacters": "1",
        "enforceUpperLowerCase": "1",
        "installed_version": "1.10.1",
        "types": "authentication"
    },
    "photos": {
        "enabled": "yes",
        "installed_version": "1.2.3",
        "types": ""
    },
    "privacy": {
        "enabled": "yes",
        "installed_version": "1.4.0",
        "readableLocation": "de",
        "types": ""
    },
    "provisioning_api": {
        "enabled": "yes",
        "installed_version": "1.10.0",
        "types": "prevent_group_restriction"
    },
    "recommendations": {
        "enabled": "yes",
        "installed_version": "0.8.0",
        "types": ""
    },
    "registration": {
        "enabled": "no",
        "installed_version": "0.6.0",
        "types": "prevent_group_restriction"
    },
    "serverinfo": {
        "enabled": "yes",
        "installed_version": "1.10.0",
        "types": ""
    },
    "settings": {
        "enabled": "yes",
        "installed_version": "1.2.0",
        "types": ""
    },
    "sharebymail": {
        "enabled": "yes",
        "enforcePasswordProtection": "yes",
        "installed_version": "1.10.0",
        "types": "filesystem"
    },
    "smb_test": {
        "enabled": "no",
        "installed_version": "0.3.1",
        "types": ""
    },
    "support": {
        "enabled": "yes",
        "installed_version": "1.3.0",
        "types": "session"
    },
    "survey_client": {
        "enabled": "yes",
        "installed_version": "1.8.0",
        "types": ""
    },
    "systemtags": {
        "enabled": "yes",
        "installed_version": "1.10.0",
        "types": "logging"
    },
    "text": {
        "enabled": "yes",
        "installed_version": "3.1.0",
        "types": "dav"
    },
    "theming": {
        "backgroundMime": "image\/jpeg",
        "cachebuster": "38",
        "color": "#BDA196",
        "enabled": "yes",
        "faviconMime": "image\/png",
        "imprintUrl": "***REMOVED SENSITIVE VALUE***",
        "installed_version": "1.11.0",
        "logoMime": "image\/png",
        "logoheaderMime": "image\/png",
        "name": "Fileshare 2.0",
        "privacyUrl": "***REMOVED SENSITIVE VALUE***",
        "slogan": "***REMOVED SENSITIVE VALUE***",
        "types": "logging",
        "url": "***REMOVED SENSITIVE VALUE***"
    },
    "twofactor_admin": {
        "enabled": "no",
        "installed_version": "3.0.0",
        "types": ""
    },
    "twofactor_backupcodes": {
        "enabled": "yes",
        "installed_version": "1.9.0",
        "types": ""
    },
    "twofactor_totp": {
        "enabled": "no",
        "installed_version": "5.0.0",
        "types": ""
    },
    "updatenotification": {
        "core": "20.0.8.1",
        "enabled": "yes",
        "installed_version": "1.10.0",
        "types": "",
        "update_check_errors": "0"
    },
    "user_ldap": {
        "background_sync_interval": "43200",
        "background_sync_offset": "0",
        "background_sync_prefix": "s01",
        "cleanUpJobOffset": "450",
        "enabled": "yes",
        "installed_version": "1.10.2",
        "s01_lastChange": "1617045893",
        "s01has_memberof_filter_support": "1",
        "s01home_folder_naming_rule": "",
        "s01last_jpegPhoto_lookup": "0",
        "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
        "s01ldap_attributes_for_group_search": "cn\ndescription",
        "s01ldap_attributes_for_user_search": "displayname\nmail\nsamaccountname",
        "s01ldap_backup_host": "host.domain.tld",
        "s01ldap_backup_port": "389",
        "s01ldap_base": "DC=domin,DC=tld",
        "s01ldap_base_groups": "DC=domin,DC=tld",
        "s01ldap_base_users": "DC=domin,DC=tld",
        "s01ldap_cache_ttl": "600",
        "s01ldap_configuration_active": "1",
        "s01ldap_default_ppolicy_dn": "",
        "s01ldap_display_name": "displayname",
        "s01ldap_dn": "CN=gourbname,OU=OUNAME,DC=domain,DC=tld",
        "s01ldap_dynamic_group_member_url": "",
        "s01ldap_email_attr": "mail",
        "s01ldap_experienced_admin": "1",
        "s01ldap_expert_username_attr": "",
        "s01ldap_expert_uuid_group_attr": "",
        "s01ldap_expert_uuid_user_attr": "sAMAccountName",
        "s01ldap_ext_storage_home_attribute": "sAMAccountName",
        "s01ldap_gid_number": "gidNumber",
        "s01ldap_group_display_name": "cn",
        "s01ldap_group_filter": "(&(objectCategory=group)(groupType:1.2.840.113556.1.4.803:=8)(|(CN=groupeName*)(CN=Domain)))",
        "s01ldap_group_filter_mode": "1",
        "s01ldap_group_member_assoc_attribute": "member",
        "s01ldap_groupfilter_groups": "",
        "s01ldap_groupfilter_objectclass": "group",
        "s01ldap_host": "host1.domain.tld",
        "s01ldap_login_filter": "(&(&(|(objectclass=person))(|(|(memberof=CN=groupname,OU=SubOU,OU=OrganisationUnit,DC=Domin,DC=tld)(primaryGroupID=2897))))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))",
        "s01ldap_login_filter_mode": "0",
        "s01ldap_loginfilter_attributes": "",
        "s01ldap_loginfilter_email": "1",
        "s01ldap_loginfilter_username": "1",
        "s01ldap_matching_rule_in_chain_state": "unknown",
        "s01ldap_nested_groups": "0",
        "s01ldap_override_main_server": "",
        "s01ldap_paging_size": "500",
        "s01ldap_port": "389",
        "s01ldap_quota_attr": "",
        "s01ldap_quota_def": "",
        "s01ldap_tls": "0",
        "s01ldap_turn_off_cert_check": "0",
        "s01ldap_turn_on_pwd_change": "0",
        "s01ldap_user_avatar_rule": "data:selfiePhoto",
        "s01ldap_user_display_name_2": "",
        "s01ldap_user_filter_mode": "0",
        "s01ldap_userfilter_groups": "groupNCOusers",
        "s01ldap_userfilter_objectclass": "person",
        "s01ldap_userlist_filter": "(&(|(objectclass=person))(|(|(memberof=CN=groupNCOuser,OU=SubGroup1,OU=OrganisationUnit,DC=domain,DC=tld)(primaryGroupID=2897))))",
        "s01use_memberof_to_detect_membership": "1",
        "types": "authentication"
    },
    "user_status": {
        "enabled": "no",
        "installed_version": "1.0.1",
        "types": ""
    },
    "viewer": {
        "enabled": "yes",
        "installed_version": "1.4.0",
        "types": ""
    },
    "weather_status": {
        "enabled": "no",
        "installed_version": "1.0.0",
        "types": ""
    },
    "workflowengine": {
        "enabled": "yes",
        "installed_version": "2.2.0",
        "types": "filesystem"
    }
}

}

Andorid APP Logging

03-15 23:35:01.639 11459 11459 D OperationsService: Starting command with id 9
03-15 23:35:01.641 11459 11495 D OwnCloudClient #0: REQUEST GET /status.php
03-15 23:35:01.645 11459 11495 D AdvancedSslSocketFactory: Creating SSL Socket with remote host.domain.tdl:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@1db359e
03-15 23:35:01.645 11459 11495 D AdvancedSslSocketFactory: … with connection timeout 50000 and socket timeout 60000
03-15 23:35:01.650 11459 11495 I ServerNameIndicator: SNI done, hostname: host.domain.tld
03-15 23:35:02.149 11459 11495 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
03-15 23:35:02.150 11459 11495 I GetStatusRemoteOperation: Connection check at https://host.domain.tdl: Operation finished with HTTP status code -1 (success)
03-15 23:35:02.151 11459 11495 D GetServerInfoOperation: Trying empty authorization to detect authentication method
03-15 23:35:02.152 11459 11495 D OwnCloudClient #0: REQUEST HEAD /remote.php/webdav/
03-15 23:35:02.281 11459 11495 I AuthChallengeProcessor: basic authentication scheme selected
03-15 23:35:02.283 11459 11495 I HttpMethodDirector: No credentials available for BASIC ‘NC local 2.0’@host.domain.tld:443
03-15 23:35:02.284 11459 11495 D ExistenceCheckRemoteOperation: Existence check for https://host.domain.tdl/remote.php/webdav/ targeting for existence finished with HTTP status 401(FAIL)
03-15 23:35:02.285 11459 11495 D DetectAuthenticationMethodOperation: Authentication method found: BASIC_HTTP_AUTH
03-15 23:35:02.286 11459 11495 D OperationsService: Called 1 listeners
03-15 23:35:02.286 11459 11495 D OperationsService: Stopping after command with id 9
03-15 23:35:02.313 11459 12737 D OwnCloudClient #9: Creating OwnCloudClient
03-15 23:35:02.353 11459 12737 D OwnCloudClient #9: REQUEST HEAD /remote.php/webdav/
03-15 23:35:03.559 11459 12737 D ExistenceCheckRemoteOperation: Existence check for https://host.domain.tdl/remote.php/webdav/ targeting for existence finished with HTTP status 200
03-15 23:35:03.863 11459 12737 E GetUserInfoRemoteOperation: Exception while getting OC user information
03-15 23:35:27.752 11459 11459 D AuthenticatorActivity: onPause() ending
03-15 23:35:27.772 11459 11459 D AuthenticatorActivity: onSaveInstanceState(Bundle) starting
03-15 23:35:27.780 11459 11459 D AuthenticatorActivity: onStop() ending

in the nc WebApp Logging is no entry.

Dav Connection is working, Also the Windows Desktop App is Working.
I tried the connection from outside over the Web-application Firewall and i tried also from inside, withe the same Error. It also works perfect at the Browser at the phones.

When i try to Connect Manually without the QR Code then i came until the Grant Button in the app. At the Web Interface i see that a new entry for the Device is generated but the App hangs at this time.

Have anyone a idea whats goes wrong?
Maybe can anyone tells me what function is called from the app that generate this error?

best regards
NoobTroll