Nextcloud version : 13.0.4
Operating system and version : CloudLinux Server release 6.9
Apache or nginx version : Apache 2.4
PHP version : 7.0
The issue you are facing:
http 401 error on login from Android devices. iOS doesn’t show the error but also won’t authenticate. Login to web from a browser works fine.
Is this the first time you’ve seen this error? : Y
This installation has worked for months before the issue occurred.
Steps to replicate it:
- Install the Android app
- Log in
- Feel dejected
The output of your Nextcloud log in Admin > Logging:
{“reqId”:“W1FR-@PzTih@LXq6gc2n8AAAAMY”,“level”:2,“time”:“2018-07-20T03:07:44+00:00”,“remoteAddr”:“my.ip.add.ress”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/login?redirect_url=/index.php/login/flow/redirect%3FstateToken%3Dj1ai3wjngdr3zKT5hW4P2Ezob9dHCSGrFNPMHHngqCQdE9x3Uc5BgvfkgPm5Y4Z0%26clientIdentifier%3D",“message”:“Login failed: ‘larry’ (Remote IP: ‘my.ip.addre.ss’)”,“userAgent”:“Google Pixel 2 XL”,“version”:“13.0.4.0”}
{“reqId”:“W1FSHFZQOjc-pBMqDnneQgAAAJM”,“level”:2,“time”:“2018-07-20T03:08:12+00:00”,“remoteAddr”:“70.119.105.63”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/login?user=larry&redirect_url=/index.php/login/flow/redirect%3FstateToken%3Dj1ai3wjngdr3zKT5hW4P2Ezob9dHCSGrFNPMHHngqCQdE9x3Uc5BgvfkgPm5Y4Z0%26clientIdentifier%3D",“message”:“Login failed: ‘larry’ (Remote IP: ‘my.ip.addre.ss’)”,“userAgent”:“Google Pixel 2 XL”,“version”:“13.0.4.0”}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):