I just completed an installation of NextCloud. Desktop app works fine but when I try and use it with an iPhone of iPad and attempt to login I see a Error 401 on the device and the following on the backend:
{“reqId”:“Csikyl0nZGhryKdmOGmz”,“level”:2,“time”:“2021-01-02T19:07:47+00:00”,“remoteAddr”:“146.200.66.89”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php/login",“message”:“Login failed: derek (Remote IP: 146.200.x.x)”,“userAgent”:“Mozilla/5.0 (iOS) Nextcloud-iOS/3.1.0”,“version”:“20.0.0.9”,“id”:“5ff2f169f3ea4”}
Any ideas, I have also had a friend try a samsung device and he gets the same issue.
Mike.
j-ed
January 4, 2021, 12:52pm
2
Mobile Device Login: “no app in context” - Unable to login with Mobile Device
It is absolutely normal that “no app in context” is being displayed at this stage of the login process because no application has been selected yet.
Similar problem have been reported and resolved here:
opened 10:06AM - 08 Feb 20 UTC
closed 11:22AM - 15 Feb 20 UTC
### Expected behaviour …
No error message
### Actual behaviour
after I starting the App the error 401 is shown. In server log the message "bad login for "274782-23134234-45345435345-123213" " (ldap user) is shown
### Steps to reproduce
start the App and login with the ldap account
### Reasoning or why should it be changed/implemented?
### iOS version
13.3.1
### App version
2.25.69
### Server configuration
**Operating system:**
Ubuntu 16.04
**Web server:**
Apache 2.4
**Database:**
MySQL 5.7
**PHP version:**
7.3.14
**Nextcloud version:** (see Nextcloud admin page)
17.0.3
I read the installation guide again and checked all PHP modules, All ok. Maybe a problem with the App? The error message appiers 1 or 2 seconds and then the files are displayed and I can use it...
![IMG_6878](https://user-images.githubusercontent.com/1473674/74083328-0be50e80-4a63-11ea-837a-d46d666cb303.PNG)