[Android App] Unable to connect to the server

Hello,

Like many people, when I try to connect to my Nextcloud server, the app return me “Unable to connect to the server”.
I can connect to my server from my PC without any problems. I have a domain and my server support TLS, signed by LetsEncrypt.

When I click to the icon “refresh”, here is I saw in the logs:

> site="cloud.mydomain.fr" server="cloud.mydomain.fr" dest_port="443" dest_ip="172.16.1.2" src="xx.xx.xx.xx" src_ip="172.17.1.2" user="-" time_local="22/May/2017:18:17:51 +0200" protocol="HTTP/1.1" status="200" bytes_out="158" bytes_in="163" http_referer="-" http_user_agent="Mozilla/5.0 (Android) ownCloud-android/1.4.2" nginx_version="xx" http_x_forwarded_for="xx.xx.xx.xx" http_x_header="-" uri_query="-" uri_path="/status.php" http_method="GET" response_time="0.168" cookie="-" request_time="0.168"

> site="cloud.mydomain.fr" server="cloud.mydomain.fr" dest_port="443" dest_ip="172.16.1.2" src="xx.xx.xx.xx" src_ip="172.17.1.2" user="-" time_local="22/May/2017:18:17:51 +0200" protocol="HTTP/1.1" status="401" bytes_out="0" bytes_in="0" http_referer="-" http_user_agent="Mozilla/5.0 (Android) ownCloud-android/1.4.2" nginx_version="xx" http_x_forwarded_for="xx.xx.xx.xx" http_x_header="-" uri_query="-" uri_path="/remote.php/webdav/" http_method="HEAD" response_time="0.267" cookie="-" request_time="0.267"

The second line is weird, the server return an error 401 and receive/send 0 byte.

I used the template configuration of nginx from the documentation (webroot) without major modifications.
My vhost listen on ipv4 only.

Note: I was on Owncloud before, I migrate to nextcloud 12 today with a new fresh install. I restored my data manually (simply copy/paste). I uninstalled Owncloud Apps and deleted the folder before install Nextcloud app.

Have you an idea? Thanks! :slight_smile:

Hi @Body4,

sounds like https://github.com/nextcloud/android/issues/1028 which has been fixed by today’s hotfix release 1.4.3

Hi @Andy,

Thank for this info!

You know when the release 1.4.3 will be build? I do not have the sdk installed.

1.4.3 is already available in the Google Play store at least it’s available to me there

Aaah, nice! It work!

Thank you for your help, it very nice :slight_smile:

1 Like

Always happy to help :slight_smile:

1 Like