Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thrift transport error w/ 0.6 #101

Open
polymorphic opened this issue Aug 4, 2017 · 2 comments
Open

Thrift transport error w/ 0.6 #101

polymorphic opened this issue Aug 4, 2017 · 2 comments

Comments

@polymorphic
Copy link

I'm running the TracingBasics sample w/ version 0.6 of the extension. The following errors are reported at run time:

Received InternalMessage(00cfe41a-dae6-4bf9-929d-71ea27b79417,595079183)
[INFO] [08/04/2017 07:17:55.324] [TracingBasics-akka.actor.default-dispatcher-3] [akka://TracingBasics/user/spanHolder/spanSubmitter] Successfully connected to Zipkin collector.
[WARN] [08/04/2017 07:17:55.336] [TracingBasics-akka.actor.default-dispatcher-3] [akka://TracingBasics/user/spanHolder/spanSubmitter] Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans.
[INFO] [08/04/2017 07:17:55.337] [TracingBasics-akka.actor.default-dispatcher-3] [akka://TracingBasics/user/spanHolder/spanSubmitter] Trying to reconnect in 10 seconds
Received InternalMessage(94f61e2b-49ff-4b47-8806-442d6f3216de,-1592140154)
Received InternalMessage(133c0be6-2f5a-4f28-9eb0-0185fca05d0b,-680316295)
Received InternalMessage(212967cf-f58c-4402-ad66-899ab6159d1c,-695744830)
Received InternalMessage(ec44089b-a62b-476f-9ca1-92edb5967c4b,675089469)
Received InternalMessage(c657af2c-705b-4bf9-9fce-a783c0d72f3e,-1156217268)
Received InternalMessage(1db9fed6-fe4e-445d-9619-48c6397f71f3,-1385752749)
Received InternalMessage(1d6d686c-6bb9-4c2f-89d0-b410b71abe6e,-950117059)
Received InternalMessage(a418b079-a4c3-40ce-8b1a-b3e52e62c74c,711007733)
Received InternalMessage(52b7c1f4-7943-4fce-a31a-cbe4f5641977,1017234414)
Received InternalMessage(8c264e40-2635-44cd-beb3-9fb3ea8f6960,536210076)
[INFO] [08/04/2017 07:18:05.358] [TracingBasics-akka.actor.default-dispatcher-2] [akka://TracingBasics/user/spanHolder/spanSubmitter] Successfully connected to Zipkin collector.
[WARN] [08/04/2017 07:18:05.361] [TracingBasics-akka.actor.default-dispatcher-2] [akka://TracingBasics/user/spanHolder/spanSubmitter] Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans.
[INFO] [08/04/2017 07:18:05.362] [TracingBasics-akka.actor.default-dispatcher-2] [akka://TracingBasics/user/spanHolder/spanSubmitter] Trying to reconnect in 10 seconds
Received InternalMessage(ad50e4d3-b701-4547-aa6e-c57ec08a7d50,323091193)
Received InternalMessage(7838f538-bb60-4a79-a608-50ef4134e960,-166995967)
Received InternalMessage(5e2f9231-3d40-49e8-914a-ab69bfec3624,-972645578)
[INFO] [08/04/2017 07:18:08.375] [Thread-0] [CoordinatedShutdown(akka://TracingBasics)] Starting coordinated shutdown from JVM shutdown hook
[INFO] [08/04/2017 07:18:08.392] [TracingBasics-akka.actor.default-dispatcher-5] [akka://TracingBasics/user/spanHolder/spanSubmitter] Flushing 1 spans
[INFO] [08/04/2017 07:18:08.392] [TracingBasics-akka.actor.default-dispatcher-5] [akka://TracingBasics/user/spanHolder/spanSubmitter] Successfully connected to Zipkin collector.
[WARN] [08/04/2017 07:18:08.395] [TracingBasics-akka.actor.default-dispatcher-5] [akka://TracingBasics/user/spanHolder/spanSubmitter] Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans.

I updated Akka to 2.5.3, same results.

@xudongzhang
Copy link

I got exactly the same error. Can someone help on this?

@arempter
Copy link

I hit the same issue today, and I think it is not bug in the software. I was able to reproduce using docker image of zipkin with standard run parameters. According to their docs:

Scribe Collector
The Scribe collector is disabled by default, configured by the following:

  • SCRIBE_ENABLED: Set to true to listen for scribe (thrift RPC); Defaults to false
  • COLLECTOR_PORT: Listen port for the scribe thrift api; Defaults to 9410

so all you need to do is to run docker with following params:
docker run -it --env SCRIBE_ENABLED=true --env COLLECTOR_PORT=9410 -p 9411:9411 -p 9410:9410 openzipkin/zipkin

in application.conf you point to
port = 9410 # default

and it worked:

[INFO] [09/13/2017 15:45:17.508] [apiServer-akka.actor.default-dispatcher-10] [akka://apiServer/user/spanHolder/spanSubmitter] Successfully connected to Zipkin collector.
Received 1
Received 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants