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 adding Google Calendar #327

Open
stevenmcastano opened this issue Feb 8, 2024 · 1 comment
Open

Error adding Google Calendar #327

stevenmcastano opened this issue Feb 8, 2024 · 1 comment

Comments

@stevenmcastano
Copy link

I'm trying to integrate with a gmail calendar... I've followed the steps for the docker deployment as well as getting the google app credentials which I've put in the proper .env and .end.appStore files... however, when I click to add a calendar... it take me to the google auth screen, let's me pick which google account to use, however.... once I select an account, on redirect it fails, tells me connection refused and I get the following in the logs:

docker-calcom-1  | @calcom/web:start: [next-auth][error][CLIENT_FETCH_ERROR]
docker-calcom-1  | @calcom/web:start: https://next-auth.js.org/errors#client_fetch_error fetch failed {
docker-calcom-1  | @calcom/web:start:   error: {
docker-calcom-1  | @calcom/web:start:     message: 'fetch failed',
docker-calcom-1  | @calcom/web:start:     stack: 'TypeError: fetch failed\n' +
docker-calcom-1  | @calcom/web:start:       '    at Object.fetch (node:internal/deps/undici/undici:11730:11)\n' +
docker-calcom-1  | @calcom/web:start:       '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)',
docker-calcom-1  | @calcom/web:start:     name: 'TypeError'
docker-calcom-1  | @calcom/web:start:   },
docker-calcom-1  | @calcom/web:start:   url: 'http://localhost:3333/api/auth/csrf',
docker-calcom-1  | @calcom/web:start:   message: 'fetch failed'
docker-calcom-1  | @calcom/web:start: }

And that message seems to repeat itself around once a minute.

@voska
Copy link

voska commented Feb 29, 2024

Have you set your NEXTAUTH_URL ?
https://github.com/calcom/docker?tab=readme-ov-file#client_fetch_error

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

No branches or pull requests

2 participants