Skip to content
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

'Error: Code: 405, Reason: Method Not Allowed' synchronising with Fastmail #77

Closed
duncan-bayne opened this issue Jul 12, 2015 · 2 comments
Labels

Comments

@duncan-bayne
Copy link

When synchronising with Fastmail CardDAV, I'm getting the following error:

[06:33:28.017     INFO] Logging into CardDAV server: https://carddav.messagingengine.com/dav/ad - user: duncan@bayne.id.au...
DEBUG:root:PIMDB cd does not have email_domains.
DEBUG:root:PIMDB cd does not have postal_map
DEBUG:root:PIMDB cd does not have notes_map
DEBUG:root:PIMDB cd does not have phones_map
DEBUG:root:Sending request OPTIONS to server carddav.messagingengine.com/dav/ad...
DEBUG:root:Sending Request URL: /dav/ad Method: OPTIONS
DEBUG:root:Received Response: HTTP/1.1 401 Unauthorized

DEBUG:root:Sending request OPTIONS to server carddav.messagingengine.com/dav/ad...
DEBUG:root:Sending Request URL: /dav/ad Method: OPTIONS
DEBUG:root:Received Response: HTTP/1.1 200 OK

DEBUG:root:Sending Request URL: /dav/ad Method: PROPFIND
DEBUG:root:Received Response: HTTP/1.1 405 Method Not Allowed

CRITICAL:root:Could not open connection to Carddav Server (https://carddav.messagingengine.com). Error: Code: 405, Reason: Method Not Allowed
[06:33:31.191 CRITICAL] Could not open connection to Carddav Server (https://carddav.messagingengine.com). Error: Code: 405, Reason: Method Not Allowed

This used to work; I've recently reinstalled my system and installed the latest ASynK from master.

If this is an issue on Fastmail's side I'm happy to raise a support ticket with them, as they were very responsive last time.

@skarra
Copy link
Owner

skarra commented Jul 13, 2015

Hm, it is possible it was a change at Fastmail's end. But I would like you to check one thing before that - your stid parameter looks a bit suspect. The URL that works for me looks something like this: /dav/addressbooks/user/abcd%40fastmail.com/

In your logs the domain part is missing. Can you edit your ~/.asynk/state.json to make that your full qualified email address and then try again?

@skarra skarra added the CardDAV label Jul 13, 2015
@duncan-bayne
Copy link
Author

Really weird - I recreated it, and it worked fine. I assume there's a bug in my scripts that set up my environment ... I'll look into that. Thanks and sorry for wasting your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants