google-cloud-ruby: Datastore: invalid UnauthenticatedError exception

Hi, we just pushed the code to production, and one hour after started seeing unexpected UnauthenticatedError exceptions.

cause is GRPC::BadStatus and message is "16:Faraday::ConnectionFailed", .details="Faraday::ConnectionFailed"

Which looks like transient HTTP AUTH connection failure, which should be retriable, and in any case should not be reported as Google::Cloud::UnauthenticatedError.

Also I didn’t think Faraday is still in use after update to grpc.

Can you please investigate the issue, as it is out of the expected behavior and I had to hot-patch the production.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (13 by maintainers)

Most upvoted comments

There is some movement on this. The PR google/google-auth-library-ruby#97 implements retry and incremental backoff on the authentication calls.