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
Nextcloud 16 won't connect (No 'Authorization: Bearer' header found.) #2219
Comments
Do you have 2FA activated on Nextcloud? If yes, please open a topic in the forum. |
No, it is actually deactivated |
Hmm, many people (including myself) use Joplin with Nextcloud. This is the first time I've heard of this error. I can't reproduce the problem. I'd still suggest to post this to the forum. Maybe somebody has seen this before. The forum is read by a lot more people. The tracker on gh is mainly for Laurent and other devs. I suspect it's a config problem. Either with Nextcloud, web server, reverse proxy, docker image, .... |
Thanks for the advice – I crossposted to this topic. |
Yep, I saw it. Let's hope somebody has a solution. I googled the error and I came across a few comments that the authorization header was not properly propagated to the nextcoud system (e.g. from Apache httpd or HAproxy). |
My nextcloud instance runs behind an (managed) Apache, so I am not completely in control of that Server – might have something to do with that. |
Thanks for the hint. This issue in the Nextcloud repo seems to back your theory. I asked the support at my hoster to open a ticket and will post any conclusions here. Right now I can't say 100% certain that it is a Apache issue, but if it is, I will close this. |
Please post the solution and info to the forum - in case you will have found one. If somebody runs into the same issue in the future, they will have a solution. |
Okay found a solution. What I did was to use my own username and password, while in fact I should have created a device password for Joplin and used that one instead. That means I had to go to Once I used this newly generated password from within Joplin it worked. This is a bit of a emberassing error, but I might not be the only one who gets this wrong : ) |
Aha, 2FA and tokens.... |
When I try to setup Syncing with my own nextcloud instance from my Windows Client, the connection fails with the following Error:
The credentials come directly from my password manager that I also use for logins into the web interface of nextcloud, so there is no way they are wrong (I additionally tried to type it by hand, with no real success). The URL points to an existing directory on the cloud instance and I tripplechecked that one as well (
https://cloud.atoav.com/remote.php/webdav/Joplin
). My certificate is not self signed.The specivity of the message leads me to believe this could be a bug (maybe due to changes how nextclouds wants WebDAV Clients to authenticate?). I didn't do much with my Nextcloud Installation so I would be surprised if this had anything to do with my Server...
Environment
Joplin version: 1.0.175 (Build 8c1d13b)
Platform: Windows 10 Pro
OS specifcs: 10.0.18363 Build 18363 (x64)
Nextcloud Version: 16.0.5.
Steps To Reproduce
Logfile
There is nothing showing up in the logfile – in my judgment the message above should be enough
The text was updated successfully, but these errors were encountered: