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

Error 405 in webdav sync #410

Open
salvari opened this issue Nov 14, 2024 · 4 comments
Open

Error 405 in webdav sync #410

salvari opened this issue Nov 14, 2024 · 4 comments
Labels
bug Something isn't working WebDAV repos

Comments

@salvari
Copy link

salvari commented Nov 14, 2024

Device: Tested on Samsung Note 10 Plus and Xiaomi Tablet 
Android Version:  Android 12 on my phone and Android 14 on my tablet 
Orgzly Revived Version: 1.8.30 (fdroid) 
Sync repository type : webdav (implemented with rclone on linux server)

webdav sync was working fine with url: webdavs://mydomain.com/user/orgfiles

After upgrade I get error 405, and sync does not work. After changing the url to webdavs://mydomain.com and activate the "Support Repository Subfolders" option, I get a message about wrong URL, "https expected"

Now I have changed URL to the root of my webdav server: https://mydomain.com, and activate the "Support Repository Subfolders" option in order to have the sync working. With this configuration every notebook is detected by the app, but still if I modify a note in the app, updates of repository don't work, (again error 405)

@salvari salvari added the bug Something isn't working label Nov 14, 2024
@salvari
Copy link
Author

salvari commented Nov 14, 2024

Ok, after more testing, everything works fine if I finish my url with a trailing slash. Since this looks like best practice when specifying a directory I will close this Issue.

@salvari salvari closed this as completed Nov 14, 2024
@amberin
Copy link
Member

amberin commented Nov 14, 2024

Hm, this looks strange, though. This is not an intended change. I'll re-open this, and look into it some time.

@salvari
Copy link
Author

salvari commented Nov 15, 2024

After even more testing I updated my original description. The first solution didn't work. The working solution is adding the trailing '/'

@amberin
Copy link
Member

amberin commented Nov 17, 2024

The first solution didn't work. The working solution is adding the trailing '/'

@salvari What was the first solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WebDAV repos
Projects
None yet
Development

No branches or pull requests

2 participants