Help Required - None of the specified endpoints were reachable

1,664 views
Skip to first unread message

Aseem Mishra

unread,
May 4, 2015, 4:44:17 PM5/4/15
to rabbitm...@googlegroups.com
Hello All,

Though it is intermittent it is creating lot of noise in the system. The rabbit MQ version we have is 3.3.5, the service is restored after we restart the service broker and we .net framework 4.5.
Anyone has faced such issue in past? 

----------------------------------------------------------------------------------------------------------------------------------------
ERROR 2015-04-08 13:28:51,823 [1718] MassTransit.Context.ServiceBusReceiveContext - Consumer Exception Exposed
None of the specified endpoints were reachable
Endpoints attempted:
------------------------------------------------
endpoint=amqp-0-9://localhost:5672, attempts=1
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
   at System.Threading.Thread.Start(StackCrawlMark& stackMark)
   at System.Threading.Thread.Start()
   at RabbitMQ.Client.Impl.ConnectionBase.StartMainLoop()
   at RabbitMQ.Client.Impl.ConnectionBase..ctor(ConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
   at RabbitMQ.Client.Framing.Impl.v0_9_1.ProtocolBase.CreateConnection(ConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
   at RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 maxRedirects, IDictionary`2 connectionAttempts, IDictionary`2 connectionErrors, AmqpTcpEndpoint[]& mostRecentKnownHosts, AmqpTcpEndpoint endpoint)
================================================
Stack trace:
   at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32 maxRedirects)
   at RabbitMQ.Client.ConnectionFactory.CreateConnection()
   at MassTransit.Transports.RabbitMq.RabbitMqConnection.Connect()
   at MassTransit.Transports.ConnectionHandlerImpl`1.Connect()
   at MassTransit.Transports.ConnectOnFirstUsePolicy.Execute(Action callback)
   at MassTransit.Transports.ConnectionPolicyChainImpl.Next(Action callback)
   at MassTransit.Transports.ConnectionHandlerImpl`1.Use(Action`1 callback)
   at MassTransit.Transports.RabbitMq.InboundRabbitMqTransport.Receive(Func`2 lookupSinkChain, TimeSpan timeout)
   at MassTransit.Transports.Transport.Receive(Func`2 callback, TimeSpan timeout)
   at MassTransit.Transports.Endpoint.Receive(Func`2 receiver, TimeSpan timeout)
   at MassTransit.Context.ServiceBusReceiveContext.ReceiveFromEndpoint()
ERROR 2015-04-08 13:28:51,823 [1014] MassTransit.Context.ServiceBusReceiveContext - Consumer Exception Exposed
None of the specified endpoints were reachable
Endpoints attempted:
----------------------------------------------------------------------------------------------------------------------------------------

Regards
AM

Michael Klishin

unread,
May 4, 2015, 5:36:07 PM5/4/15
to Aseem Mishra, rabbitm...@googlegroups.com
 On 4 May 2015 at 23:44:19, Aseem Mishra (aseem....@gmail.com) wrote:
> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
> was thrown.

Your application is out of memory. RabbitMQ simply reports that it was unable to connect,
without being particularly smart about what exactly the underlying exception is.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Aseem Mishra

unread,
May 4, 2015, 6:14:49 PM5/4/15
to rabbitm...@googlegroups.com, aseem....@gmail.com
Thank Michael, but is there anyway to ensure thats its not a RabbitMQ issue as once the RabbitMQ service is restarted it works just fine. 

Michael Klishin

unread,
May 5, 2015, 3:53:33 AM5/5/15
to Aseem Mishra, rabbitm...@googlegroups.com
On 5 May 2015 at 01:14:50, Aseem Mishra (aseem....@gmail.com) wrote:
> Thank Michael, but is there anyway to ensure thats its not a RabbitMQ
> issue as once the RabbitMQ service is restarted it works just
> fine.

Memory profiler can tell.

There is a known .NET client 3.5.x memory leak that's fixed
in nightly builds:
https://github.com/rabbitmq/rabbitmq-dotnet-client/issues/58#issuecomment-96074220

So you can either use 3.4.x or a nightly build .dll. 
Reply all
Reply to author
Forward
0 new messages