Skip to content

Error when running Distributed Tracing with OpenTelemetry and Jaeger example #3

Open
@ahavriluk

Description

@ahavriluk

I have cloned and ran Distributed Tracing with OpenTelemetry and Jaeger example and got this error:
Failed to export spans. The request could not be executed. Full error message: unexpected end of stream on http://localhost:4318/

Full log:

2023-06-10T08:36:28.707-07:00  INFO [Service-2,,] 84480 --- [           main] c.a.p.DistributedTracingApplication      : Starting DistributedTracingApplication using Java 17.0.6 with PID 84480 (/Users/ohavrylyuk/repos/distributed-tracing-with-spring-boot/distributed-tracing-spring-boot-opentelemetry-jaeger/target/classes started by ohavrylyuk in /Users/ohavrylyuk/repos/distributed-tracing-with-spring-boot/distributed-tracing-spring-boot-opentelemetry-jaeger)
2023-06-10T08:36:28.711-07:00  INFO [Service-2,,] 84480 --- [           main] c.a.p.DistributedTracingApplication      : No active profile set, falling back to 1 default profile: "default"
2023-06-10T08:36:30.197-07:00  INFO [Service-2,,] 84480 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8090 (http)
2023-06-10T08:36:30.207-07:00  INFO [Service-2,,] 84480 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2023-06-10T08:36:30.207-07:00  INFO [Service-2,,] 84480 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.7]
2023-06-10T08:36:30.300-07:00  INFO [Service-2,,] 84480 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2023-06-10T08:36:30.300-07:00  INFO [Service-2,,] 84480 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1530 ms
2023-06-10T08:36:31.359-07:00  INFO [Service-2,,] 84480 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2023-06-10T08:36:31.451-07:00  INFO [Service-2,,] 84480 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8090 (http) with context path ''
2023-06-10T08:36:31.471-07:00  INFO [Service-2,,] 84480 --- [           main] c.a.p.DistributedTracingApplication      : Started DistributedTracingApplication in 3.313 seconds (process running for 4.197)
2023-06-10T08:36:31.881-07:00  INFO [Service-2,,] 84480 --- [)-192.168.1.155] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-06-10T08:36:31.881-07:00  INFO [Service-2,,] 84480 --- [)-192.168.1.155] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2023-06-10T08:36:31.883-07:00  INFO [Service-2,,] 84480 --- [)-192.168.1.155] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2023-06-10T08:37:55.844-07:00  INFO [Service-2,f9949f729601e957f3263fa1ccd4562e,16c3dfa89dd3541a] 84480 --- [nio-8090-exec-1] com.amrut.prabhu.Controller              : Incoming request at Service-2 at /path2
2023-06-10T08:38:00.780-07:00 ERROR [Service-2,,] 84480 --- [alhost:4318/...] i.o.e.internal.okhttp.OkHttpExporter     : Failed to export spans. The request could not be executed. Full error message: unexpected end of stream on http://localhost:4318/...

Do you know what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions