[rabbitmq-discuss] Connection problems with Rabbitmq 1.4.0

Matthias Radestock matthias at lshift.net
Thu Nov 27 11:49:43 GMT 2008


Maarten,

Maarten Engelen wrote:
> I do a rabbitmqctl stop_app, followed by a reset and start_app command.

ok. That's fine.

>> What does "rabbitmqctl status" return?
> 
> It returns the following:
> 
> Starting...Status of node rabbit at Workstation ...
> [{running_applications,[{rabbit,"RabbitMQ","1.4.0"},
>                         {mnesia,"MNESIA  CXC 138 12","4.4.5"},
>                         {os_mon,"CPO  CXC 138 46","2.1.7"},
>                         {sasl,"SASL  CXC 138 11","2.1.5.3"},
>                         {stdlib,"ERTS  CXC 138 10","1.15.4"},
>                         {kernel,"ERTS  CXC 138 10","2.12.4"}]},
>  {nodes,[rabbit at Workstation]},
>  {running_nodes,[rabbit at Workstation]}]

That all looks fine.

> Also connecting directly to port 5672 allows me to connect.
> 
> I just saw the following error in the logs which I didn't notive
> before when running TestMain:
> [...]
> =ERROR REPORT==== 27-Nov-2008::12:11:55 ===
> error on TCP connection <0.1837.0> from 127.0.0.1:63516
> {bad_version,0,1}

That is normal. TestMain runs various tests, including some that are 
designed to provoke error cases, such as protocol version mismatches.

> When running ProducerMain or ConsumerMain I get the same Java error,

That's strange. The fact that you can connect to the port means rabbit 
is listening. Furthermore, the log messages show that TestMain was able 
to connect, but only once.

Please run the test through the tracer, i.e. start the tracer with
   sh runjava.sh com.rabbitmq.tools.Tracer
and then run TestMain with
   sh runjava.sh com.rabbitmq.examples.TestMain localhost 5673
and send me the output from the tracer.


Regards,

Matthias.
PS: please keep the list cc'ed.




More information about the rabbitmq-discuss mailing list