levkhomich / akka-tracing

A distributed tracing extension for Akka. Provides integration with Play framework, Spray and Akka HTTP.
Other
308 stars 32 forks source link

Receiving error: Frame size (1213486160) larger than max length (16384000) #80

Closed timoweiss closed 8 years ago

timoweiss commented 8 years ago

Hey,

I just tried to run the activator-akka-tracing sample but I always get the following error:

[WARN] [06/08/2016 18:04:32.352] [ForkJoinPool-2-worker-7] [akka://TracingBasics/user/spanHolder] Successfully connected to Zipkin collector.
[ERROR] [06/08/2016 18:04:32.353] [ForkJoinPool-2-worker-7] [akka://TracingBasics/user/spanHolder] Thrift transport error: Frame size (1213486160) larger than max length (16384000)!
[WARN] [06/08/2016 18:04:32.353] [ForkJoinPool-2-worker-7] [akka://TracingBasics/user/spanHolder] Zipkin collector unavailable. Failed to send 1 spans.
[ERROR] [06/08/2016 18:04:32.353] [ForkJoinPool-2-worker-7] [akka://TracingBasics/user/spanHolder] Trying to reconnect in 10 seconds

I'm not sure what I'm doing wrong.

Thanks for the help!

Timo

IainHull commented 8 years ago

I get the same error with version 0.4 connecting to the https://github.com/openzipkin/docker-zipkin with docker-compose

levkhomich commented 8 years ago

Sorry for delay. I will check the issue.

levkhomich commented 8 years ago

I did some tests, but was not able to reproduce it. In fact, such limit is checked on read, so, most likely, thrift client connects to invalid endpoint.

Anyway, version 0.5 was just released and it will appear in Maven Central shortly, right after that I will push updated activator template (which works fine).

fly0wing commented 8 years ago

use cmd: docker run -d -p 9411:9411 -p 9410:9410 openzipkin/zipkin, and make sure config is akka.tracing.port=9410.

skycomandor commented 7 years ago

Still reproduce(( version 6 libraryDependencies += "com.github.levkhomich" % "akka-tracing-core_2.11" % "0.6"

[INFO] [06/01/2017 12:38:53.265] [TracingBasics-akka.actor.default-dispatcher-4] [akka://TracingBasics/user/spanHolder/spanSubmitter] Successfully connected to Zipkin collector. [WARN] [06/01/2017 12:38:53.273] [TracingBasics-akka.actor.default-dispatcher-4] [akka://TracingBasics/user/spanHolder/spanSubmitter] Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 2 spans. [INFO] [06/01/2017 12:38:53.274] [TracingBasics-akka.actor.default-dispatcher-4] [akka://TracingBasics/user/spanHolder/spanSubmitter] Trying to reconnect in 10 seconds

theblazehen commented 7 years ago

https://rachelbythebay.com/w/2016/02/21/malloc/

SSopin commented 5 years ago

Have the same issue. I use: "com.github.levkhomich" % "akka-tracing-core_2.12" % "0.6.1".

Some logs: 2019-01-25 18:35:51 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Successfully connected to Zipkin collector. 2019-01-25 18:35:51 -0500 [WARN] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans. 2019-01-25 18:35:51 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Trying to reconnect in 10 seconds 2019-01-25 18:36:01 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Successfully connected to Zipkin collector. 2019-01-25 18:36:01 -0500 [WARN] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans. 2019-01-25 18:36:01 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Trying to reconnect in 10 seconds 2019-01-25 18:36:11 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Successfully connected to Zipkin collector. 2019-01-25 18:36:11 -0500 [WARN] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Thrift transport error: Frame size (1213486160) larger than max length (16384000)!. Failed to send 1 spans. 2019-01-25 18:36:11 -0500 [INFO] [com.github.levkhomich.akka.tracing.actor.SpanSubmitter] - Trying to reconnect in 10 seconds