Getting JGroup cluster reset issues :

52 views
Skip to first unread message

Rajesh Chaurasia

unread,
Jul 6, 2023, 11:40:32 PM7/6/23
to jgroups-raft
Hi All

I wanted to take help from you all .we are facing cluster connection reset issue in one of our environment and it causes site to become unresponsive. Request you to suggest a fix of any action we can take :
The JGroup version we are using is 4.1.7.Final

2023-07-07 01:24:57.108 ERROR [Connection.Receiver ***********][TCP:104] JGRP000030: : failed handling incoming message
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at org.jgroups.Message.readFrom(Message.java:717)
at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1367)
at org.jgroups.protocols.TP.receive(TP.java:1344)
at org.jgroups.blocks.cs.BaseServer.receive(BaseServer.java:171)
at org.jgroups.blocks.cs.TcpConnection$Receiver.run(TcpConnection.java:300)
at java.lang.Thread.run(Thread.java:750)

java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at org.jgroups.Message.readFrom(Message.java:717)
at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1367)
at org.jgroups.protocols.TP.receive(TP.java:1344)
at org.jgroups.blocks.cs.BaseServer.receive(BaseServer.java:171)
at org.jgroups.blocks.cs.TcpConnection$Receiver.run(TcpConnection.java:300)
at java.lang.Thread.run(Thread.java:750)

Bela Ban

unread,
Jul 7, 2023, 2:08:08 AM7/7/23
to jgroup...@googlegroups.com
The stack trace doesn't tell me much: it just shows that a peer closed
the connection. This happens for example when you ctl-c a member.

Is this reproducible?
> --
> You received this message because you are subscribed to the Google
> Groups "jgroups-raft" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jgroups-raft...@googlegroups.com
> <mailto:jgroups-raft...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jgroups-raft/8f422065-5436-4b1d-a596-768337f9884cn%40googlegroups.com <https://groups.google.com/d/msgid/jgroups-raft/8f422065-5436-4b1d-a596-768337f9884cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Bela Ban | http://www.jgroups.org

Rajesh Chaurasia

unread,
Jul 7, 2023, 2:14:50 AM7/7/23
to jgroups-raft
Hi ,
What you mean by ctl-c ? Also this happens during the usage of the site but we are not sure what could be causing it.We are using TCPPING in this case .

Reply all
Reply to author
Forward
0 new messages