System.Threading.ThreadAbortException: Thread was being aborted.

435 views
Skip to first unread message

Phil Jones

unread,
Jun 21, 2013, 3:44:02 AM6/21/13
to rav...@googlegroups.com
Hi,

We had these errors happen on our Windows Server 2012 VPS last night. The RavenDB powered site became unresponsive and I had to reboot the VPS in the end which resolved it. It mentions replication but it is just 1 raven instance running as a windows service, pretty standard.

Could it be Raven or a VPS issue? I've never seen this one before.

System.Threading.ThreadAbortException: Thread was being aborted.

   at System.Net.Connection.CompleteStartConnection(Boolean async, HttpWebRequest httpWebRequest)

   at System.Net.Connection.CompleteStartRequest(Boolean onSubmitThread, HttpWebRequest request, TriState needReConnect)

   at System.Net.Connection.SubmitRequest(HttpWebRequest request, Boolean forcedsubmit)

   at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName)

   at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)

   at System.Net.HttpWebRequest.GetResponse()

   at Raven.Client.Connection.HttpJsonRequest.ReadJsonInternal(Func`1 getResponse) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line 332

   at Raven.Client.Connection.HttpJsonRequest.ReadResponseJson() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line 225

   at Raven.Client.Connection.ServerClient.DirectQuery(String index, IndexQuery query, String operationUrl, String[] includes, Boolean metadataOnly, Boolean includeEntries) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:line 941

   at Raven.Client.Connection.ServerClient.<>c__DisplayClass53.<Query>b__52(String u) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:line 917

   at Raven.Client.Connection.ReplicationInformer.TryOperation[T](Func`2 operation, String operationUrl, Boolean avoidThrowing, T& result) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ReplicationInformer.cs:line 564

   at Raven.Client.Connection.ReplicationInformer.ExecuteWithReplication[T](String method, String primaryUrl, Int32 currentRequest, Int32 currentReadStripingBase, Func`2 operation) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ReplicationInformer.cs:line 523

   at Raven.Client.Connection.ServerClient.ExecuteWithReplication[T](String method, Func`2 operation) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\ServerClient.cs:line 174

   at Raven.Client.Document.AbstractDocumentQuery`2.ExecuteActualQuery() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\AbstractDocumentQuery.cs:line 536

   at Raven.Client.Document.AbstractDocumentQuery`2.get_QueryResult() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\AbstractDocumentQuery.cs:line 505

   at Raven.Client.Linq.RavenQueryProviderProcessor`1.ExecuteQuery[TProjection]() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Linq\RavenQueryProviderProcessor.cs:line 1425

   at Raven.Client.Linq.RavenQueryInspector`1.GetEnumerator() in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Linq\RavenQueryInspector.cs:line 99

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at Escape.Web.Public.Modules.PublicModule.<>c__DisplayClass17.<.ctor>b__13(NancyContext ctx) in c:\Jenkins\workspace\Escape.EN\Escape.Web\Public\Modules\PublicModule.cs:line 129

   at Nancy.BeforePipeline.Invoke(NancyContext context)

   at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context)

   at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, IPipelines pipelines)

Oren Eini (Ayende Rahien)

unread,
Jun 21, 2013, 4:11:45 AM6/21/13
to ravendb
This is from client application, and this is usually if you have a request that takes too long, then IIS will abort the thread.


--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Phil Jones

unread,
Jun 21, 2013, 4:25:59 AM6/21/13
to rav...@googlegroups.com
My gut did tell me it was Server 2012's fault. I wouldn't honestly recommend using that OS in production... sigh. So many problems with it.

Oren Eini (Ayende Rahien)

unread,
Jun 21, 2013, 4:28:39 AM6/21/13
to ravendb
Can you tell us a big more about this?
Reply all
Reply to author
Forward
0 new messages