Operation finished with HTTP status code -1 (fail)
I get the exact same error message on all Android devices i tested. Galaxy S23 and Galaxy S10+ with all original Nextcloud apps (Sync, Notes, Talk). Login loops indefinitely…
Nextcloud AIO (portainer): 10.0.0 (latest) behind NetScaler reverse proxy
Nextcloud Sync: 3.29.2
Nextcloud Notes: 3.8
Other Android apps like any web browser, Quillpad or Joplin can authenticate with the same credentials without issues.
Same is true for iOS devices and Windows 11 that authenticate also without issues and with the origial Nextcloud apps. So it is an Android only issue.
The original Nextcloud apps seem to authenticate in a different way than 3rd party apps and this method seems to break the authentication.
config.php has been checked:
‘overwritehost’ => ‘set to external fqdn’,
‘overwriteprotocol’ => ‘https’,
‘trusted_domains’ =>
array (
0 => ‘localhost’,
1 => ‘set to external fqdn’,
2 => ‘192.168.1.20’,
3 => ‘127.0.0.1’,
),
No errors in the Nextcloud logs, only successful LDAP login:
Information user_ldap OCA\User_LDAP\LoginListener - Notes postLogin
Any help would be greatly appreciated.