mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
320 stars 68 forks source link

Nextcloud integration not working #354

Open CleoMenezesJr opened 1 week ago

CleoMenezesJr commented 1 week ago

When selecting "Nextcloud" in Preferences > Sync > Sync Provider, the form autocompletes, but when clicking "Connection Test" nothing happens: image

Without any type of message about what is happening, Errands just signals that something is loading, but no matter how long you wait, the loading is infinite, whether waiting or reopening the application, the loading icon remains there. image

In logs, there appear to be no error messages:

-------------------------------------------------
Starting Errands 46.2.6 at "2024 18 novembro 08:32:58"
-------------------------------------------------

[DEBUG] Application: Startup
[DEBUG] Data: Initialize
[DEBUG] Data: Create data.json file
[DEBUG] Data: Write data
[DEBUG] Data: Read data
[DEBUG] GSettings: Initialize
[DEBUG] Application: Checking autostart
[DEBUG] Main Window: Load
[DEBUG] Today Page: Load
[DEBUG] Today Page: Update UI
[DEBUG] Trash Page: Load
[DEBUG] Sidebar: Load Task Lists
[DEBUG] Application: Activate
[DEBUG] Data: Clean deleted
[DEBUG] Data: Write data
[DEBUG] GOA: Getting data for Nextcloud
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] GOA: Getting data for Nextcloud
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] Application: Activate
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Application: Activate
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] GOA: Getting data for Nextcloud
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] GOA: Getting data for Nextcloud
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Application: Activate
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] GOA: Getting data for Nextcloud
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to https://redacted.server/remote.php/dav
[DEBUG] Sync: Attempting connection
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
[DEBUG] Notifications: Check
mrvladus commented 1 week ago

Can you try to use http:// instead of https://?

CleoMenezesJr commented 6 days ago

Can you try to use http:// instead of https://?

Unfortunately, does not work.

What worked for me is:

  1. In the server URL I replace https://my%40username.com@my.server/remote.php/dav with https://my.server/remote.php/dav removing the username.
  2. In Username it was previously my, replace it with my@username.com

That's all.