pimutils / vdirsyncer

📇 Synchronize calendars and contacts.
https://vdirsyncer.pimutils.org/
Other
1.53k stars 160 forks source link

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

Open renellis opened 1 year ago

renellis commented 1 year ago

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.

WhyNotHugo commented 1 year ago

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

renellis commented 1 year ago

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.

renellis commented 1 year ago

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

error: 400, message='Bad Request

WhyNotHugo commented 1 year ago

Try deleting the token_file and redoing the authentication flow.

renellis commented 1 year ago

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.

WhyNotHugo commented 1 year ago

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).