googleapis / googleapis/google-cloud-java

[sdk-platform-java] [o11y] Investigate 500 error reported when client points to non-existent host

Abierto
#12,669 0 comentarios 0 reacciones 1 asignado Reclamado por @jinseopkim0 Ver en GitHub
priority: p3 type: bug
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

**HTTP Client failures case name and attributes conform to requirements**

* **Manual test:** We try to hit a non-existent host.

```java
TranslationServiceSettings.Builder settingsBuilder = TranslationServiceSettings.newBuilder();

settingsBuilder
.getStubSettingsBuilder()
.setEndpoint("non-existent:1234")
.setTracerFactory(createOpenTelemetryTracerFactory());
```

* **HTTP**
* Image

* Confirmed this 500 (`UnknwonException`) is part of unwrapping the exception (see [related code](https://github.com/googleapis/google-cloud-java/blob/59441275c916aa4698463c116de6f80558f46534/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java#L204-L212)). The actual code may not be desired but it respects the logic, so if a fix is wanted it should be done in gax-httpjson

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.