cannot connect to Rabbit

361 views
Skip to first unread message

Moti Winshrik

unread,
Mar 1, 2021, 7:21:56 AM3/1/21
to rabbitmq-users
Im working with Rabbit for long time .
recently I start getting exceptions such as 
RabbitMQ.Client.Exceptions.BrokerUnreachableException: 'None of the specified endpoints were reachable'
but I did not do any changes with my communication with Rabbit
Im working on Win 10 
localhost 
no-docker

also shutdown firewall and added allow rules


Wesley Peng

unread,
Mar 1, 2021, 7:48:21 AM3/1/21
to rabbitm...@googlegroups.com
Please close all antivirus software and give another try.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/415141c2-e444-4992-a77f-865d01bb8cf3n%40googlegroups.com.

Moti Winshrik

unread,
Mar 1, 2021, 7:58:14 AM3/1/21
to rabbitmq-users
I uninstall my antivirus   
and yet does not connect

ב-יום שני, 1 במרץ 2021 בשעה 14:48:21 UTC+2, wes...@pengfamily.de כתב/ה:

Wesley Peng

unread,
Mar 1, 2021, 8:01:21 AM3/1/21
to rabbitm...@googlegroups.com
Have you tried to restart the OS? Which rabbitmq and Erlang version are you using?

Thanks 

Moti Winshrik

unread,
Mar 1, 2021, 8:08:16 AM3/1/21
to rabbitmq-users
of course , also uninstalled rabbit and re installed
it is really strange


ב-יום שני, 1 במרץ 2021 בשעה 15:01:21 UTC+2, wes...@pengfamily.de כתב/ה:

Wesley Peng

unread,
Mar 1, 2021, 8:10:49 AM3/1/21
to rabbitm...@googlegroups.com
You should provide us server error logs and version.
Thanks 

Moti Winshrik

unread,
Mar 1, 2021, 8:15:05 AM3/1/21
to rabbitmq-users
2021-03-01 15:13:51.491 [info] <0.5663.0> accepting AMQP connection <0.5663.0> ([::1]:51305 -> [::1]:5672)
2021-03-01 15:13:51.519 [warning] <0.5663.0> closing AMQP connection <0.5663.0> ([::1]:51305 -> [::1]:5672):
client unexpectedly closed TCP connection
2021-03-01 15:13:51.519 [info] <0.5666.0> Closing all channels from connection '[::1]:51305 -> [::1]:5672' because it has been closed

Rabbit 3.8.13


ב-יום שני, 1 במרץ 2021 בשעה 15:10:49 UTC+2, wes...@pengfamily.de כתב/ה:

Jason Ipock

unread,
Mar 1, 2021, 8:16:33 AM3/1/21
to rabbitm...@googlegroups.com
I'm assuming that everything related to RabbitMQ (Erlang environment, basic requirements, etc.), that you're running RabbitMQ locally and your local client is attempting to access the local RabbitMQ instance (I.E. No external network requirements). Also, that you've confirmed that RabbitMQ is indeed working by performing a rabbitmqctl command.

Have you performed a "netstat -A" command  and confirmed that nothing else is attempting to listen in on your RabbitMQ port?

Be sure to send your logs and server version out, so others can confirm the findings. 

I'm not an expert, but I use RabbitMQ on Windows devices a fair amount at a low volume rate. Perhaps I might see something.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Moti Winshrik

unread,
Mar 2, 2021, 12:45:39 AM3/2/21
to rabbitmq-users
It is even stranger than I described before
I open a second solution with almost same flow of code and it works with Rabbit with no problems
I dont understand why this specific solution make exceptions in the Rabbit 
 I'm starting to believe that the windows is blocking the specific apps

ב-יום שני, 1 במרץ 2021 בשעה 15:16:33 UTC+2, jason...@protonmail.com כתב/ה:

wes...@vodafone.de

unread,
Mar 2, 2021, 1:07:26 AM3/2/21
to Moti Winshrik, rabbitmq-users
It's hard to say if this is an OS issue.
Any system level of error such as file system, networking, can cause the connection failure.
All you need to do is checking every environment detail more carefully, and provide us the error logs.

Thanks.

Moti Winshrik

unread,
Mar 2, 2021, 1:11:07 AM3/2/21
to rabbitmq-users
in the log file I have 2 kind of errors :
2021-03-01 19:27:04.539 [warning] <0.472.0> epmd does not know us, re-registering rabbit at port 25672
2021-03-01 20:55:22.775 [error] <0.571.0> Could not find handle.exe, please install from sysinternals

ב-יום שלישי, 2 במרץ 2021 בשעה 08:07:26 UTC+2, wes...@vodafone.de כתב/ה:

Jason Ipock

unread,
Mar 2, 2021, 8:59:17 AM3/2/21
to rabbitm...@googlegroups.com
You might get more descriptive error messages if you install handle.exe from Microsoft / Sysinternals. Think of it as Process Explorer, just without the GUI. 




Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

Moti Winshrik

unread,
Mar 4, 2021, 2:36:55 AM3/4/21
to rabbitmq-users
Solved !!!!

as I told you before I have another project on my computer which works well.
I compared the nugets & references and found that there are differences between nugets versions.
 the project that is not able to connect was newer with newer versions of Rabbit and   system.threading.channels 
when I downgrade it to older versions , it started to work 

I dont know the problem , maybe it is the correlation  between the two nugets 

The versions that did not work 
RabbitMQ.Client 6.2.1
System.Threading.Channels  5.0.0

now Im working with 
Rabbit 6.0.0
Channels 4.5.0

I wonder if someone also get into this problem 



ב-יום שני, 1 במרץ 2021 בשעה 15:16:33 UTC+2, jason...@protonmail.com כתב/ה:
I'm assuming that everything related to RabbitMQ (Erlang environment, basic requirements, etc.), that you're running RabbitMQ locally and your local client is attempting to access the local RabbitMQ instance (I.E. No external network requirements). Also, that you've confirmed that RabbitMQ is indeed working by performing a rabbitmqctl command.
Reply all
Reply to author
Forward
0 new messages