Foren
RSS portlet "cannot be found" error
Tina Carrillo, geändert vor 6 Jahren.
RSS portlet "cannot be found" error
New Member Beiträge: 16 Beitrittsdatum: 08.05.12 Neueste Beiträge
Why aren't valid RSS feeds displaying in the RSS portlet? Even this default Liferay feed displays this message:
http://www.liferay.com/community/blogs/-/blogs_stream/community/rss cannot be found.
I'm running Liferay Portal Enterprise Edition 6.2.10 EE GA1
Patches: liferay-fix-pack-portal-63-6210
After enabling WARN logging for com.liferay, I see an "Invalid document" warning:
08:53:44,333 WARN [http-bio-8080-exec-9][WebCachePoolImpl:66] com.liferay.portal.kernel.webcache.WebCacheException: http://www.liferay.com/community/blogs/-/blogs_stream/community/rss java.lang.IllegalArgumentException: Invalid document
com.liferay.portal.kernel.webcache.WebCacheException: http://www.liferay.com/community/blogs/-/blogs_stream/community/rss java.lang.IllegalArgumentException: Invalid document
at com.liferay.portlet.rss.util.RSSWebCacheItem.convert(RSSWebCacheItem.java:102)
at com.liferay.portal.webcache.WebCachePoolImpl.get(WebCachePoolImpl.java:52)
at com.liferay.portal.kernel.webcache.WebCachePoolUtil.get(WebCachePoolUtil.java:29)
at com.liferay.portlet.rss.util.RSSUtil.getFeed(RSSUtil.java:34)
at org.apache.jsp.html.portlet.rss.view_jsp._jspService(view_jsp.java:697)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
http://www.liferay.com/community/blogs/-/blogs_stream/community/rss cannot be found.
I'm running Liferay Portal Enterprise Edition 6.2.10 EE GA1
Patches: liferay-fix-pack-portal-63-6210
After enabling WARN logging for com.liferay, I see an "Invalid document" warning:
08:53:44,333 WARN [http-bio-8080-exec-9][WebCachePoolImpl:66] com.liferay.portal.kernel.webcache.WebCacheException: http://www.liferay.com/community/blogs/-/blogs_stream/community/rss java.lang.IllegalArgumentException: Invalid document
com.liferay.portal.kernel.webcache.WebCacheException: http://www.liferay.com/community/blogs/-/blogs_stream/community/rss java.lang.IllegalArgumentException: Invalid document
at com.liferay.portlet.rss.util.RSSWebCacheItem.convert(RSSWebCacheItem.java:102)
at com.liferay.portal.webcache.WebCachePoolImpl.get(WebCachePoolImpl.java:52)
at com.liferay.portal.kernel.webcache.WebCachePoolUtil.get(WebCachePoolUtil.java:29)
at com.liferay.portlet.rss.util.RSSUtil.getFeed(RSSUtil.java:34)
at org.apache.jsp.html.portlet.rss.view_jsp._jspService(view_jsp.java:697)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
Olaf Kock, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste BeiträgeTina Carrillo:
Why aren't valid RSS feeds displaying in the RSS portlet? Even this default Liferay feed displays this message:
http://www.liferay.com/community/blogs/-/blogs_stream/community/rss cannot be found.
Tried on DXP - as currently there are quite a few redirects on liferay.com, the blog feed is no exception. I'm assuming (without checking) that the RSS portlet doesn't follow redirects. If you go to the URL you mention, you'll realize that it redirects to the actual feed at https://web.liferay.com/en/community/blogs/general/-/blogs_stream/general/rss - using that URL worked for me
Tina Carrillo, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
New Member Beiträge: 16 Beitrittsdatum: 08.05.12 Neueste Beiträge
Thank you for that explanation, Olaf. It does make sense and I tested the updated URL and it is working. However, the actual URL I'm trying to use is this:
http://www.theoccidentalweekly.com/feed
I do not see a redirect using this feed. I tested both http and https. Can you explain why this feed fails to render in the Liferay RSS portlet?
http://www.theoccidentalweekly.com/feed
I do not see a redirect using this feed. I tested both http and https. Can you explain why this feed fails to render in the Liferay RSS portlet?
Olaf Kock, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste BeiträgeTina Carrillo:
http://www.theoccidentalweekly.com/feed
I do not see a redirect using this feed. I tested both http and https. Can you explain why this feed fails to render in the Liferay RSS portlet?
Sorry, I can't explain why it fails to render, because it works for me (TM). Copied exactly the URL that you gave, and I get the result. Maybe it was invalid in between? Currently it's valid: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.theoccidentalweekly.com%2Ffeed
Tina Carrillo, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
New Member Beiträge: 16 Beitrittsdatum: 08.05.12 Neueste Beiträge
Hi Olaf,
Are you testing on Liferay 6.2? I can reproduce the issue on these vanilla implementations:
Liferay Portal Enterprise Edition 6.2.10 EE GA1
Patches: liferay-fix-pack-portal-63-6210
Liferay Portal Community Edition 6.2.0 CE GA1 (Newton / Build 6200 / November 1, 2013)
(no patches)
My feeds (generated by Wordpress) fail:
http://www.theoccidentalweekly.com/feed
https://www.theoccidentalweekly.com/feed
This feed (also generated by Wordpress) does work:
https://en.blog.wordpress.com/feed/
Any suggestions for troubleshooting or debugging the issue?
Are you testing on Liferay 6.2? I can reproduce the issue on these vanilla implementations:
Liferay Portal Enterprise Edition 6.2.10 EE GA1
Patches: liferay-fix-pack-portal-63-6210
Liferay Portal Community Edition 6.2.0 CE GA1 (Newton / Build 6200 / November 1, 2013)
(no patches)
My feeds (generated by Wordpress) fail:
http://www.theoccidentalweekly.com/feed
https://www.theoccidentalweekly.com/feed
This feed (also generated by Wordpress) does work:
https://en.blog.wordpress.com/feed/
Any suggestions for troubleshooting or debugging the issue?
Olaf Kock, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Indeed, I've been trying on LIferay DXP. And I'd actually refuse to test on GA1, when GA5 or 6 is out. Please try on the later version . There are several years worth of patches in the latest release in the 6.2 branch. And note that even that branch is now closed and will get no further updates.
Tina Carrillo, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
New Member Beiträge: 16 Beitrittsdatum: 08.05.12 Neueste BeiträgeOlaf Kock:
Indeed, I've been trying on LIferay DXP. And I'd actually refuse to test on GA1, when GA5 or 6 is out. Please try on the later version . There are several years worth of patches in the latest release in the 6.2 branch. And note that even that branch is now closed and will get no further updates.
Hi Olaf,
Unfortunately I downloaded and tested the latest 6.2 release and the problem persists:
Liferay Portal Community Edition 6.2 CE GA6 (Newton / Build 6205 / January 6, 2016)
Olaf Kock, geändert vor 6 Jahren.
RE: RSS portlet "cannot be found" error
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
in that case, my last resort would be to check for trust issues for the certificate used on https sites: If the issuer of the certificate is not (yet) known as trustworthy to the JVM, you might need to import their certificate chain into your (Liferay) keystore. Otherwise Liferay can't connect through a trusted connection as https is not only about encryption, but also encryption to the right counterpart - and that's assured by the certificate. If the certificate issuer is not known to the JVM, it won't trust.
I'd assume that any other general failure of the RSS portlet would have come to light during those ~3 years where Liferay 6.2 was the latest version
An alternative would be to make sure that you'll import a http RSS feed, but make extra extra extra sure, that it doesn't transparently get redirected to https.
I'd assume that any other general failure of the RSS portlet would have come to light during those ~3 years where Liferay 6.2 was the latest version
An alternative would be to make sure that you'll import a http RSS feed, but make extra extra extra sure, that it doesn't transparently get redirected to https.
Lee Jordan, geändert vor 4 Jahren.
RE: RSS portlet "cannot be found" error
Expert Beiträge: 449 Beitrittsdatum: 26.05.15 Neueste Beiträge
Frustrating, still not working.If you put your feed through feed burner (not https) ... it works.
http://feeds.feedburner.com/co/PTuD
If you don't
http://feeds.bbci.co.uk/news/world/rss.xml
it don't work
Why can't Liferay handle secure feeds????? Nobody is going to go chasing security certificates to make an RSS feed work on your platform. Please fix this issue. I believe we can win this battle. I believe in the endevour of human spirit to overcome insurmountable and exhausting feats that if we try just one more time we can make it work. And if we fail, we will ultimately prevail if we refuse to give up.
https://issues.liferay.com/browse/LPS-101352
http://feeds.feedburner.com/co/PTuD
If you don't
http://feeds.bbci.co.uk/news/world/rss.xml
it don't work
Why can't Liferay handle secure feeds????? Nobody is going to go chasing security certificates to make an RSS feed work on your platform. Please fix this issue. I believe we can win this battle. I believe in the endevour of human spirit to overcome insurmountable and exhausting feats that if we try just one more time we can make it work. And if we fail, we will ultimately prevail if we refuse to give up.
https://issues.liferay.com/browse/LPS-101352
Anhänge: