[rabbitmq-discuss] ConnectFailureException on CreateConnection()

akmartin akmartin at gmail.com
Thu Aug 15 18:26:24 BST 2013


The following exception is thrown when I try to connect to RabbitMq. My retry
logic forces another attempt and the second time through it succeeds. Every
invocation is configured with the same hostname and resolve to the same
endpoint.

I am running 3.1.3. Waiting on updated nuget packages to upgrade servers.

-----

A first chance exception of type
'RabbitMQ.Client.Exceptions.ConnectFailureException' occurred in
RabbitMQ.Client.dll

-----

RabbitMQ.Client.Exceptions.ConnectFailureException occurred
  HResult=-2146233087
  Message=Connection failed
  Source=RabbitMQ.Client
  StackTrace:
       at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.Connect(TcpClient
socket, AmqpTcpEndpoint endpoint, Int32 timeout)
  InnerException: System.ArgumentException
       HResult=-2147024809
       Message=None of the discovered or specified addresses match the
socket address family.
Parameter name: context
       Source=System
       ParamName=context
       StackTrace:
            at System.Net.Sockets.Socket.EndConnect(IAsyncResult
asyncResult)
            at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult
asyncResult)
            at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.Connect(TcpClient
socket, AmqpTcpEndpoint endpoint, Int32 timeout)
       InnerException: 

-----

=INFO REPORT==== 15-Aug-2013::13:13:56 ===
Starting RabbitMQ 3.1.3 on Erlang R16B01
Copyright (C) 2007-2013 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 15-Aug-2013::13:13:56 ===
node           : rabbit at BOSRISTSTFAB201
home dir       : C:\Windows
config file(s) : (none)
cookie hash    : 4iMy9kPPnz2+kU/rcQz9Rw==
log            :
C:/Users/admin-amartin/AppData/Roaming/RabbitMQ/log/rabbit at BOSRISTSTFAB201.log
sasl log       :
C:/Users/admin-amartin/AppData/Roaming/RabbitMQ/log/rabbit at BOSRISTSTFAB201-sasl.log
database dir   :
c:/Users/admin-amartin/AppData/Roaming/RabbitMQ/db/rabbit at BOSRISTSTFAB201-mnesia

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
Limiting to approx 8092 file handles (7280 sockets)

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
Memory limit set to 3276MB of 8191MB total.

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
Disk free limit set to 1000MB

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
started TCP Listener on 0.0.0.0:5672

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
rabbit on node rabbit at BOSRISTSTFAB202 up

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
rabbit on node rabbit at MARRISTSTFAB202 up

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
rabbit on node rabbit at MARRISTSTFAB201 up

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
Management plugin started. Port: 15672

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
accepting AMQP connection <0.331.0> (10.20.40.96:53725 -> 10.20.40.90:5672)

=INFO REPORT==== 15-Aug-2013::13:13:58 ===
closing AMQP connection <0.331.0> (10.20.40.96:53725 -> 10.20.40.90:5672)



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/ConnectFailureException-on-CreateConnection-tp28850.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list