[rabbitmq-discuss] Can't connect on Windows

Tim Sawyer list.rabbit at calidris.co.uk
Wed Aug 11 21:28:37 BST 2010


I have a Flex application with a Java backend.  The Java backend is 
putting messages onto a RabbitMQ exchange and the Flex client is picking 
them up using http://github.com/0x6e6562/as3-amqp.  This works as 
expected when the RabbitMQ server is running on Fedora.  When I run up 
RabbitMQ 1.7.2 locally on windows and try and run the entire application 
stack on windows, (AMQP Server = localhost) the app tells me it can’t 
connect.

I’m running 
http://github.com/dansimpson/amqp-js/tree/master/policy-server/ on both 
the fedora box and the windows box, and I can see they are both being 
queried at the correct time for the crossdomain file.  The cross domain 
file is the default from that repository, I haven’t changed it.

However, the error I’m getting is:

Error #2044: Unhandled connectionError:. text=Connection failed
                 at org.amqp::Connection()
                 at Dashboard/setupAmqpConnection()
                 at flash.events::EventDispatcher/dispatchEventFunction()
                 at flash.events::EventDispatcher/dispatchEvent()
                 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
                 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
                 at mx.rpc::Responder/result()
                 at mx.rpc::AsyncRequest/acknowledge()
                 at DirectHTTPMessageResponder/completeHandler()
                 at flash.events::EventDispatcher/dispatchEventFunction()
                 at flash.events::EventDispatcher/dispatchEvent()
                 at flash.net::URLLoader/onComplete()

followed by

Error #2044: Unhandled securityError:. text=Error #2048: Security 
sandbox violation: http://localhost:8224/Dashboard/Dashboard.swf cannot 
load data from auk:5672.
                 at org.amqp::Connection()
                 at Dashboard/setupAmqpConnection()
                 at flash.events::EventDispatcher/dispatchEventFunction()
                 at flash.events::EventDispatcher/dispatchEvent()
                 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
                 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
                 at mx.rpc::Responder/result()
                 at mx.rpc::AsyncRequest/acknowledge()
                 at DirectHTTPMessageResponder/completeHandler()
                 at flash.events::EventDispatcher/dispatchEventFunction()
                 at flash.events::EventDispatcher/dispatchEvent()
                 at flash.net::URLLoader/onComplete()

rabbitmqctl status on Fedora gives:

Status of node rabbit at nightjar ...
[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},
                         {mnesia,"MNESIA  CXC 138 12","4.4.7"},
                         {os_mon,"CPO  CXC 138 46","2.1.8"},
                         {sasl,"SASL  CXC 138 11","2.1.5.4"},
                         {stdlib,"ERTS  CXC 138 10","1.15.5"},
                         {kernel,"ERTS  CXC 138 10","2.12.5"}]},
  {nodes,[rabbit at nightjar]},
  {running_nodes,[rabbit at nightjar]}]
...done.

The same on windows gives:

Status of node rabbit at auk ...
[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},
                         {mnesia,"MNESIA  CXC 138 12","4.4.12"},
                         {os_mon,"CPO  CXC 138 46","2.2.4"},
                         {sasl,"SASL  CXC 138 11","2.1.8"},
                         {stdlib,"ERTS  CXC 138 10","1.16.4"},
                         {kernel,"ERTS  CXC 138 10","2.13.4"}]},
  {nodes,[rabbit at auk]},
  {running_nodes,[rabbit at auk]}]

Rabbit.log contains

=INFO REPORT==== 11-Aug-2010::15:55:13 ===
accepted TCP connection on 0.0.0.0:5672 from 192.168.128.144:52353

=INFO REPORT==== 11-Aug-2010::15:55:13 ===
starting TCP connection <0.19740.0> from 192.168.128.144:52353

=WARNING REPORT==== 11-Aug-2010::15:55:46 ===
exception on TCP connection <0.19740.0> from 192.168.128.144:52353
connection_closed_abruptly

=INFO REPORT==== 11-Aug-2010::15:55:46 ===
closing TCP connection <0.19740.0> from 192.168.128.144:52353

where that is my local ip address

Can someone give me an inkling of where to start looking for a solution?

Cheers,

Tim.




More information about the rabbitmq-discuss mailing list