An existing connection was forcibly closed by the remote host

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/7/2011 3:19:39 AM
Gravatar
Total Posts 8
Regards, Anshul

An existing connection was forcibly closed by the remote host

Hi,

 

My website has been working fine for a long time but recently I have been getting this error. I have checked for common errors in the forums.

Server Error in '/' Application.
--------------------------------------------------------------------------------

An existing connection was forcibly closed by the remote host
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


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

[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
   System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) +7080594
   System.Xml.XmlRegisteredNonCachedStream.Read(Byte[] buffer, Int32 offset, Int32 count) +20
   System.Xml.XmlTextReaderImpl.ReadData() +548
   System.Xml.DtdParserProxy.System.Xml.IDtdParserAdapter.ReadData() +16
   System.Xml.DtdParser.GetToken(Boolean needWhiteSpace) +5047246
   System.Xml.DtdParser.ParseEntityDecl() +47
   System.Xml.DtdParser.ParseSubset() +5047968
   System.Xml.DtdParser.Parse(Boolean saveInternalSubset) +66
   System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() +323
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +668
   System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) +1165
   System.Xml.XPath.XPathDocument..ctor(TextReader textReader) +120
   Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(String xml) +132
   Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Stream stream, Encoding encoding) +129
   Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Stream stream) +117
   Argotic.Common.SyndicationEncodingUtility.CreateSafeNavigator(Uri source, ICredentials credentials, IWebProxy proxy, Encoding encoding) +458
   Argotic.Syndication.GenericSyndicationFeed.Load(Uri source, ICredentials credentials, IWebProxy proxy, SyndicationResourceLoadSettings settings) +132
   Argotic.Syndication.GenericSyndicationFeed.Create(Uri source) +82
   mojoPortal.Web.FeedUI.FeedCache.GetRssFeedEntries(Int32 moduleId, Guid moduleGuid, Int32 entryCacheTimeout, Int32 maxDaysOld, Int32 maxEntriesPerFeed, Boolean enableSelectivePublishing) +1150
   mojoPortal.Web.FeedUI.FeedManagerModule.GetEntriesTable() +99
   mojoPortal.Web.FeedUI.FeedManagerModule.BindRepeater() +63
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955 

 

 

 

"I get this error when I try and access the website on the server"

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

 

 

I would really appreciate your help!

Thank you.

 

2/7/2011 1:25:46 PM
Gravatar
Total Posts 18439

Re: An existing connection was forcibly closed by the remote host

Hi,

I'm not sure the cause of this, it sounds like it happens on the remote server where the feed is pulled from. I've added handling for this error in version 2.3.6.2 so at least it won't crash the page. But the problem with the feed could still happen, it will just catch the error and log it.

Hope it helps,

Joe

2/8/2011 12:49:30 AM
Gravatar
Total Posts 8
Regards, Anshul

Re: An existing connection was forcibly closed by the remote host

Hi Joe,

I am note sure what you mean by feeds. Does that mean a widget or an RSS feed that it maybe pulling from another server? If that is the case I do not have anything on that sort on the default page. What is that you recommend in situation? can I upgrade my version without losing any data?

Thank you.

2/8/2011 8:10:55 AM
Gravatar
Total Posts 18439

Re: An existing connection was forcibly closed by the remote host

The error you posted comes from Feed Manager which is a feature that consumes feeds and displays them on the page. You must have it on some page in your site, but whatever feed it is trying to use it is not able to retrieve the feed.

2/8/2011 11:05:42 AM
Gravatar
Total Posts 8
Regards, Anshul

Re: An existing connection was forcibly closed by the remote host

Thanks Joe.

I understand that I may some feeds on the main page that is crashing it. But could you please tell me how can I get rid of the error message, get the page to work and then remove the feeds or any other trick?

Thank you.

2/8/2011 11:10:01 AM
Gravatar
Total Posts 18439

Re: An existing connection was forcibly closed by the remote host

Did you upgrade to mojoPortal 2.3.6.2? I told you already I added handling for that error so it won't crash the page.

You must sign in to post in the forums. This thread is closed to new posts.