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

Unable to send metrics to Graphite using PickleGraphiteSender (SocketException, ErrorCode 10053) #119

Open
LeonidVasilyev opened this issue Dec 9, 2015 · 0 comments

Comments

@LeonidVasilyev
Copy link

Following exception occuring continiously:

System.IO.IOException occurred
HResult=-2146232800
Message=Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
Source=System
StackTrace:
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at Metrics.Graphite.PickleJar.WritePickleData(Stream stream) in c:\Work\Metrics.NET\Src\Metrics\Graphite\PickleJar.cs:line 48
InnerException: System.Net.Sockets.SocketException
HResult=-2147467259
Message=An established connection was aborted by the software in your host machine
Source=System
ErrorCode=10053
NativeErrorCode=10053
StackTrace:
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
InnerException:

At the same time I'm able to properly send metrics using python pickle graphite sender sample. Carbon listener log contains nothing more than:

09/12/2015 14:12:47 :: MetricPickleReceiver connection with 176.192.48.174:38654 established
09/12/2015 14:12:47 :: MetricPickleReceiver connection with 176.192.48.174:38654 closed cleanly

It looks like it has something to do with pickle protocol version difference used here and available in carbon which runs using python 2.7 in my case. Which version of protocol is implemented here?

@LeonidVasilyev LeonidVasilyev changed the title Unable to send metrics to Graphite using PickleGraphiteSender Unable to send metrics to Graphite using PickleGraphiteSender (SocketException, ErrorCode 10053) Dec 9, 2015
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

1 participant