Skip to content

net.devh.boot.grpc.client.nameresolver.DiscoveryClientNameResolver No servers found for cloudtrace.googleapis.com #304

@quan-nh

Description

@quan-nh

The context

I have an app with these dependencies.

    implementation 'net.devh:grpc-client-spring-boot-starter:2.6.0.RELEASE'
    implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
    implementation 'io.zipkin.brave:brave-instrumentation-grpc:5.9.1'
    implementation 'org.springframework.cloud:spring-cloud-gcp-starter-logging'
    implementation 'org.springframework.cloud:spring-cloud-gcp-starter-trace'

The app run on GCP & I want to use gcp trace, follow this guide https://codelabs.developers.google.com/codelabs/cloud-spring-cloud-gcp-trace/index.html.

The question

net.devh.boot.grpc.client.nameresolver.DiscoveryClientNameResolver class show this error(?)
No servers found for cloudtrace.googleapis.com & no trace is recorded in Stackdriver Trace. The Stackdriver Trace API is already enabled, so I thing maybe there is a conflict with spring-cloud-gcp-starter-trace library (as cloudtrace should be handled by that lib, not grpc client)?

Stacktraces and logs

The application's environment

Which versions do you use?

  • Spring (boot): 2.2.1.RELEASE
  • grpc-java: 1.25.0
  • grpc-spring-boot-starter:2.6.0.RELEASE
  • java: 11 (64bit)

Additional information

  • Did it ever work before?
  • How can we reproduce it?
  • Do you have a demo?

Metadata

Metadata

Assignees

Labels

documentationEverything related to the documentationincompatibilityIncompatibilities between components or versionsquestionA question about this library or its usage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions