-
Notifications
You must be signed in to change notification settings - Fork 50
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
Handle 401 response when using installation token shortly after creation #65
Comments
@gr2m I think I've been seeing this problem in a Probot app as well. Had something running as a test with very little activity happening on it and have seen a few I think it is probably the stats page refreshing the popular repositories list at https://github.com/probot/probot/blob/master/src/apps/stats.ts#L57. The log entries are are happening at around the same time past the hour which also corresponds to when the app was last started. Just another example of something that might be where you've spotted the 401 errors and flagging it for anyone else that sees the problem. |
I am very certain that this problem only applies to @droidpl can you confirm? |
I would say so, this is what it does on GHES so I believe cloud would do the same at a bigger scale. Read can read from any replica while write goes to the main database and replicates. |
🎉 This issue has been resolved in version 2.4.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is a follow up to octokit/plugin-paginate-rest.js#33
Here is a simplified test case that I run in GitHub Actions.
Here is a run that triggered the expected error:
https://github.com/octokit/sandbox/runs/705154995?check_suite_focus=true#step:5:1
The way this could work
I have asked the documentation team to document that behavior so we can reference it from our docs and error messages
/cc @steve-norman-rft @droidpl
The text was updated successfully, but these errors were encountered: