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

Detecting clock drift #52

Open
slifty opened this issue Dec 15, 2022 · 0 comments
Open

Detecting clock drift #52

slifty opened this issue Dec 15, 2022 · 0 comments

Comments

@slifty
Copy link
Contributor

slifty commented Dec 15, 2022

I just spent quite some time trying to figure out why API calls were failing for minutes at a time only to start working again despite no changes on the backend / devenv!

It turns out it was because of server timestamp drift -- the server thought it was the past, so the bearer tokens generated on my machine looked like they were from the future and were being rejected (until time caught up).

It's my understanding that this drift has caused other problems (e.g. queue pileups).

It would be great to fix this issue; I imagine I won't be the last dev who spins wheels for a few hours trying to navigate rifts in the fourth dimension!

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