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

Open
#12,669 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@jinseopkim0 is already working on this.

Since Jul 20, 2026.

Assessment

This issue has not been assessed yet.

Description

priority: p3 type: bug

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

Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
192

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-cloud-java

All issues in googleapis/google-cloud-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.