Getting "JGRP000006: failed accepting connection from peer" in JBoss EAP 7 and JDG 7

Solution Verified - Updated -

Issue

Getting the following "JGRP000006: failed accepting connection from peer: ..." logging in server.log of EAP 6.x and JDG 6.x. What causes this?

WARN  [org.jgroups.protocols.TCP] (ConnectionMap.Acceptor [127.0.0.1:7600]) JGRP000006: failed accepting connection from peer: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_79]
    at java.net.SocketInputStream.read(SocketInputStream.java:152) [rt.jar:1.7.0_79]
    at java.net.SocketInputStream.read(SocketInputStream.java:122) [rt.jar:1.7.0_79]
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) [rt.jar:1.7.0_79]
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) [rt.jar:1.7.0_79]
    at java.io.BufferedInputStream.read(BufferedInputStream.java:334) [rt.jar:1.7.0_79]
    at java.io.DataInputStream.readFully(DataInputStream.java:195) [rt.jar:1.7.0_79]
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.readPeerAddress(TCPConnectionMap.java:510) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.<init>(TCPConnectionMap.java:380) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.handleAccept(TCPConnectionMap.java:302) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.run(TCPConnectionMap.java:286) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
WARN  [org.jgroups.protocols.TCP] (ConnectionMap.Acceptor [127.0.0.1:7600]) JGRP000006: failed accepting connection from peer: java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:197) [rt.jar:1.7.0_79]
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.readPeerAddress(TCPConnectionMap.java:510) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.<init>(TCPConnectionMap.java:380) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.handleAccept(TCPConnectionMap.java:302) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.run(TCPConnectionMap.java:286) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
WARN  [org.jgroups.protocols.TCP] (ConnectionMap.Acceptor [127.0.0.1:7600]) JGRP000006: failed accepting connection from peer: java.net.SocketException: ConnectionMap.Connection.readPeerAddress(): cookie read by 127.0.0.1:7600 does not match own cookie; terminating connection
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.readPeerAddress(TCPConnectionMap.java:512) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$TCPConnection.<init>(TCPConnectionMap.java:380) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.handleAccept(TCPConnectionMap.java:302) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at org.jgroups.blocks.TCPConnectionMap$Acceptor.run(TCPConnectionMap.java:286) [jgroups-3.6.2.Final-redhat-2.jar:3.6.2.Final-redhat-2]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)

    • 7.x
    • 6.x
  • Red Hat JBoss Data Grid (RHDG)

    • 7.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content