Connection reset by peer warning without useful info.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Connection reset by peer warning without useful info.

bansalp
Hi,

I am using ActiveMQ 5.11.1 and getting this error quite often (more as compared to ActiveMQ 5.10.0).

[20150630 06:11:24.247 EDT (ActiveMQ NIO Worker 181214) org.apache.activemq.broker.TransportConnection#serviceTransportException 245 WARN] - Transport Connection to: tcp://10.79.27.110:16327 failed: java.io.IOException: Connection reset by peer

Is there a way to add other information in this error log, like client id, connection id, destination name. This can help in identifying which client connection had some problem.

--bansalp
Reply | Threaded
Open this post in threaded view
|

Re: Connection reset by peer warning without useful info.

christopher.l.shannon
The serviceTransportException method only logs what you see.  A code change
would be needed to add extra information to the log like connection id.

On Tue, Jun 30, 2015 at 6:17 AM, bansalp <[hidden email]> wrote:

> Hi,
>
> I am using ActiveMQ 5.11.1 and getting this error quite often (more as
> compared to ActiveMQ 5.10.0).
>
> *[20150630 06:11:24.247 EDT (ActiveMQ NIO Worker 181214)
> org.apache.activemq.broker.TransportConnection#serviceTransportException
> 245
> WARN] - Transport Connection to: tcp://10.79.27.110:16327 failed:
> java.io.IOException: Connection reset by peer*
>
> Is there a way to add other information in this error log, like client id,
> connection id, destination name. This can help in identifying which client
> connection had some problem.
>
> --bansalp
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Connection-reset-by-peer-warning-without-useful-info-tp4698395.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>