Hello An error occurred when I installed SigNoz an...
# support
u
Hello An error occurred when I installed SigNoz and Send Traces to Self-Hosted SigNoz, please help. 1. Install SigNoz Using Docker Compose is successful. 2. git clone https://github.com/SigNoz/spring-petclinic.git cd spring-petclinic ./mvnw package is successful. 3. OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317" OTEL_RESOURCE_ATTRIBUTES=service.name=javaApp java -javaagent:/root/opentelemetry-javaagent.jar -jar target/*.jar is wrong. message: [otel.javaagent 2024-02-22 094818:758 +0800] [OkHttp http://localhost:4317/...] ERROR io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export metrics. The request could not be executed. Full error message: unexpected end of stream on http://localhost:4317/... .... Caused by: java.io.EOFException: \n not found: limit=15 content=000006040000000000000500004000… at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:339) at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29) at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180) ... 16 more I tried restarting the service. Delete the image and reinstall it. But still the same error.
r
Is the collector accessible i.e. can you curl to port 4317 (locally or otherwise)?