Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No WebDAV to NextCloud instances #197

Open
punk-t opened this issue Jan 26, 2025 · 6 comments
Open

No WebDAV to NextCloud instances #197

punk-t opened this issue Jan 26, 2025 · 6 comments
Labels
bug🐛 Something isn't working help wanted Extra attention is needed need more info 📌

Comments

@punk-t
Copy link

punk-t commented Jan 26, 2025

Describe the bug

When trying to connect to my selfhosted NextCloud instance an "address not found" error is shown. In fact the address is reachable and checked via browser. As a detail: When the WebDAV window pops up a HTTPS address is suggested in the address field, but after entering my HTTPS address, the entry changes to HTTP. My server redirects HTTP requests to HTTPS.

Steps to Reproduce

  1. Have NC installed, WebDAV enabled & checked
  2. Start fresh installed or factory reset 2fast
  3. Ignore/skip tutorial
  4. press 'new data file'
  5. press 'use WebDAV'
  6. enter server address and valid credentials
  7. See the error

Expected behavior

An errorless connect to my NC instance ;)

Screenshots

N/A due to app restriction

Environment

App Version(s):

Windows 10/11 Build Number:

  • [x ] Windows 10 Pro 22H2 (19045.5371)

Additional context

@punk-t punk-t changed the title No WebDAV to NextCloud instnces No WebDAV to NextCloud instances Jan 26, 2025
@jp-weber jp-weber added bug🐛 Something isn't working help wanted Extra attention is needed need more info 📌 labels Jan 31, 2025
@jp-weber
Copy link
Member

jp-weber commented Feb 3, 2025

Sorry for the late reply. How you call up the address? Is there an extra port in the address or is the dav call accessible in a sub-address?

@punk-t
Copy link
Author

punk-t commented Feb 9, 2025

I can call any folder or file via WebDAV. For testing I called https://cloud.{fancydomainname}.de/remote.php/dav/files/punkt via browser and logged in. The message This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client. suggests a functional WebDAV service.

I copied the WebDAV address to 2fast address field (including HTTPS), error is shown and address field changed to HTTP.

@jp-weber
Copy link
Member

jp-weber commented Feb 9, 2025

Ah I see, the problem is here, that the status.php of the nextcloud service cannot be reached. My method tries to add the status.php to your address, which fails. If you remove the ...remote.php/dav/files/punkt part, it should work.

Address:
https://cloud.<your-name>.de/index.php/login

Status page of your server:
https://cloud.<your-name>.de/status.php/

In the future I will also add the support that if the status page requires a login, the login can be executed. Described in #151

@punk-t
Copy link
Author

punk-t commented Feb 9, 2025

I think I'm giving up. I tried

neither worked.

I already read #151 but did not know how to take a solution on this.

Why is the "address not found" shown and why changes any HTTPS-Address to HTTP?

Are there any further logfiles or anything I could check?

@jp-weber
Copy link
Member

jp-weber commented Feb 9, 2025

I am sorry that there are still problems. The error message address not found can be regarded as generic. This has been addressed and further improved in the current preview of version 1.3.5 and the next preview versions. As well as a better error logging, which is in v.1.3.5. With this version I had no problems with the server call and the query of the status page.
https://github.com/2fast-team/2fast/releases/tag/v1.3.5-preview

The log is accessible as a menu item via settings/functions or via cmd: https://github.com/2fast-team/2fast/wiki/Open-(error)-log-via-cmd

@punk-t
Copy link
Author

punk-t commented Feb 10, 2025

Okay, thanks. I try to create an error log file for further analyzing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐛 Something isn't working help wanted Extra attention is needed need more info 📌
Projects
None yet
Development

No branches or pull requests

2 participants