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

Auth times out every few days. #292

Open
5 tasks
turbo2ltr opened this issue Jan 15, 2022 · 1 comment
Open
5 tasks

Auth times out every few days. #292

turbo2ltr opened this issue Jan 15, 2022 · 1 comment

Comments

@turbo2ltr
Copy link

Which node are you reporting an issue on?

Google Calendar

What are the steps to reproduce?

Set up account and authenticate. Have "Include ongoing events" checked.

What happens?

Every few days (maybe 5-7 days) it stops working.

When it stops working, I get the following in the debug repeated frequently:

1/15/2022, 6:42:20 AMnode: 1e6abc4d626a18a9
msg : string[21]
"refresh token error: "
1/15/2022, 6:42:20 AMnode: 1e6abc4d626a18a9
msg : string[36]
"too many refresh attempts, giving up"
1/15/2022, 6:42:20 AMnode: 6bdb574f68bd7c34
msg : string[50]
"Error: Error: too many refresh attempts, giving up"

I then have to reenter my client ID/secret and auth again and it starts working for another few days.

My only guess is that because it's running in a docker instance, it requires some other setup I have not done?
The docker host is 10.0.0.252 so I set up a entry in my local windows hosts file (on the machine I access the nodeRed UI from) to map node-red.example.com to 10.0.0.252.
Seems to work for manual auth. Maybe there are some additional steps for docker instances?

What do you expect to happen?

I expect not to have to reauth the node every 5 days.

Please tell us about your environment:

Thank you.

@turbo2ltr
Copy link
Author

Additionally, when I update my credentials, the "Update" button at the top is still greyed out so there doesn't seem to be a way to save them. But if I hit cancel, then done (on the calendar node config screen) then force a change and redeploy, it works (for a few days)

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

1 participant