etesync / etesync-dav

This is a CalDAV and CardDAV adapter for EteSync
https://www.etesync.com
GNU General Public License v3.0
285 stars 45 forks source link

Windows: DAV-Bridge unable to login when using MySQL in server: os error -2146893018 #255

Open flyingcactuscloud opened 2 years ago

flyingcactuscloud commented 2 years ago

After switching the underlying server from the external PostgreSQL implementation to the internal MySQL one (had some issues with PostgeSQL in the past, things got out of sync and I had to reset everything) - I am unable to login on Windows with the DAV-Bridge.

The error message I'm getting when I'm pressing the "add user" -> "add" button is:

error sending request for url (https://ete.example.com/api/v1/authentication/login_challenge/): error trying to connect: Das Format der empfangenen Nachricht war unerwartet oder fehlerhaft. (os error -2146893018)

As this problem occured right after switching the server database, I think it's related to that. I'm currently using the latest versions of both the Server Docker (victorrds/etebase:0.7) and the DAV-Bridge 0.31.2.

Things I've tried is deleting the \AppData\Local\etesync folder. Did not help. I've installed the older version Version 0.30.8 of the DAV bridge. Did not help. As the applications on mobile (iOS and Android) are working well, I doubt it's actually the servers fault. The weird thing is I've tried installing the DAV-Bridge in Docker Desktop (still on Windows) and it's working fine, so it's something native Windows related. I've got the problem on my Laptop and on my Desktop.

Does anybody here have this issue as well?

Debugging the DAV.exe resulted in this: https://gist.github.com/flyingcactuscloud/1284a1bf97eef719166e621893afdb84#file-log