Can't get Feed Block to work with a specific RSS feed...

Nando's Avatar

Nando

20 Apr, 2016 08:50 PM

Error:

An error occurred: Could not parse feed location http://www.nsusharks.com/rss.aspx: http://www.nsusharks.com/rss.aspx
You may choose to retry the operation. If the problem persists, please contact a system administrator.
The error has been logged to the system console.

I know it has errors but it validates....

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.nsusha...

Anything we can do?

  1. 1 Posted by Ryan Griffith on 21 Apr, 2016 02:15 PM

    Ryan Griffith's Avatar

    Hi,

    This behavior sounds like a known defect in which the UserAgent provided by Cascade when rendering Feed Blocks is not allowed by the server, causing the rendering to fail. I have attached the defect to this discussion so you can track its progress in the upper right-hand corner.

    In the meantime, the best options are:

    • Configure the server to allow UserAgents from Java. The agent would look something like Java/1.8.0_51 (varies depending on what version of Java you are running Cascade on)
    • If the server is out of your control, use a proxy that can accept the Java UserAgent and loads/serve the RSS feed

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by Nando on 22 Apr, 2016 06:40 PM

    Nando's Avatar

    gotcha, thanks!

  3. 3 Posted by Ryan Griffith on 22 Apr, 2016 07:49 PM

    Ryan Griffith's Avatar

    Not a problem at all.

    I forgot to mention I ran a quick test using cURL to verify this.

    If you run the following command, you will receive a valid response:

    curl -i http://www.nsusharks.com/rss.aspx
    

    If you run the same command, but include the Java UserAgent that is coming from Cascade, you will get the 404 error that coincides with what you are seeing when Cascade attempts to render the Feed Block:

    curl -A "Java/1.8.0_51" -i http://www.nsusharks.com/rss.aspx
    

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 22 Apr, 2016 07:49 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM