Home / GitHub Page

[macos] trouble connecting to next cloud server

#1

I am a new user and trying to connect to my NextCloud installation. I can reach (and sync) everything fine from my Android install, so I know that the server side is operating correctly. However, I get the following error on the MacOs Desktop side:

Last error: Error: PROPFIND 2ee48f80889447429a3cccb04a466072.md: Unknown error 2 (406): <head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

From the log file:

2019-02-19 09:54:29: "Operations completed: "
2019-02-19 09:54:29: “Total folders: 3”
2019-02-19 09:54:29: “Total notes: 5”
2019-02-19 09:54:29: “Total resources: 3”
2019-02-19 09:54:29: “There was some errors:”
2019-02-19 09:54:29: “Error: PROPFIND 2ee48f80889447429a3cccb04a466072.md: Unknown error 2 (406): Not Acceptable!

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.


Code: 406
Error: PROPFIND 2ee48f80889447429a3cccb04a466072.md: Unknown error 2 (406): Not Acceptable!

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.


at newError (/Applications/Joplin.app/Contents/Resources/app/lib/WebDavApi.js:348:11)
at WebDavApi.exec (/Applications/Joplin.app/Contents/Resources/app/lib/WebDavApi.js:377:10)
at
at process._tickCallback (internal/process/next_tick.js:188:7)”

Any thoughts on how to fix this? I have uninstalled and reinstalled the app once and tried it from the CLI version as well. Nothing seems to get it fixed.

Thanks!

#2

If it works on Android it should work fine on desktop if you use the exact same parameters. Also maybe try temporarily disabling the mod_security module to possibly get better error messages.

#3

Last time someone had this issue it was a typo in the webdav address.

#4

I’ve type and re-typed it at least 5 times and it still doesn’t work on macOS. I also tried it on linux and it doesn’t work there either. Android and iOS work fine. Could it be something in my .htaccess file on the server side?