Cannot sync nextcloud with Joplin Clients but with nextcloud Client ECONNREFUSED

Operating system

Linux

Joplin version

32.0.0

Desktop version info

3.1.24

Sync target

Nextcloud

What issue do you have?

Hello,

i installed docker with containers of nextcloud and mariadb on an raspberry pi 5.
I can use nextcloud (32.0.0) with the client for nextcloud on android but i can not sync with joplin (Code ECONNREFUSED).

I created in the nextcloud GUI a application-specific password and scanned the QR-Code with my phone and opened the link with the client for nextcloud on android. This sync works fine.

For Joplin sync:

I created a ‘Joplin‘ Folder in the top directory of nextcloud.
I created in the nextcloud GUI a application-specific password and copied the username and password.
I find in nextcloud my URL for WebDAV is http://192.168.0.24/remote.php/dav/files/adminx (i only want to connect inside my LAN to the nextcloud server)
I configured in the joplin Client (linux 3.1.24 as well as the new android client) the adapter for Nextcloud.
I used the username and password that I copied from the nextcloud GUI for the application-specific password.
And I used the URL for WebDAV and concated ‘/Joplin‘

I get an error :
„request to http://192.168.0.24/remote.php/dav/files/adminx/Joplin/ failed, reason: connect ECONNREFUSED 192.168.0.24:80 (Code ECONNREFUSED)“
It is odd that the error message says … /Joplin/ and not .../Joplin since i have configured .../Joplin in Joplin without the last /.
I have cheched multiple times for tipping errors. I have tried to uses the username and password of the admin account with the same result.

I don’t know what to do and need help.

Try upgrading your Joplin clients to the latest versions. v3.1.24 is very old.

Also it’s not clear, is the error happening on Android, on Linux, or on both?

Thank you for the answer.

I have the same problem with the linux desctop client 3.1.24 as well as with other joplin clients e.g. the android client Joplin Mobile 3.4.7

As you’re just running the nextcloud on the local network, maybe try opening the webdav url on the same device and see if that works? Or use some other webdav client to test the connection if there is no ui to open it in a browser. You can also trying setting sync target to WebDAV instead of nextcloud in Joplin, if the server is accessible via other WebDAV clients.

In any case you should still upgrade your Joplin for Linux to the latest 3.4 release, to match the Android app

I have tried with diferent clients from other computers and the same computer to sync with nextcloud, but it doesn't work. I get in some clients no error messages but only empty folders (and can not see the data on the server). And in one client I receive only a error message couldn't not connect to server but no details.

Is there any log-file on the nextcloud-server that has more details on fail connections?

Is there anything else I could try.

Maybe you could ask on the Nextcloud forum, as it’s not a Joplin issue if it isn’t working with any WebDAV client