[rabbitmq-discuss] Disconnect
Dave Gress
dgress at vmware.com
Mon Oct 31 20:53:33 GMT 2011
bash-3.2$ cat rabbit.txt
No. Time Source Destination Protocol Info
157 3.822646 172.31.254.6 172.16.34.11 TCP 54762 > amqp [SYN] Seq=0 Win=65535 Len=0 MSS=1204 WS=3 TSV=529697948 TSER=0 SACK_PERM=1
158 3.822702 172.16.34.11 172.31.254.6 TCP amqp > 54762 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSV=120630303 TSER=529697948 WS=5
159 3.913714 172.31.254.6 172.16.34.11 TCP 54762 > amqp [ACK] Seq=1 Ack=1 Win=524280 Len=0 TSV=529697949 TSER=120630303
162 3.928155 172.31.254.6 172.16.34.11 AMQP
163 3.928183 172.16.34.11 172.31.254.6 TCP amqp > 54762 [ACK] Seq=1 Ack=9 Win=14496 Len=0 TSV=120630314 TSER=529697949
164 3.928369 172.16.34.11 172.31.254.6 AMQP
169 4.019260 172.31.254.6 172.16.34.11 TCP 54762 > amqp [ACK] Seq=9 Ack=336 Win=524144 Len=0 TSV=529697950 TSER=120630314
176 4.057658 172.31.254.6 172.16.34.11 TCP 54762 > amqp [FIN, ACK] Seq=9 Ack=336 Win=524280 Len=0 TSV=529697950 TSER=120630314 <---- Immediate FIN from send app ??
177 4.057744 172.16.34.11 172.31.254.6 TCP amqp > 54762 [FIN, ACK] Seq=336 Ack=10 Win=14496 Len=0 TSV=120630327 TSER=529697950
182 4.148849 172.31.254.6 172.16.34.11 TCP 54762 > amqp [ACK] Seq=10 Ack=337 Win=524280 Len=0 TSV=529697951 TSER=120630327
From: David Gress <dgress at vmware.com<mailto:dgress at vmware.com>>
Date: Mon, 31 Oct 2011 13:41:18 -0700
To: "rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>" <rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>>
Subject: [rabbitmq-discuss] Disconnect
I have a server set up
Activating RabbitMQ plugins ...
6 plugins activated:
* amqp_client-2.6.1
* mochiweb-1.3-rmq2.6.1-git9a53dbd
* rabbitmq_management-2.6.1
* rabbitmq_management_agent-2.6.1
* rabbitmq_mochiweb-2.6.1
* webmachine-1.7.0-rmq2.6.1-hg0c4b60a
A simple java reciever on a channel
on Oct 31 11:57:41 EDT 2011 Info: Connect start Host[xxx.xxx.xxx.xxx] timeout [5000]
[*] Waiting for messages. To exit press CTRL+C
When I try to send a message, I get a "fast" disconnect "FIN" from my send java app.
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.Channel;
//Set up the class and name the queue:
public class Send {
private final static String QUEUE_NAME = "hello";
public static void main(String[] argv)
throws java.io.IOException {
ConnectionFactory factory = new ConnectionFactory();
factory.setHost("xxx.xxx.xxx.xxx");
Connection connection = factory.newConnection();
Channel channel = connection.createChannel();
No firewall exists
More information about the rabbitmq-discuss
mailing list