[rabbitmq-discuss] Fwd: Problem when running second consumer
tim at rabbitmq.com
Thu May 16 12:12:05 BST 2013
Putting the list back on CC.
> On 16 May 2013, at 11:42, Balachandar R.A. wrote:
>> I did telnet to the host and port as below:-
>> telnet 220.127.116.11 5672
>> Trying 18.104.22.168...
>> Connected to 22.214.171.124.
>> Escape character is '^]'.
>> Connection closed by foreign host.
> So the network connectivity between your virtual machines seems ok.
>> I can do ping all nodes between each other.
> The ability to send ICMP packets between machines doesn't confirm that all other kinds of communication will work, though it's useful to know. The fact that you can telnet to the broker means that you ought to be able to connect from a regular AMQP client.
>> I did not create any configuration file for rabbit mq.
>> The head node and compute node has only the client jars. (obtained from rabbitmq-java-client-bin-2.3.1)
> Erm, where is the broker running exactly? On this HEAD node yes? Is *that* the machine with the IP address 126.96.36.199?
> I note that in your producer code, you do not set the username or password, whereas in your consumer code you do. You should not need to set these explicitly, since "guest:guest" is the default.
> Please consider running a network capture tool (such as wireshark) to confirm that AMQP frames are in fact being sent from the consumer's machine to the broker's machine correctly. If there is nothing in the rabbit.log or rabbit-sasl.log files, then the connection attempt *cannot* be getting through. If there *is* a connection being logged, then I need to know about it, even if there's nothing further in the logs about authentication failures or whatever.
> Please confirm that you're not running any other AMQP brokers (e.g., OpenAMQ, etc) on any of your infrastructure, which the client might be erroneously connecting to. Please confirm that RabbitMQ is indeed running on the default port of 5672 - that seems to be the case, but I just want to make sure.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss