Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nate 143 posts 184 karma points
    Aug 19, 2011 @ 04:32
    Nate
    0

    The underlying connection was closed: An unexpected error occurred on a receive.

    I get the following error when I try to transfer a content node to production.  Any ideas?

    The underlying connection was closed: An unexpected error occurred on a receive.

    Error details

     

    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host 
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    --- End of inner exception stack trace --- 
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) 
    --- End of inner exception stack trace --- 
    at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) 
    at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) 
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
    at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.OpenSession() in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 336 
    at Umbraco.Courier.Core.ExtractionManager.ExtractRevisions() 
    at Umbraco.Courier.UI.Dialogs.CommitItem.TransferAndExtractOnSelectedRepo(String repo) 
    at Umbraco.Courier.UI.Dialogs.CommitItem.oneSteptransfer(Object sender, EventArgs e) 
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    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. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host 
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    --- End of inner exception stack trace --- 
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) 
    at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

    An existing connection was forcibly closed by the remote host


    System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host 
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

  • Keith Petersen 67 posts 111 karma points
    Aug 19, 2011 @ 16:53
    Keith Petersen
    0

    It sounds like the production server is resetting the connection. See if  this article/the article it links to shed any light on it for you: http://blogs.msdn.com/b/jpsanders/archive/2008/12/01/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-receive.aspx

  • Per Ploug 865 posts 3491 karma points MVP admin
    Aug 26, 2011 @ 09:26
    Per Ploug
    0

    Some more insight on this:

    Courier uses a standard webservice connection, so if you have settings in place on your website that limits package sizes or connect time-outs then that might be what is causing the issue

    /Per

Please Sign in or register to post replies

Write your reply to:

Draft