Home / GitHub Page

Unable to sync with Nextcloud from Android

Operating system

  • Android

Application

  • Mobile
    App Version - 1.0.129
    Android Version - 8.0.0

When I attempt to Sync with Next Cloud I get an Error “Network Request Failed”
Using Valid SSL Cert, Using Standard 443 Https Port, using Nginx reverse proxy server. Can connect in Chrome on phone with a Locked lock icon. Also tried the remedy for Bug 213 by adding that curve to Nginx. I can sync with Dropbox successfully but not with Nextcloud via the next cloud settings or Webdav settings

It would only let me post one image in the first post so here is the second image of the error

I’ve the same issue. With Android 8.0.0 and Joplin app 1.0.141, connecting to Nextcloud 13 on Apache 2.2. The server is running on my LAN with a local certificate chain. The root certificate is installed in the Android certificate store.

If I use the web browser, I can connect no problem.

In Joplin, testing the sync settings, results in a “Network request failed” error. Whilst it’s attempting the connection, I can see the connection attempts on the server, with multiple socket connections in TIME-WAIT.

Unfortunately, the log doesn’t give much away…

10-27T11:33:43,10,""“TypeError: Network request failed
onerror@index.android.bundle:111:4815
value@index.android.bundle:96:1505
value@index.android.bundle:95:7057
value@index.android.bundle:95:3623
index.android.bundle:95:10147
value@index.android.bundle:26:1398
value@index.android.bundle:19:3477
index.android.bundle:19:959
value@index.android.bundle:19:2721
value@index.android.bundle:19:931
[native code]”"

I’ve gone through other tickets and seem to have everything else covered, so have run out of ideas.

Does it work if you try via HTTP (not HTTPS)?

After removing the redirect to https, then changing the URL in Joplin (obviously), then yes it works. I get the “Success!” message and I can see the PROPFIND, MKCOL requests in the Apache log.

Hello,

I have the same situation. The server is on Apache with certificate from gogetssl.
Android version 9.0.
Do you have already solution?

I’m getting the same issue here with the same log messages as above. I’m using a http:// URL on an internal (192.168…) IP range. I’ve compared the URL to the Desktop client and they appear identical - and the desktop syncs correctly. When I change sync on Android to Dropbox it syncs as expected.

Actually I lie a little above, log entires are similar but with different numbers in places:

“”“TypeError: Network request failed
onerror@index.android.bundle:139:2655
value@index.android.bundle:124:1505
value@index.android.bundle:123:6095
value@index.android.bundle:123:2835
value@index.android.bundle:49:1280
value@index.android.bundle:28:3311
index.android.bundle:28:822
value@index.android.bundle:28:2565
value@index.android.bundle:28:794
value@[native code]”"

Hello,
I still have the same problem :
Nextcloud with http (no https)
Desktop app working fine and syncing
Mobile app gives Error “Network Request Failed”

Any news on the problem ?

Thank you