[rabbitmq-discuss] Fwd: Problem when running second consumer

Tim Watson tim at rabbitmq.com
Thu May 16 12:12:05 BST 2013


Putting the list back on CC.

> 
> Right...
> 
> On 16 May 2013, at 11:42, Balachandar R.A. wrote:
> 
>> I did telnet to the host and port as below:-
>>  
>> telnet 40.221.94.235 5672
>> Trying 40.221.94.235...
>> Connected to 40.221.94.235.
>> 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 40.221.94.235?
> 
> 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. 
> 
> Thanks,
> Tim
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130516/742798a5/attachment.htm>


More information about the rabbitmq-discuss mailing list