Hangs when calling CreateConnection

354 views
Skip to first unread message

ctu...@lifevantage.com

unread,
May 17, 2017, 6:33:34 PM5/17/17
to rabbitmq-users
I'm using the C# client version 4.0.3 and anytime I call CreateConnection it never returns from the call.

var factory = new ConnectionFactory() { HostName = host, VirtualHost = virtualHost, Port = port, UserName = username, Password = password };
var connection = factory.CreateConnection();

I've tried versions 4.0.1. to 5.xx (pre) all with the same results. 

I'm connecting to a 3rd party so I'm not able to see any server side logs. Are there any client side logs that can be generated to see what is going on? Can I download the 4x client code anywhere to step through and see where it's hanging?

Michael Klishin

unread,
May 17, 2017, 8:08:58 PM5/17/17
to rabbitm...@googlegroups.com
You can take a traffic capture:

and download code from that thing called GitHub:

but before you do any of that, please ask the 3rd party to
share the logs.

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Karl Nilsson

unread,
May 19, 2017, 4:42:12 AM5/19/17
to rabbitm...@googlegroups.com
In this situation I tend to first try to telnet the host and port just to make sure it is accessible and connections can be established.

telnet <host> <port>

Cheers
Karl

On 18 May 2017 at 01:08, Michael Klishin <mkli...@pivotal.io> wrote:
You can take a traffic capture:

and download code from that thing called GitHub:

but before you do any of that, please ask the 3rd party to
share the logs.
On Wed, May 17, 2017 at 11:33 PM, <ctu...@lifevantage.com> wrote:
I'm using the C# client version 4.0.3 and anytime I call CreateConnection it never returns from the call.

var factory = new ConnectionFactory() { HostName = host, VirtualHost = virtualHost, Port = port, UserName = username, Password = password };
var connection = factory.CreateConnection();

I've tried versions 4.0.1. to 5.xx (pre) all with the same results. 

I'm connecting to a 3rd party so I'm not able to see any server side logs. Are there any client side logs that can be generated to see what is going on? Can I download the 4x client code anywhere to step through and see where it's hanging?

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Karl Nilsson

Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages