An existing connection was forcibly closed by the remote host

M

mike.debruin

I'm experiencing an intermittent problem that's difficult to duplicate
and impossible to find good information on. Here's the scenario.

We have a mobile application running on PPC 2003. .NET 2.0 sp1. We
have an hosting app that launches the actual client application. This
hosting app allows us to download updates of the client app
automatically to the device via a webservice hosted on our server.
Ok, so the device waits for the user to doc it and the first thing it
does is look for a new version of the software. So MOST of the time,
this update process works perfectly fine, but occasionally, I receive
the following exception:

2006-12-24 18:20:30,000 ERROR
CoreMark.Mobile.OrderClient.Cradle.CradleController [(null)] - An
error occured attempting to call autoupdate
Nulogic.Mobile.NMTP.NulogicDispatcherException: A SendMessage
Exception occurred. ---> System.Net.WebException: Unable to read data
from the transport connection. --->
System.Net.Sockets.SocketException: An existing connection was
forcibly closed by the remote host
at System.Net.Sockets.Socket.ReceiveNoCheck()
at System.Net.Sockets.Socket.Receive()
at System.Net.Connection.Read()
at System.Net.HttpWebRequest.fillBuffer()
at System.Net.HttpWebRequest.getLine()
at System.Net.HttpWebRequest.parseResponse()
at System.Net.HttpWebRequest.startReceiving()
at System.Net.Connection.startReceiving()
at WorkItem.doWork()
at System.Threading.Timer.ring()

at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
at Nulogic.Mobile.NMTP.NMTPService.NMTPService.Transmit()
at Nulogic.Mobile.NMTP.NMTPDispatcher.SendMessage()
at Nulogic.Mobile.NMTP.NMTPDispatcher.MessageSendLoop()

at Nulogic.Mobile.NMTP.NMTPDispatcher.Send()
at Nulogic.Mobile.AutoUpdater.AutoUpdaterComponent.QueryForUpdate()
at Nulogic.Mobile.AutoUpdater.AutoUpdaterComponent.UpdateIsAvailable()
at
CoreMark.Mobile.OrderClient.Cradle.CradleController.OnCradleStateChanged()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.Invoke()
at System.Reflection.MethodBase.Invoke()
at TASK.Invoke()
at System.Windows.Forms.Control._InvokeAll()
at System.Windows.Forms.Control.WnProc()
at System.Windows.Forms.ContainerControl.WnProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Nulogic.Mobile.Windows.Forms.Application.Run()
at CoreMark.Mobile.OrderClient.AppController.Initialize()
at CoreMark.Mobile.OrderClient.Program.Main()


Typically, when we warm boot the device it will also work.

Additionally, we have another webservice that's responsible for
sending a database updates to the device and allows the device to
upload data. We never encounter any problems with this. The
difference? It's hosted on another server and allows annon access.
The automated update service uses basic authentication.

I have seen a number of posts from people experiencing similar
problems, but no one was ever able to get it resolved. Does anyone
have any info on this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top