Skip to content

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

@diegomarquezp

Description

@diegomarquezp

HTTP Client failures case name and attributes conform to requirements

  • Manual test: We try to hit a non-existent host.
   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). 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions