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

Errors 403 and 404 using EteSync DAV bridge on eM-client on Windows #307

Closed x90125 closed 4 months ago

x90125 commented 4 months ago

Hi all.

I'm on Win7 x64 and I have 3 collections (1 address book and 2 calendars).

Although EteSync DAV Bridge works, it's very slow to synchronise and I see a red question mark next to the account in eM-Client, So I enabled logging and found a number of 403 errors...

I replaced my personal data with "HIDDEN" below. I also omitted all the successful synchronisations (status 200) for the sake of legibility.

Can anyone tell me what's going on? Thanks.

M..T

LOG EXCERPT

eM Client 9.2.2230+82bdd8974c (Windows) Account's UID is (HIDDEN) AccountBase.ChangeOnlineState : State changed to ONLINE due User

Request: Method: PROPFIND, RequestUri: '(HIDDEN)', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Accept: text/xml Brief: t Depth: 1 User-Agent: eMClient/9.2.2230.0 Content-Type: text/xml; charset=utf-8 } <?xml version="1.0" encoding="utf-8"?></D:prop></D:propfind>

Response: StatusCode: 207, ReasonPhrase: 'Multi-Status', Version: 1.0, Content: System.Net.Http.DecompressionHandler+GZipDecompressedContent, Headers: { Date: Tue, 13 Feb 2024 17:40:58 GMT Server: WSGIServer/0.2 CPython/3.8.10 DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol Content-Type: text/xml; charset=utf-8 } <?xml version='1.0' encoding='utf-8'?>

(HIDDEN)**HTTP/1.1 404 Not Found(HIDDEN)**"GqaLSV5MWAnVigNit8cdBsSgeIfGKRW2"text/vcardHTTP/1.1 200 OK(HIDDEN)"4gcI5tE3as5bBUoxYM7nylYArMvlLvIs"text/calendarHTTP/1.1 200 OK(HIDDEN)"hzkgjkfDO5PobbPDfyQFxNHHqPgL8eVQ"text/calendarHTTP/1.1 200 OK

Response: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.0, Content: System.Net.Http.DecompressionHandler+GZipDecompressedContent, Headers: { Date: Tue, 13 Feb 2024 17:40:59 GMT Server: WSGIServer/0.2 CPython/3.8.10 Content-Type: text/xml; charset=utf-8 } <?xml version='1.0' encoding='utf-8'?>

Request: Method: REPORT, RequestUri: '(HIDDEN)', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Accept: text/xml Brief: t Depth: 0 User-Agent: eMClient/9.2.2230.0 Content-Type: text/xml; charset=utf-8 } <?xml version="1.0" encoding="utf-8"?></D:prop>(HIDDEN)</D:href></C:addressbook-multiget>

Response: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.0, Content: System.Net.Http.DecompressionHandler+GZipDecompressedContent, Headers: { Date: Tue, 13 Feb 2024 17:40:59 GMT Server: WSGIServer/0.2 CPython/3.8.10 Content-Type: text/xml; charset=utf-8 } <?xml version='1.0' encoding='utf-8'?>

Request: Method: REPORT, RequestUri: '(HIDDEN)', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Accept: text/xml Brief: t User-Agent: eMClient/9.2.2230.0 Content-Type: text/xml; charset=utf-8 } <?xml version="1.0" encoding="utf-8"?></D:prop>(HIDDEN)</D:href>(HIDDEN)</D:href></C:calendar-multiget>

Response: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.0, Content: System.Net.Http.DecompressionHandler+GZipDecompressedContent, Headers: { Date: Tue, 13 Feb 2024 17:41:21 GMT Server: WSGIServer/0.2 CPython/3.8.10 Content-Type: text/xml; charset=utf-8 } <?xml version='1.0' encoding='utf-8'?>

Request: Method: REPORT, RequestUri: '(HIDDEN)', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Accept: text/xml Brief: t Depth: 0 User-Agent: eMClient/9.2.2230.0 Content-Type: text/xml; charset=utf-8 } <?xml version="1.0" encoding="utf-8"?></D:prop>(HIDDEN)</D:href></C:addressbook-multiget>

Response: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.0, Content: System.Net.Http.DecompressionHandler+GZipDecompressedContent, Headers: { Date: Tue, 13 Feb 2024 17:41:21 GMT Server: WSGIServer/0.2 CPython/3.8.10 Content-Type: text/xml; charset=utf-8 } <?xml version='1.0' encoding='utf-8'?>

SynchronizeItemsCommand finished on ( HIDDEN ) AccountBase.ChangeOnlineState : State changed to OFFLINE due ApplicationShutdown