googleapis / googleapis/google-cloud-cpp

BigQueryReadClient::ReadRows fails with `UNKNOWN: Error occurred when fetching oauth2 token` after CreateReadSession succeeds

Abierto
#16,371 1 comentario 0 reacciones 1 asignado Reclamado por @scotthart Ver en GitHub
Lenguaje dominante
C++
Estrellas
659
Forks
462
Merge medio
1 d 2 h
PR fusionados (30 d)
89

Descripción

Client `google-cloud-cpp v2.22.0`

## What Happened
```
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: BigQuery ReadRows failed for stream projects/rising-woods-374602/locations/us/sessions/CAISDG80QTJWdmc5UnpMSRoCamMaAm55/streams/CM8RGgJqYxoCbnkoAg: UNKNOWN: Error occurred when fetching oauth2 token. (rows delivered by this data source before the failure: 0)
```

I'm not filing this as a bug yet. I want to understand the failure mode.
1. Under what conditions does this occur?
2. Is this a client side or service side issue ? how do I confirm which one it is?

Is `UNKNOWN` error type retried by the default `BigQueryReadConnection` retry policy? If a transient token fetch failure lands as `UNKNOWN`, it looks like it would bypass retry and kill the read outright. Is that expected, and is there a supported way to make token-fetch failures retryable ?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.