I am not a RabbitMQ expert, but it seems to me that this message is te key to your problems:<br><br>
endpoint=amqp-0-9://alpeduez<div id="1frn" class="ArwC7c ckChnd">:5672, attempts=1, outcome=<b>AMQP server protocol negotiation failure: server version 0-8</b>, transport parameters -1:-1</div><br>RabbitMQ Server currently supports AMQP protocol version 0.8, and it seems as if the clients are connecting with a 0.9 protocol. I think if you ensure that all clients are talking 0.8 things will work better. I think :)<br>
<br>Hope this helps<br>Edwin Fine<br><br><div class="gmail_quote">On Tue, May 13, 2008 at 12:59 PM, <<a href="mailto:David.Corcoran@edftrading.com">David.Corcoran@edftrading.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey Geoffrey,<br>
<br>
If you try:<br>
DeclareQueue.exe localhost testqueue<br>
do you have any more luck?<br>
<br>
Although RabbitMQ is listening to <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> there may be some hostname<br>
resolution issues happening.<br>
<br>
Dave<br>
<br>
<br>
<br>
<br>
Geoffrey Anderson<br>
<<a href="mailto:mrcoder@yahoo.co">mrcoder@yahoo.co</a><br>
m> To<br>
Sent by: <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
rabbitmq-discuss- cc<br>
bounces@lists.rab<br>
<a href="http://bitmq.com" target="_blank">bitmq.com</a> Subject<br>
[rabbitmq-discuss] no connection<br>
established<br>
13/05/2008 17:53<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
The rabbitmq server runs, it seems, but no connections are being accepted<br>
by it,<br>
from the java samples or dotnet sample programs or my own programs.<br>
<br>
For three days I have been trying everything imaginable to me to get any<br>
client<br>
program to connect to the rabbitmq server. For example I disabled tcpv6 on<br>
my<br>
system and tried all manner of user permissions in the rabbitmq server for<br>
'guest'<br>
and my custom account 'ga' which I gave all same permissions as 'guest'.<br>
<br>
The web site asks users to send a note to <a href="mailto:legitimateconcern@rabbitmq.com">legitimateconcern@rabbitmq.com</a> if<br>
it takes<br>
more than 2 minutes to connect. Si I have sent a detailed note. There has<br>
been no<br>
response to it.<br>
<br>
The web site says Please join our mailing list or send questions to<br>
<a href="mailto:info@rabbitmq.com">info@rabbitmq.com</a>. We'd love to hear from you. I've subscribed and sent a<br>
detailed<br>
message to the mailing list. My email did not appear in the mailing list,<br>
and no<br>
responses came back.<br>
<br>
Nothing is working thus far, the mailing list, the feedback email, the<br>
rabbitmq<br>
connections. This is my last attempt for anything to happen after which<br>
rabbitmq<br>
must be abandoned for lack of anything working. More than three days of<br>
time is too<br>
much to spend into something and get nothing from it.<br>
<br>
To be clear, this message is solely intended as a reflection on my own<br>
inabilities<br>
and oversights, and nothing I am aware of is wrong with <a href="http://rabbitmq.com" target="_blank">rabbitmq.com</a>, the<br>
rabbitmq<br>
server, the documentation, the sample code, the mailing list, all of which<br>
is<br>
graciously offered at no cost, and works for others on the mailing list. I<br>
do not<br>
mean to upset anyone.<br>
<br>
My only intent is to ask for a nice person to volunteer their valuable time<br>
to share<br>
information with me that helps the rabbitmq server accept a connection<br>
from any<br>
client program. Java is OK, dotnet is OK, either one as you like, I'll work<br>
with<br>
you. I am a C# 2.0 programmer FWIW. Windows XP-SP2 is the operating<br>
system.<br>
<br>
<br>
Details to demonstrate the RabbitMQ inability to accept a connection. Maybe<br>
this<br>
info contains some clue to someone smarter than me, I don't know.<br>
<br>
<br>
1. Server is launched:<br>
<br>
C:\>"C:\rabbitmq\erl5.5.5\lib\rabbitmq_server-1.3.0<br>
\sbin\rabbitmq-server.bat"<br>
RabbitMQ 1.3.0 (AMQP 8-0)<br>
Copyright (C) 2007-2008 LShift Ltd., Cohesive Financial Technologies LLC.,<br>
and<br>
Rabbit Technologies Ltd.<br>
Licensed under the MPL. See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a><br>
<br>
Logging to "C:/Documents and Settings/ga/rabbitmq//log/rabbit.log"<br>
SASL logging to "C:/Documents and<br>
Settings/ga/rabbitmq//log/rabbit-sasl.log"<br>
<br>
starting database ...done<br>
starting core processes ...done<br>
starting recovery ...done<br>
starting persister ...done<br>
starting builtin applications ...done<br>
starting TCP listeners ...done<br>
<br>
broker running<br>
<br>
<br>
<br>
2. Java sample program "Tracer" is launched:<br>
<br>
C:\rabbitmq\librabbitmq-java-1.3.0>runjava.bat com.rabbitmq.tools.Tracer<br>
Usage: Tracer [<listenport> [<connecthost> [<connectport>]]]<br>
Invoked as: Tracer 5673 localhost 5672<br>
com.rabbitmq.tools.Tracer.WITHHOLD_INBOUND_HEARTBEATS = false<br>
com.rabbitmq.tools.Tracer.WITHHOLD_OUTBOUND_HEARTBEATS = false<br>
com.rabbitmq.tools.Tracer.NO_ASSEMBLE_FRAMES = false<br>
com.rabbitmq.tools.Tracer.NO_DECODE_FRAMES = false<br>
<br>
<br>
<br>
3. Dotnet sample program is launched:<br>
<br>
C:\rabbitmq\rabbitmq-dotnet-1.2.8025.1832-net-2.0\bin>DeclareQueue.exe<br>
alpeduez<br>
testqueue<br>
None of the specified endpoints were reachable<br>
Endpoints attempted:<br>
endpoint=amqp-0-9://alpeduez:5672, attempts=1, outcome=AMQP server<br>
protocol<br>
negotiation failure: server version 0-8, t<br>
ransport parameters -1:-1<br>
Stack trace:<br>
at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32<br>
maxRedirects,<br>
AmqpTcpEndpoint[] endpoints)<br>
at RabbitMQ.Client.ConnectionFactory.CreateConnection(AmqpTcpEndpoint[]<br>
endpoints)<br>
at RabbitMQ.Client.ConnectionFactory.CreateConnection(String address)<br>
at RabbitMQ.Client.Examples.DeclareQueue.Main(String[] args)<br>
<br>
<br>
<br>
<br>
4. Go look again to see if Tracer saw any traffic:<br>
<br>
C:\rabbitmq\librabbitmq-java-1.3.0>runjava.bat com.rabbitmq.tools.Tracer<br>
Usage: Tracer [<listenport> [<connecthost> [<connectport>]]]<br>
Invoked as: Tracer 5673 localhost 5672<br>
com.rabbitmq.tools.Tracer.WITHHOLD_INBOUND_HEARTBEATS = false<br>
com.rabbitmq.tools.Tracer.WITHHOLD_OUTBOUND_HEARTBEATS = false<br>
com.rabbitmq.tools.Tracer.NO_ASSEMBLE_FRAMES = false<br>
com.rabbitmq.tools.Tracer.NO_DECODE_FRAMES = false<br>
<br>
<br>
It seems no traffic was detected during the dotnet sample program<br>
execution.<br>
<br>
<br>
5. Do a netstat command to see if it looks like a server is really<br>
listening.<br>
<br>
C:\rabbitmq\rabbitmq-dotnet-1.2.8025.1832-net-2.0\bin>netstat<br>
<br>
Active Connections<br>
<br>
Proto Local Address Foreign Address State<br>
TCP alpeduez:1800 localhost:4369 ESTABLISHED<br>
TCP alpeduez:4369 localhost:1800 ESTABLISHED<br>
TCP alpeduez:1802 alpeduez:5672 TIME_WAIT<br>
<br>
C:\rabbitmq\rabbitmq-dotnet-1.2.8025.1832-net-2.0\bin><br>
<br>
<br>
Yes there is something on alpeduez:5672 which is in a TIME_WAIT. Maybe<br>
that's OK,<br>
maybe not. I don't know what a normally working system netstat looks like.<br>
Do you<br>
know what a netstat returns on a working rabbitmq system installation?<br>
<br>
<br>
6. I run my own C# software and attempt connection to rabbitmq.<br>
<br>
No connections are working and the error message talks about endpoints or<br>
protocols.<br>
Sorry I dont remember exactly, my bad. The CreateConnection method on the<br>
factory<br>
is throwing the exception consistently on all input values. I was using<br>
Protocol.GetFromEnviroment and passing in my host name 'alpeduez' to the<br>
CreateConnection method.<br>
<br>
<br>
<br>
7. This is the whole contents of rabbit.log<br>
<br>
<br>
=INFO REPORT==== 13-May-2008::12:32:09 ===<br>
disk_log: repairing "c:/Documents and<br>
Settings/ga/rabbitmq/db/rabbit-mnesia/rabbit_persister.LOG" ...<br>
<br>
=INFO REPORT==== 13-May-2008::12:32:09 ===<br>
Repaired persister log - 1 recovered, 0 bad<br>
<br>
=INFO REPORT==== 13-May-2008::12:32:09 ===<br>
Rolling persister log to "c:/Documents and<br>
Settings/ga/rabbitmq/db/rabbit-mnesia/rabbit_persister.LOG.previous"<br>
<br>
=INFO REPORT==== 13-May-2008::12:32:09 ===<br>
started TCP listener on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a><br>
<br>
=INFO REPORT==== 13-May-2008::12:39:39 ===<br>
accepted TCP connection on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> from <a href="http://192.168.1.100:1802" target="_blank">192.168.1.100:1802</a><br>
<br>
=ERROR REPORT==== 13-May-2008::12:39:39 ===<br>
error on TCP connection from <a href="http://192.168.1.100:1802" target="_blank">192.168.1.100:1802</a><br>
connection_closed_abruptly<br>
<br>
=INFO REPORT==== 13-May-2008::12:39:39 ===<br>
closing TCP connection from <a href="http://192.168.1.100:1802" target="_blank">192.168.1.100:1802</a><br>
<br>
<br>
<br>
Thank you for any clues or attempts to help me get a connection to<br>
RabbitMQ.<br>
<br>
<br>
Regards,<br>
<br>
Geoffrey<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
<br>
<br>
</div></div>*********************************************************************<br>
This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you.<br>
EDF Trading Limited<br>
80 Victoria Street, 3rd Floor, Cardinal Place, London, SW1E 5JL<br>
A Company registered in England No. 4255974.<br>
Switchboard: 020 7061 4000<br>
EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority.<br>
VAT number: GB 735 5479 07<br>
*********************************************************************<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
</div></div></blockquote></div><br>