I'm sorry, that exception gets caught and it throws again trying to create an IPV4 client, I'll check with my network admins on this.<div>Thanks<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 9:52 AM, KL <span dir="ltr"><<a href="mailto:kayode81until@gmail.com" target="_blank">kayode81until@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<div>
Thanks<div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Sep 10, 2012 at 7:02 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 10/09/12 21:29, kayslay wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I do that I get the following exception:<div><br>
None of the specified endpoints were reachable<br></div>
Endpoints attempted:<br>
------------------------------<u></u>------------------<br>
endpoint=amqp-0-9://localhost:<u></u>5672, attempts=1<br>
System.Net.Sockets.<u></u>SocketException (0x80004005): An invalid argument was<br>
supplie<br>
d<br>
at System.Net.Sockets.Socket..<u></u>ctor(AddressFamily addressFamily,<br>
SocketType so<br>
cketType, ProtocolType protocolType)<br>
at System.Net.Sockets.TcpClient.<u></u>initialize()<br>
at System.Net.Sockets.TcpClient..<u></u>ctor(AddressFamily family)<br>
at RabbitMQ.Client.Impl.<u></u>SocketFrameHandler_0_9..ctor(<u></u>AmqpTcpEndpoint<br>
endpoint<br>
)<br>
at<br>
RabbitMQ.Client.Framing.Impl.<u></u>v0_9_1.ProtocolBase.<u></u>CreateFrameHandler(AmqpTc<br>
pEndpoint endpoint)<br>
at RabbitMQ.Client.<u></u>ConnectionFactory.<u></u>FollowRedirectChain(Int32<br>
maxRedirects,<br>
IDictionary connectionAttempts, IDictionary connectionErrors,<br>
AmqpTcpEndpoint[]&<br>
mostRecentKnownHosts, AmqpTcpEndpoint endpoint)<br>
==============================<u></u>==================<br>
Stack trace:<br>
at RabbitMQ.Client.<u></u>ConnectionFactory.<u></u>CreateConnection(Int32<br>
maxRedirects)<br>
at RabbitMQ.Client.<u></u>ConnectionFactory.<u></u>CreateConnection()<br>
at ServerConsole.AddServer.Main(<u></u>String[] args)<br>
</blockquote>
<br>
Looks like it's dying at<br>
<br>
new TcpClient(AddressFamily.<u></u>InterNetwork)<br>
<br>
in <a href="http://hg.rabbitmq.com/rabbitmq-dotnet-client/file/7fd0545a04f8/projects/client/RabbitMQ.Client/src/client/impl/SocketFrameHandler_0_9.cs#l83" target="_blank">http://hg.rabbitmq.com/<u></u>rabbitmq-dotnet-client/file/<u></u>7fd0545a04f8/projects/client/<u></u>RabbitMQ.Client/src/client/<u></u>impl/SocketFrameHandler_0_9.<u></u>cs#l83</a><br>
<br>
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?<br>
<br>
I suggest sticking that line into a mini program of its own, to see whether that fails too.<br>
<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>