java.net.SocketException- Connection reset by peer : socket write error

61 views
Skip to first unread message

Rinki Bhandari

unread,
Apr 2, 2021, 12:40:31 AM4/2/21
to rabbitmq-discuss
Hi,

We are facing issue regarding java.net.SocketException every time On starting Esper.
Environment used : 
- RabbitMQ server - 3.8.14
- Erlang - Erlang 23.1
- Java - jdk1.8.0_271
- RabbitMQ Java Client 5.11.0

Also we are using DefaultConsumer to consume mesages from the channel. Here are the lines used -
DefaultConsumer consumer = new DefaultConsumer (channel)
{
     @Override 
 public void handleDelivery(String consumerTag, Envelope envelope,           AMQP.BasicProperties properties, byte[] body) throws IOException
String message = new String(body,"UTF-8");
String rountingKey = envelope.getRoutingKey();
callBack.amqpDataReceived(message,routingKey);
}
channel.basicConsume(queue,true,consumer);
callBack.amqpReceiverStared();

Below is the screenshot attached of error. Earliest help would be appreciated.
SocketError.jpg

stuartjoh...@gmail.com

unread,
May 6, 2021, 10:14:38 AM5/6/21
to rabbitmq-discuss
Have you tested connection using wget or telnet to make sure that there are no firewalls within the way ?

Also can yo supply server logfiles ?

Reply all
Reply to author
Forward
0 new messages