+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Error rendering RSS feed

Error rendering RSS feed

14 posts, 0 answered
  1. Kyle Baley
    Kyle Baley avatar
    15 posts
    Registered:
    09 Jun 2004
    02 Jan 2009
    Link to this post
    I'm trying to create an RSS feed for our events page. Created the RSS feed and made changes to IIS 7 to process the .rss extension. But when I navigate to the page, I get the following:

    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <my IP address>:80

    I've removed the IP address but I don't think it should be trying to get anything at that address. I have the site set up in IIS as a separate website with a host header. Seems to me that it should be looking for whatever it needs at that host header, not the IP address.

    Also, I am selecting the Events page for syndication but when I go back to the "Edit this feed" page, it's not checked off (though the Choose pages radio button is selected).

    Rest of the stack trace for reference:

    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: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 72.167.49.197:80

    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 (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <ip address>:80]
       System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239
       System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35
       System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224
    
    [WebException: Unable to connect to the remote server]
       System.Net.HttpWebRequest.GetResponse() +5313085
       Telerik.Cms.Web.RssChannelProvider.GetRssItems(NameValueCollection query) +1081
       Telerik.Rss.RssFeedInfo.GetFeed(NameValueCollection query) +323
       Telerik.Rss.RssProviderService.GetFeed(HttpContext context) +129
       Telerik.Rss.RssHttpHandler.ProcessRequest(HttpContext context) +17
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    02 Jan 2009
    Link to this post
    Hello Kyle Baley,

    If you are running the project on a hosting provider with some limitations this could be the reason for this error.
    This could be a result from large data return by the request as well.

    Could you tell us which version you use? Take a look at our video section at http://www.sitefinity.com/Videos/RssService/

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Kyle Baley
    Kyle Baley avatar
    15 posts
    Registered:
    09 Jun 2004
    02 Jan 2009
    Link to this post
    Ivan,

    I just upgraded to 3.5 SP1 this morning. That got rid of the problem where it wasn't retaining the pages I wanted to serve up via RSS but the main error is still there.

    I had to change my web.config as IIS7 wasn't recognizing the .rss extension (as per http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-btkmce.aspx). But I'm still having a problem getting the RSS feed to render.

    This is on my own personal dedicated server with GoDaddy and there are fifteen pages total (though I'm serving up only the upcoming event page). So I don't think the size of the data is an issue.

    Note that this is working locally on my machine (both the server and my dev machine are Windows Server 2008). The difference is that on my local machine, the URL is http://localhost/ProjectName and on the server, it's www.projectname.com.

    Thanks
    Kyle
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 Jan 2009
    Link to this post
    Hello Kyle Baley,

    Have you tried to:
    1. Delete the RSS feed
    2. Create it from scratch.

    Since the project virtual directory is no more used in the URL, the URL of the RSS itself would be changed, when you map the domain to the project.

    Let me know if this does not work for you.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Kyle Baley
    Kyle Baley avatar
    15 posts
    Registered:
    09 Jun 2004
    06 Jan 2009
    Link to this post
    Hi Georgi,

    Yes, I've deleted and re-created it a couple of times. It's not failing because it can't find the feed, the error seems to be that it can't find some web service.

    Thanks
    Kyle
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jan 2009
    Link to this post
    Hello Kyle Baley,

    Well, I really tried everything that comes to my mind in order to replicate the problem.

    First I tried by setting an RSS from my localhost. I was able to get the RSS contents by pointing the browser to http://localhost/project/feeds.rss.ashx
    Then I mapped localhost.dev.net domain to 127.0.0.1, moved the project from its virtual directory to root directory. This way I am able to access the project by pointing the browser to http://localhost.dev.net, simulating it is on live environment. When I want to access the feeds, I type http://localhost.dev.net/feeds.rss.ashx. I am able to get them and even click on "View article..." in order to open the Live page with the article.

    Perhaps there is something missing in the configuration of your live server. Could you please paste the exact error message, provide credentials to the server or something else which might help us to move forward with the problem? If you are going to send credentials, please open a support thread since the forum is not private.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Kyle Baley
    Kyle Baley avatar
    15 posts
    Registered:
    09 Jun 2004
    09 Jan 2009
    Link to this post
    Hi Georgi,

    OK, I will open a support ticket. I tried simulating a top-level domain on my local machine as well and it works. It's only on my dedicated server that I can't get it to work, nor can I get it to save my SMTP settings. Both my local machine and the server are Windows Server 2008 so I'm not sure what the issue is.

    Thanks very much for your efforts to date.
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jan 2009
    Link to this post
    Hello,

    Thank you for your understanding, Kyle.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Kyle Baley
    Kyle Baley avatar
    15 posts
    Registered:
    09 Jun 2004
    09 Jan 2009
    Link to this post

    Georgi,

    After sending this, I tried accessing the website locally from the server itself and it worked! Furthermore, I can now access the .rss feed externally as well (http://www.bahanet.org/upcoming.rss)! Don't know what changed, perhaps by accessing the site locally, it wired up the web service properly. In any case, it seems I am now able to generate RSS feeds.

    To summarize: I was getting the error described above after moving the website to my web server. I created the RSS feed on my computer and it didn't work. I then tried accessing the RSS feed from the web server itself and it did. And it also works when accessing it externally now too.

    Note that I am still not able to save SMTP settings. I have another thread open for that.

  10. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jan 2009
    Link to this post
    Hi,

    We will have to investigate this problem. I will pass this feedback to our QA team.
    As for the SMTP settings, I can confirm you that partially this problem was fixed for the 3.6 release. The fix was done today, but we will continue the work on the web services, and hopefully the Newsletter module will work in a better way with the new release.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. Emil
    Emil avatar
    6 posts
    Registered:
    25 Feb 2009
    08 Jul 2009
    Link to this post
    Hi
    I have the same problem with my rss . The page is a little long . It takes a little time but brings up my rss feed on my Localhost. But the staging server brings up this error

    Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <my IPAddress>

    Source: System

    Stack Trace:
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
    ------------------------------------------------------------------------------------


    I am a little lost in the above thread . Can you please give me some direction here.I also have to add that i have another RSS which works perfectly fine.(its a smaller page).

     

     

    Thank you

  12. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jul 2009
    Link to this post
    Hello Emil,

    If you are using the BlogsRss, you can limit the RSS content by including a summary only.
    Can you show us the Sitefinity.log file, because I cannot see a Sitefinity code in the error you have posted.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. Emil
    Emil avatar
    6 posts
    Registered:
    25 Feb 2009
    09 Jul 2009
    Link to this post

    I am using the PageRSS and I tried to limit to title and description and it works!!!! Thank you.

     

  14. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Jul 2009
    Link to this post
    Hello Emil,

    I am glad everything is okay.
    Let us know if you have any other questions.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
14 posts, 0 answered