Can someone help me please with event machine?

M

Marc Lee

I'm getting an error with event machine, being unable to connect to the
server.. I'm using the AMQP gem.

tcp_connect: inp=0xba201f8 err=EADDRINUSE


/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:811:in
`connect_server': no connection (RuntimeError)
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:811:in
`reconnect'
from
/Users/maleko/workspace/geo/vendor/gems/gems/amqp-0.6.0/lib/amqp/client.rb:172:in
`reconnect'
from
/Users/maleko/workspace/geo/vendor/gems/gems/amqp-0.6.0/lib/amqp/client.rb:85:in
`call'
from
/Users/maleko/workspace/geo/vendor/gems/gems/amqp-0.6.0/lib/amqp/client.rb:85:in
`unbind'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:995:in
`call'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:995:in
`run_deferred_callbacks'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:995:in
`times'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:995:in
`run_deferred_callbacks'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
`run_machine'
from
/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/eventmachine.rb:242:in
`run'
from
/Users/maleko/workspace/geo/vendor/gems/gems/amqp-0.6.0/lib/amqp.rb:81:in
`start'


Thanks... It's stumped me and my mates on this one.

Cheers
 
G

Glen Holcomb

I'm getting an error with event machine, being unable to connect to the
server.. I'm using the AMQP gem.

tcp_connect: inp=3D0xba201f8 err=3DEADDRINUSE



/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/even= tmachine.rb:811:in
`connect_server': no connection (RuntimeError)
from

/Users/maleko/workspace/geo/vendor/gems/gems/eventmachine-0.12.8/lib/even= tmachine.rb:811:in
tmachine.rb:242:in
`run'
from
/Users/maleko/workspace/geo/vendor/gems/gems/amqp-0.6.0/lib/amqp.rb:81:in
`start'


Thanks... It's stumped me and my mates on this one.

Cheers
Off the top of my head I would say the EADDRINUSE is saying it couldn't bin=
d
to the socket. Is your application running with the proper permissions? I=
s
there anything else running that is bound to that port already?

--=20
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can=92t hear a word you=92re saying."

-Greg Graffin (Bad Religion)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top