Unable to send the traces to gateway url using auto instrumentation - giving Required SETTINGS preface not received when i use GRPC. #8181
Unanswered
ramanjaneyagupta
asked this question in
Q&A
Replies: 1 comment 8 replies
-
The error message you are seeing suggests that there is a problem with the GRPC communication between your application and the collectors running behind the VIP. Specifically, the error message "Required SETTINGS preface not received" indicates that the communication between the client and server is not being established properly. Here are a few things you can try to resolve the issue:
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am trying to send the traces to gateway( a set of collectors running behind the VIP), and when i am trying to send using GRPC it is giving below error -
ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter-Failedtoexportspans.Therequestcouldnotbe executed. Full error message: Required SETTINGS preface not received.
After a minute it is giving this :
ERROR io.opentelemetry.exporter.internal.grpc.OkhttpGrpcExporter-Failedtoexportspans.
The request could not be executed. Full error message: Broken pipe (Write failed)
Configuration:
java -javaagent:/home/rpasumar/agent/opentelemetry-javaagent_1.24.jar
-Dotel. traces.exporter=otlp
-Dotel.exporter.otlp.traces.endpoint=:4317
-Dotel.exporter.otlp.traces.headers-"tIs.insecure=false"
-Dotel.service.name=petclinic
-Dserver.port=8081
-jar target/spring-petclinic-2.6.0-SNAPSHOT.jar
NOTE: if i have the collector(agent mode) installed on same vm and send the traces to that local collector, from local collector to gateway i didnt see any issue.but directly sending it to gateway it is giving above issue.
Beta Was this translation helpful? Give feedback.
All reactions