Exception Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An initial change that was made was to handle the ConfigureRequest event and set the following:
DocumentStore.JsonRequestFactory.ConfigureRequest += (sender, e) => {
var httpWebRequest = ((HttpWebRequest)e.Request);
httpWebRequest.UnsafeAuthenticatedConnectionSharing = true;
httpWebRequest.PreAuthenticate = true;
};
Doing this resolved the issue but as the number of documents increased the problem has come back.
I haven't found a trigger point yet as to number of documents or amount of time elapsed but I believe it may be machine dependent i.e. spec of machine determines when this occurs.
The build & version of Raven I am working with is build 2916, Version 2.5.0, and this is running as service accessed by normal Raven Client via Http.
Any thoughts on what could cause the error and if there is any way to resolve this?
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" 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/d/optout.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
Ok, I've run it through fiddler and the processing of the documents works.
If I take fiddler away and run it the processing of the documents fails, its as if the client is going too fast.
--
build 2916, Version 2.5.0Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
Usingbuild 2916, Version 2.5.0
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
I updated to Build 2945, Version 2.5.0 but the problem is still there.
I looked to try Version 3 but an error is thrown when trying to load our custom plugins, so will need to see if can recompile those but not able to do that right now.
--
--