openzipkin-attic / docker-zipkin

Docker images for OpenZipkin
Apache License 2.0
688 stars 329 forks source link

docker-compose issues. No traces and error on boot #169

Closed carlosjgp closed 6 years ago

carlosjgp commented 6 years ago

This is my first time using Zipkin... but everything should work out of the box isn't it?

When I run docker-compose up -d everything boots correctly... but I can't find any trace on the UI or any dropdown with "zipkin server" on it or.

In the ui - click zipkin-server, then click "Find Traces". ???

So I try enabling self tracing... I run docker-compose down to get rid of the first set of containers and enable self tracing by uncommenting - SELF_TRACING_ENABLED=true...

Now zipkin container doesn't boots... and displays this error (a larger trace is printed on the console)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'zipkinServerConfiguration': Unsatisfied dependency expressed through field 'httpCollector'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'zipkinHttpCollector' defined in file [/zipkin/BOOT-INF/classes/zipkin/server/ZipkinHttpCollector.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'metrics': Requested bean is currently in creation: Is there an unresolvable circular reference?
carlosjgp commented 6 years ago

Looks like it's working with the latest updates.

Issue closed!