etesync / etesync-dav

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

Cannot set up version 0.30.1 on Catalina #175

Closed stevesbrain closed 3 years ago

stevesbrain commented 3 years ago

Hi there, running the 0.30.1 Linux bridge on a remote server, setting it up as a CardDav on my macOS Catalina. Had been running the preview of EteSync 2 for this previously, but set up 0.30.1 this morning. I removed and readded the account on macOS and noticed that 0.30.1 seems to produce the following error:

[2020-10-23 08:53:48 +1030] [80422/Thread-5] [DEBUG] Sanitized script name: ''                                                                                                                                                                                                                                                                                                                                                                                                        
[2020-10-23 08:53:48 +1030] [80422/Thread-5] [DEBUG] Sanitized path: '/principals/'                                                                                                                                                                                                                                                                                                                                                                                                   
[2020-10-23 08:53:48 +1030] [80422/Thread-5] [INFO] Successful login: 'USERNAME'                                                                                                                                                                                                                                                                                                                                                                                                      
[2020-10-23 08:53:48 +1030] [80422/Thread-5] [INFO] Access to '/principals/' denied for 'USERNAME'                                                                                                                                                                                                                                                                                                                                                                                    
[2020-10-23 08:53:48 +1030] [80422/Thread-5] [DEBUG] Response content:                                                                                                                                                                                                                                                                                                                                                                                                                
Access to the requested resource forbidden.                                                                                                                                                                                                                                                                                                                                                                                                                                           
[2020-10-23 08:53:48 +1030] [80422/Thread-5] [INFO] PROPFIND response status for '/principals/' with depth '0' in 0.004 seconds: 403 Forbidden    

After this macOS just says "unable to verify username or password". Reverting to 0.30.0 allows me to set up the account, after which I can upgrade to 0.30.1 with no issue. It seems the discovery of resources perhaps is not working on 0.30.1? Not sure if it's just me, but thought I'd report in case :)

tasn commented 3 years ago

Hey, thanks for reporting!

There were only two tiny changes in 0.30.1, one is completely unrelated, and one could affect things, but I can't imagine how. Especially since the discovery works just fine on Linux (tested with Evolution). The issue you showed above is not an error, access to /principals/ should indeed be denied (for all I remember). Is it different in the working case? Could you maybe upload a full log of the broken one (up until the point where it stops doing anything), and of the working one (up until the point where it's starting to fetch the actual data)? How did you get the Linux version? I just realised I forgot to upload it to a few places. :P

tasn commented 3 years ago

Just following up on this one.

tasn commented 3 years ago

I'm closing this as haven't heard back in 20 days, please reopen if you have any comments.