MassTransit.Context.ServiceBusReceiveContext - Consumer Exception Exposed

196 views
Skip to first unread message

Aseem Mishra

unread,
May 4, 2015, 11:28:05 AM5/4/15
to masstrans...@googlegroups.com
Hello All,

We have started getting below mentioned errors at our clients place intermittently. I had to restart rabbit MQ service to restore back the system. Any kind of help is highly appreciated. The error just piles up in log file, I have attached an sample file which has errors logged for just a minute.


''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
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
Aseem
Error Log.5

Chris Patterson

unread,
May 4, 2015, 11:29:49 AM5/4/15
to masstrans...@googlegroups.com
It seems that the bus is not able to establish a connection with the RabbitMQ broker. It will continue to retry the connection until it is restored. If restarting the broker resolves the issue, you may have some type of connectivity issue between the bus process/machine and RabbitMQ.


--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/da9d3667-60e6-4162-99ff-f1b4744ffc8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aseem Mishra

unread,
May 4, 2015, 11:40:33 AM5/4/15
to masstrans...@googlegroups.com
Hello Chris,
The application along with Rabbit MQ and MassTransit sits in the same host i.e the application server. There is a separate database server which the application connects. Also we are using nhibernate for persisting the saga state. We couldn't recreate this issue at our testing environment. But it has been reported at client installations, so its a bit weird situation.

Regards
Aseem Mishra
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages