Android client can't connect to nextcloud server

Hello,

I’ve installed nextcloud in my raspberry pi 3 and all is working good when using both web and windows client.
However, when it comes to connect with android client, I just have an error when trying to connect to my server.
The error is “Server misconfigured” or something like that because I’m french and the message is in french.

I can’t figure out what’s wrong. Could you help me please ?

Thanks a lot in advance

It sounds like the web and windows client connect to your nextCloud server over the LAN (local area network) and your Android app is connecting over the WAN (wide area network; the internet). Try accessing your raspberry pi nextCloud server using your Android phone’s web browser or by using a computer located elsewhere that is connected to the internet and see if the web client works still. Alternatively, connect your Android phone to the WiFi network in your home to test over the LAN. If LAN works but WAN does not, you may want to look at opening port 80 and 443 on your internet modem for incoming HTTP and HTTPS connections. This is called Network Address Translation (NAT) and often referred to as opening (TCP/IP) ports on your firewall.

Sadly, it’s not the case. I connect to my server using https://subdomain.domain.fr in the windows client and at work as well with web client. It all works.
I posted an issue here :
https://github.com/nextcloud/android/issues/1806
and it seems that it’s a server problem. I’ll check out on midday.

I don’t know where was the faulty line in nginx configuration but now it works all fine !