ThreadAbort exception?

90 views
Skip to first unread message

Scott McFadden

unread,
Apr 21, 2015, 3:32:50 PM4/21/15
to masstrans...@googlegroups.com
Started seeing lots of these in our MVC web app (IIS 7.5) today.   Not sure what causes this.  Anyone else know?

TypeName: System.Threading.ThreadAbortException, mscorlib
Message: Thread was being aborted.
Source: MassTransit
StackTrace:    at MassTransit.Transports.DefaultConnectionPolicy.Execute(Action callback) in d:\BuildAgent-02\work\aa063b4295dfc097\src\MassTransit\Transports\DefaultConnectionPolicy.cs:line 46
   at MassTransit.Transports.ConnectionPolicyChainImpl.Next(Action callback) in d:\BuildAgent-02\work\aa063b4295dfc097\src\MassTransit\Transports\ConnectionPolicyChainImpl.cs:line 49
   at MassTransit.Transports.RabbitMq.InboundRabbitMqTransport.Receive(Func`2 lookupSinkChain, TimeSpan timeout) in d:\BuildAgent-02\work\aa063b4295dfc097\src\Transports\MassTransit.Transports.RabbitMq\InboundRabbitMqTransport.cs:line 63
   at MassTransit.Transports.Endpoint.Receive(Func`2 receiver, TimeSpan timeout) in d:\BuildAgent-02\work\aa063b4295dfc097\src\MassTransit\Transports\Endpoint.cs:line 373
   at MassTransit.Context.ServiceBusReceiveContext.ReceiveFromEndpoint() in d:\BuildAgent-02\work\aa063b4295dfc097\src\MassTransit\Context\ServiceBusReceiveContext.cs:line 91

Sven Van den brande

unread,
Apr 23, 2015, 4:22:50 AM4/23/15
to masstrans...@googlegroups.com
You changed something in your code?
Are you redirecting to another page,....

Op dinsdag 21 april 2015 21:32:50 UTC+2 schreef Scott McFadden:

Scott McFadden

unread,
Apr 23, 2015, 3:52:07 PM4/23/15
to masstrans...@googlegroups.com
Singe page application, no redirects.  We wire up in global.asax like so:


 m_bus = ServiceBusFactory.New(sbc =>
                {
                    sbc.UseRabbitMq(r =>
                    {
                        r.ConfigureHost(new Uri(Properties.Settings.Default.MessageBusUrl), h =>
                        {
                            h.SetUsername(Properties.Settings.Default.MessageBusUser);
                            h.SetPassword(Properties.Settings.Default.MessageBusPassword);
                        });
                    });

                    sbc.ReceiveFrom(Properties.Settings.Default.MessageBusUrl);
                });

Sven Van den brande

unread,
Apr 28, 2015, 8:33:37 AM4/28/15
to masstrans...@googlegroups.com
Is it possible to create a separate repo with this problem?

Op donderdag 23 april 2015 21:52:07 UTC+2 schreef Scott McFadden:

Scott McFadden

unread,
Apr 28, 2015, 11:28:02 PM4/28/15
to masstrans...@googlegroups.com
The error suddenly stopped.  Not entirely sure but it may have started when we took one web server out of the NLB pool. Not sure how that would affect MT / RabbitMQ.

scott


On Tuesday, April 21, 2015 at 2:32:50 PM UTC-5, Scott McFadden wrote:

Scott McFadden

unread,
Jun 12, 2015, 7:56:27 PM6/12/15
to masstrans...@googlegroups.com
Note, you stop the error by recylcing the app pool for our app that uses rabbitmq.  Not sure why this fixes the issue.


On Tuesday, April 21, 2015 at 2:32:50 PM UTC-5, Scott McFadden wrote:
Reply all
Reply to author
Forward
0 new messages