majek / puka

Puka - the opinionated RabbitMQ client
https://github.com/majek/puka
Other
182 stars 34 forks source link

Client.connect() silently stuck when connecting to port 15672 (default rabbitmq-server config) #52

Closed unthingable closed 10 years ago

unthingable commented 10 years ago

No error messages, just silent inaction:

client.connect(callback=on_connect)

Callback does not get called. Waiting on the promise will block.

majek commented 10 years ago

Sounds like either bad code on your side or network issue.

majek commented 10 years ago

Why would you ever connect to 15672 ?

unthingable commented 10 years ago

Good question — I should have provided more context, sorry. I just converted my library from pika to puka and I have a user who had port 15672 in their settings (and apparently with pika that port was working for them). We had to go through a bit of trial and error to find the problem. An explicit failure/exception would have helped greatly.