cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durity, Sean R" <>
Subject RE: Connection reset by peer
Date Wed, 12 Feb 2020 12:47:52 GMT
This looks like an error between your client and the cluster. Is the other ip address your
client app? I have typically seen this when there are network issues between the client and
the cluster. Cassandra driver connections are typically very long-lived. If something like
a switch or firewall times out the connection you can get errors like this. Tcp_keepalive
settings on the cluster nodes can help. See here:

Sean Durity

From: Hanauer, Arnulf, Vodacom South Africa (External) <>
Sent: Wednesday, February 12, 2020 7:06 AM
Subject: [EXTERNAL] Connection reset by peer

Hi Cassandra folks,

We are getting a lot of these errors and transactions are timing out and I was wondering if
this can be caused by Cassandra itself or if this is a Linux network issue only. The client
job reports Cassandra node down after this occurs but I suspect this is due to the connection
failure - need some clarification as where to go look for a solution.

INFO  [epollEventLoopGroup-2-10] 2020-02-12 11:53:42,748 - Unexpected exception
during request; channel = [id: 0x8a3e6831, L:/ - R:/]$NativeIoException: syscall:read(...)() failed: Connection reset
by peer
        at Source) ~[netty-all-4.0.44.Final.jar:4.0.44.Final]

INFO  [epollEventLoopGroup-2-15] 2020-02-12 11:42:46,871 - Unexpected exception
during request; channel = [id: 0xa071f1c8, L:/ - R:/]$NativeIoException: syscall:read(...)() failed: Connection reset
by peer
        at Source) ~[netty-all-4.0.44.Final.jar:4.0.44.Final]

Source and Destination IP addresses are in the same DC (LAN).

I did recycle all the Cassandra services on all the nodes in both clusters but the problem

The only change made recently was the adding of replicas in the second DC for the keyspace
that is being written to when these messages occur (not had a chance to run a full repair
yet to sync the replicas)

Cassandra 3.11.2
5 Node cluster each in 2 DC's

Kind regards
Arnulf Hanauer

"This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this
link []<;!!M-nmYVHPHQ!fVcY8oIO1oRdq3f79QXI1g-XssPB9tvLvjLf8l3p0o1WaBHZg1nIuy3IcCACPCM8zXt4Kng$>


The information in this Internet Email is confidential and may be legally privileged. It is
intended solely for the addressee. Access to this Email by anyone else is unauthorized. If
you are not the intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed
to our clients any opinions or advice contained in this Email are subject to the terms and
conditions expressed in any applicable governing The Home Depot terms of business or client
engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy
and content of this attachment and for any damages or losses arising from any inaccuracies,
errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature,
which may be contained in this attachment and shall not be liable for direct, indirect, consequential
or special damages in connection with this e-mail message or its attachment.

View raw message