-
Notifications
You must be signed in to change notification settings - Fork 93
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
[Spanner] authentication issues should result in a user error #4
Comments
cc @broady |
found the related issue in java also 3573 |
@jadekler I tried to figure out why it throws |
@HemangChothani Is |
@jadekler I think yes, due to that i have got the error multiple times and by default |
Looks like it's a 400 at one point, which indicates some broken plumbing
where it didn't surface properly?
I'm confused how it seems to be multiple codes at once - is it because the
400 wasn't treated as an error?
…On Tue, Dec 3, 2019, 10:52 PM HemangChothani ***@***.***> wrote:
@jadekler <https://github.com/jadekler> I think yes, due to that i have
got the error multiple times and by default deadline is 3600s. So due to this
foor loop
<https://github.com/googleapis/google-cloud-python/blob/master/api_core/google/api_core/retry.py#L180>
which is in api_core/retry.py and long deadline it looks like goes into
the infinite loop or it hangs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/googleapis/google-cloud-python/issues/9896?email_source=notifications&email_token=AAAGDFWULRQYQTRKA676C33QW5HSLA5CNFSM4JSA4QV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF356II#issuecomment-561504033>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAGDFUVMGYDPYDDYWDHYALQW5HSLANCNFSM4JSA4QVQ>
.
|
Gotcha. We probably shouldn't retry
Sounds right. |
Another similar issue 7199 has been found, so can we close one of them? Because it is a kind of duplicate issue. |
Not sure how to progress here. Seems like an issue in another library. Need to investigate further. |
The auth library does not pass through the status error code through to gRPC. However, gRPC would replace it with INTERNAL regardless. See status conversion. It is still unclear as to why the client receives an UNAVAILABLE error. |
This is not an issue with the client library, but with its dependencies. I have filed an issue with |
... it hangs forever
WasteSpend hour struggling to figure out what is happening.Figure out how to turn on http logging with,
See:
This is an error that will never resolve. We should surface it to the user immediately.
Also: I have no idea why this is a
503 UNAVAILABLE
. Why would it not be a400 BAD REQUEST
or401 UNAUTHORIZED
??The text was updated successfully, but these errors were encountered: