You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
User experiences intermittent failure on a job. Some runs are just fine, and occasionally one will error out with below:
Unable to generate access token, if you're using impersonate_service_account, make sure your initial account has the "roles/iam.serviceAccountTokenCreator" role on the account you are trying to impersonate.
and
14:03:39 <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
14:03:39 <p><b>502.</b> <ins>That's an error.</ins>
14:03:39 <p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds. <ins>That's all we know.</ins>
Expected Behavior
The error itself says to retry in 30 seconds, so we should add this to the retry logic so that it happens automatically.
Steps To Reproduce
It is very intermittent, so unable to reproduce on my end.
Relevant log output
Unable to generate access token, if you're using impersonate_service_account, make sure your initial account has the "roles/iam.serviceAccountTokenCreator" role on the account you are trying to impersonate.
and
14:03:39 <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
14:03:39 <p><b>502.</b> <ins>That's an error.</ins>
14:03:39 <p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds. <ins>That's all we know.</ins>
Is this a new bug in dbt-bigquery?
Current Behavior
User experiences intermittent failure on a job. Some runs are just fine, and occasionally one will error out with below:
and
Expected Behavior
The error itself says to retry in 30 seconds, so we should add this to the retry logic so that it happens automatically.
Steps To Reproduce
It is very intermittent, so unable to reproduce on my end.
Relevant log output
and
Environment
Additional Context
ticket: https://dbtcloud.zendesk.com/agent/tickets/42996
dbt-bigquery/dbt/adapters/bigquery/connections.py
Lines 51 to 56 in edca37a
does not have the BadGateway 502 in the list of retryable cases and it probably should.
see: https://googleapis.dev/python/google-api-core/latest/exceptions.html
related, but not the same:
#263 (not retried during job timeout)
#231 (larger piece on refactoring bq retries).
The text was updated successfully, but these errors were encountered: