[rabbitmq-discuss] None of the specified endpoints were reachable

KL kayode81until at gmail.com
Tue Sep 11 14:52:59 BST 2012


I tried it, it looks like the Socket.OSSupportsIPv6 returns true, so it
attempts to create an IPv6 socket and that is what throws an exception.
 Any thoughts on what I can do at this point?
Thanks

On Mon, Sep 10, 2012 at 7:02 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:

> On 10/09/12 21:29, kayslay wrote:
>
>> When I do that I get the following exception:
>>
>> None of the specified endpoints were reachable
>> Endpoints attempted:
>> ------------------------------**------------------
>> endpoint=amqp-0-9://localhost:**5672, attempts=1
>> System.Net.Sockets.**SocketException (0x80004005): An invalid argument
>> was
>> supplie
>> d
>>     at System.Net.Sockets.Socket..**ctor(AddressFamily addressFamily,
>> SocketType so
>> cketType, ProtocolType protocolType)
>>     at System.Net.Sockets.TcpClient.**initialize()
>>     at System.Net.Sockets.TcpClient..**ctor(AddressFamily family)
>>     at RabbitMQ.Client.Impl.**SocketFrameHandler_0_9..ctor(**
>> AmqpTcpEndpoint
>> endpoint
>> )
>>     at
>> RabbitMQ.Client.Framing.Impl.**v0_9_1.ProtocolBase.**
>> CreateFrameHandler(AmqpTc
>> pEndpoint endpoint)
>>     at RabbitMQ.Client.**ConnectionFactory.**FollowRedirectChain(Int32
>> maxRedirects,
>> IDictionary connectionAttempts, IDictionary connectionErrors,
>> AmqpTcpEndpoint[]&
>>   mostRecentKnownHosts, AmqpTcpEndpoint endpoint)
>> ==============================**==================
>> Stack trace:
>>     at RabbitMQ.Client.**ConnectionFactory.**CreateConnection(Int32
>> maxRedirects)
>>     at RabbitMQ.Client.**ConnectionFactory.**CreateConnection()
>>     at ServerConsole.AddServer.Main(**String[] args)
>>
>
> Looks like it's dying at
>
>     new TcpClient(AddressFamily.**InterNetwork)
>
> in http://hg.rabbitmq.com/**rabbitmq-dotnet-client/file/**
> 7fd0545a04f8/projects/client/**RabbitMQ.Client/src/client/**
> impl/SocketFrameHandler_0_9.**cs#l83<http://hg.rabbitmq.com/rabbitmq-dotnet-client/file/7fd0545a04f8/projects/client/RabbitMQ.Client/src/client/impl/SocketFrameHandler_0_9.cs#l83>
>
> which, on the surface of it, suggests that your system is unwilling to let
> the client speak IPv4. Can you think of a reason why that would be the case?
>
> I suggest sticking that line into a mini program of its own, to see
> whether that fails too.
>
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120911/cb941fe0/attachment.htm>


More information about the rabbitmq-discuss mailing list