pimutils / vdirsyncer

📇 Synchronize calendars and contacts.

Home Page:https://vdirsyncer.pimutils.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<p>The requested URL <code>/.well-known/caldav</code> was not found on this server

renellis opened this issue · comments

Hello,

vdirsyncer version 0.18.0

I'm trying to download google calendar event but I'm getting:

debug:

The requested URL /.well-known/caldav was not found on this server. That’s all we know.
error: Unknown error occurred: Not Found
error: Use -vdebug to see the full traceback.

configuration file relevant part

[pair google_calendars_to_local]
a = "my_calendars_local"
b = "google_calendar"
collections = ["from a", "from b"]
conflict_resolution = "b wins"
metadata = ["color"]

[storage google_calendar]
type = "google_calendar"
token_file = "~/.vdirsyncer/token"
client_id = "id................"
client_secret = "secret...................."

Any idea what I should look at?

Thanks!

R.

commented

I assume that my_calendars_local is a filesystem collection not a caldav one, right?

I assume that my_calendars_local is a filesystem collection not a caldav one, right?

Yes, I have omit other part of the config file as I don't think they are relevant. Btw, I running an older version, I will update and try again, it might be related to that.

After update to latest version I get the same error as in #1005

error: 400, message='Bad Request

commented

Try deleting the token_file and redoing the authentication flow.

The process seems to fail with the new version, after you approve the CalDAV app access, it redirect to a local addres: "http://127.0.0.1:33491/?state=9v......." and errored with This site can’t be reached127.0.0.1 refused to connect.

commented

Are you running vdirsycner on your local host?

Google deprecated the previous authentication flow we were using, so details for integrating with google have changed (see these changes to the docs in particular).