Still trying to get a new installation working properly. I’m running NextCloud on an LXC Container behind and Nginx reverse proxy. The webpage works, the Linux and Windows clients work, but the iOS one won’t connect. When I put in my url and tap “Log in” I get the following error:
All I see as far as logs is 192.168.136.133 - - [29/Dec/2019:20:23:02 -1000] “GET /nextcloud/status.php HTTP/1.0” 200 1580 “-” “Mozilla/5.0 (iOS) Nextcloud-iOS/2.25.3” in /var/log/apache2/access.log. No errors logged.
Not sure if it’s important, but 192.168.136.133 is the IP of my Nginx reverse proxy, not my client.
This is one of the last 2 things keeping me from jumping on board. Please help.
Rhys
system info: https://cloud.odinforce.net/nextcloud/index.php/s/2yc4PGbxkdGQbLa
pass BeuzmHdP+BirxOZpxEPG
Forgot to mention, before I enabled 'overwriteprotocol' => 'https', to make logging in on chrome work, the iOS app would work over http, but not https. Now since the returned URLs get changed to https it doesn’t work on either protocol.
Hi! Thanks for the reply. My reverse proxy is using a letsencrypt cert, the communication between by proxy and my NC server is using a self signed cert, but that shouldn’t matter. Actually, when I posted this, it was using http between my proxy and NC server. After drudging through some packet captures I wondered if some of the http only cookies might be causing issues and switched to https. This allowed me to log in, but it tells me I have no files and when I try to refresh I get a pop up that is just blank. Sometimes it crashes the iOS app.
Then it’s most likely an issue between your reverse proxy and your NC instance. Does the DNS name resolv internally to your proxy and did you also make sure, that your NC instance uses that dns name internally?
I’ve got the protocol error as well on iOS, web access, android app and linux & windows desktop sync works fine.
I’ve got nginx-proxy-manager handling the SSL with lets encrypt certs, ssl termination and hsts and the overwrite url/protocol in the config.php
I would like to use it to work with clients remotely and unfortunately there plenty of iphones out there would be nice to have a guide on this somewhere c: