-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
With defined gh-team-allowlist Atlantis randomly stops working with 401 Unauthorized body #2187
Comments
the struct issue you are reporting was fix in #2128 |
I'm not reporting that issue in this one. This is |
understood |
@komljen I found this article. Might be related to rate limit and the misleading error message. Could you check your rate limit when it happens again? |
Interesting, will check that and report on the findings. |
This is an interesting finding #2285 (comment) |
@komljen Yeah, we've now been able to run for multiple days with 0.19.3 and the user+token authentication instead of GH App. With the GH App authentication, we could only go a few hours at most. With 0.17.5, the GH App route worked perfectly fine. |
interesting:
if you switch right now to GH app and 0.17.5 with gh-team-allowlist does it
work for you?
I'm trying to understand why this could be.
…On Tue., Jun. 14, 2022, 6:12 a.m. cjbehm, ***@***.***> wrote:
@komljen <https://github.com/komljen> Yeah, we've now been able to run
for multiple days with 0.19.3 and the user+token authentication instead of
GH App. With the GH App authentication, we could only go a few hours at
most.
With 0.17.5, the GH App route worked perfectly fine.
—
Reply to this email directly, view it on GitHub
<#2187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERHGFHB6UKV3NFEPI4LVPCALRANCNFSM5SVRFIRA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@jamengual I'm not using the GH team allow list feature, just was confirming @komljen 's comment, so I can't test that out (also the gh team list feature was added in 0.18 and moved to GraphQL in 0.18.3) I do think that #2285 and this issue could be the same root cause, but I created that issue specifically because our errors arose without using any new features; just as a pure version upgrade. |
I'm starting to believe the API call throttling issue is what is causing
this and the error message does not help much.
I'm hoping Github API will be more descriptive of the real issue behind it
and hopefully expose metrics around API calls.
…On Tue, Jun 14, 2022 at 9:02 AM cjbehm ***@***.***> wrote:
@jamengual <https://github.com/jamengual> I'm not using the GH team allow
list feature, just was confirming @komljen <https://github.com/komljen>
's comment, so I can't test that out (also the gh team list feature was
added in 0.18 and moved to GraphQL in 0.18.3)
I do think that #2285
<#2285> and this issue
could be the same root cause, but I created that issue specifically because
our errors arose without using any new features; just as a pure version
upgrade.
—
Reply to this email directly, view it on GitHub
<#2187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERE5O4YMWTKOTWZYJGTVPCULFANCNFSM5SVRFIRA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Could Atlantis request and log rate limit info in its query per https://docs.github.com/en/graphql/overview/resource-limitations ? It's hard to imagine throttling as the source when our problem in #2285 disappeared by switching to token auth instead of GH App, but GitHub's API response on its own is nearly useless.
|
On Tue, Jun 14, 2022 at 11:36 AM cjbehm ***@***.***> wrote:
Could Atlantis request and log rate limit info in its query per
https://docs.github.com/en/graphql/overview/resource-limitations ?
PRs are welcome
It's hard to imagine throttling as the source when our problem in #2285
<#2285> disappeared by
switching to token auth instead of GH App, but GitHub's API response on its
own is nearly useless.
exactly, how do we know if the response is so cryptic?
… I'm starting to believe the API call throttling issue is what is causing
this and the error message does not help much. I'm hoping Github API will
be more descriptive of the real issue behind it and hopefully expose
metrics around API calls.
… <#m_-2437748453883505730_>
—
Reply to this email directly, view it on GitHub
<#2187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERBVVNXDJGDRAQ7RJGTVPDGJDANCNFSM5SVRFIRA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
is this still happening in |
I didn't try that version yet but will wait for this PR #2479. |
that is correct, I think that is going to be the fix.
It should be available today in the pre-release
…On Thu, Sep 8, 2022 at 2:00 AM Alen Komljen ***@***.***> wrote:
is this still happening in v0.19.8?
I didn't try that version yet but will wait for this PR #2479
<#2479>.
Seems like a proper fix for this issue.
—
Reply to this email directly, view it on GitHub
<#2187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERA2GYEZSPTZRR3HWYTV5GTJRANCNFSM5SVRFIRA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
+1 |
this has been already fixed, test the new version
…On Mon, Oct 3, 2022 at 12:39 PM Julliano Goncalves ***@***.***> wrote:
+1
—
Reply to this email directly, view it on GitHub
<#2187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ3ERBHQ3EMI6UHBAYBHJ3WBMY7JANCNFSM5SVRFIRA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, forgot to update here, but no issues with the latest version. |
we are still hitting it with latest 0.19.8 edit: a4a49bf i see this is in 0.19.9 🤞 |
Community Note
Overview of the Issue
With defined
gh-team-allowlist
, Atlantis randomly stops working with the following error when running the plan:A restart of the pod fixes it, but it breaks again after a few hours.
Atlantis version:
v0.19.2
Config:
I also tried
v0.19.1
, but it failed with the following error:However, this is expected, from release notes in the latest version.
The text was updated successfully, but these errors were encountered: