Code Monkey home page Code Monkey logo

docker-zipkin-gcp's People

Contributors

adriancole avatar anuraaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-zipkin-gcp's Issues

Unable to start Docker Container

2018-07-25 01:49:59.558  WARN 7 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; 
nested exception is 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/internal/ZipkinHttpCollector.class]: Unsatisfied dependency expressed through constructor parameter 0; 
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storage' defined in class path resource [zipkin/autoconfigure/storage/stackdriver/ZipkinStackdriverStorageAutoConfiguration.class]: Unsatisfied dependency expressed through method 'storage' parameter 2; 
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managedChannel' defined in class path resource [zipkin/autoconfigure/storage/stackdriver/ZipkinStackdriverStorageAutoConfiguration.class]: Bean instantiation via factory method failed; 
nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.grpc.ManagedChannel]: Factory method 'managedChannel' threw exception; nested exception is java.lang.IllegalStateException: OpenSsl required

Does not forward anything to Stackdriver Trace from GKE.

When I run the docker command

docker run -d -p 9411:9411 \ 
-e STORAGE_TYPE=stackdriver \
-e GOOGLE_APPLICATION_CREDENTIALS=/var/secret/google/key.json \
-e STACKDRIVER_PROJECT_ID=<ID> \
-v $HOME/Desktop/googleKeys:/var/secret/google openzipkin/zipkin-gcp

I successfully start the image and see logs for the zipkin server. But I only see a 404, when i visit the host/port of the server in the browser.

In the regular zipkin docker image I see the web UI. Acutally / reroutes to /zipkin which serves the UI.

I'm really running this as a deployment behind a service in GKE, and nothing is being forwarded to Trace. Looking for a way to debug.

Traces fail to send to stackdriver

I recently upgraded my deployment of zipkin-gcp to 0.10.0, at which point traces were no longer making it into Stackdriver.

Upon enabling DEBUG mode on the zipkin deployment, I was able to see the failures resulting in the traces not sent to Stackdriver:

io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedSocketException: Network unreachable: cloudtrace.googleapis.com/2607:f8b0:4004:804:0:0:0:200a:443
    at sun.nio.ch.Net.connect0(Native Method) ~[?:1.8.0_191]
    at sun.nio.ch.Net.connect(Net.java:454) ~[?:1.8.0_191]
    at sun.nio.ch.Net.connect(Net.java:446) ~[?:1.8.0_191]
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java

I have since rolled back to 0.9.0 and all is well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.