RSS feed not working
-
Hey,
Is the RSS feed working for you?
Since a few updates ago, my RSS reader reported problems with it. Now I wanted to investigate, but opening https://changedetection.cloudron.example/rss?tag=&token=xxxyyyzzz (link from CD home page), I get 500 Internal Server Error.The log shows
Jun 22 12:53:23 ERROR:changedetectionio:Exception on /rss [GET] Jun 22 12:53:23 Traceback (most recent call last): Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/flask/app.py", line 2073, in wsgi_app Jun 22 12:53:23 response = self.full_dispatch_request() Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/flask/app.py", line 1519, in full_dispatch_request Jun 22 12:53:23 rv = self.handle_user_exception(e) Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/flask_restful/__init__.py", line 298, in error_router Jun 22 12:53:23 return original_handler(e) Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/flask/app.py", line 1517, in full_dispatch_request Jun 22 12:53:23 rv = self.dispatch_request() Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/flask/app.py", line 1503, in dispatch_request Jun 22 12:53:23 return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) Jun 22 12:53:23 File "/app/code/changedetection.io/changedetectionio/__init__.py", line 384, in rss Jun 22 12:53:23 response = make_response(fg.rss_str()) Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/feedgen/feed.py", line 398, in rss_str Jun 22 12:53:23 feed, doc = self._create_rss(extensions=extensions) Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/feedgen/feed.py", line 374, in _create_rss Jun 22 12:53:23 item = entry.rss_entry() Jun 22 12:53:23 File "/app/code/changedetection.io/dependencies/feedgen/entry.py", line 225, in rss_entry Jun 22 12:53:23 description.text = CDATA(self.__rss_content['content']) \ Jun 22 12:53:23 File "src/lxml/etree.pyx", line 3119, in lxml.etree.CDATA.__cinit__ Jun 22 12:53:23 ValueError: ']]>' not allowed inside CDATA Jun 22 12:53:23 x.x.x.x,y.y.y.y - - [22/Jun/2023 10:53:23] "GET /rss?tag=&token=16ff2fxxxxxxxxxxxxxxxxxxxx5a04d1 HTTP/1.1" 500 468 0.016829
Is it just me or is it ChangeDetection or Cloudron?
-
@nebulon Thanks for testing on your end! It suddenly stopped working for me, no idea why (I didn't change anything, only automatic updates).
I now switched to notification via ntfy. But depending on the number of update notifications, I might need to go back to RSS. I'll do a re-install first in that case. -
Working fine here..
-
@nichu42 this happens on all RSS feeds or just a specific one? There is some CDATA parsing error in your logs , so I am suspecting maybe it's just a specific feed erroring? Maybe we should report this upstream (since this is a parsing error).
-
@girish It's the main RSS feed that is accessible from the home page:
It links to
https://cd.cloudron.foo/rss?tag=&token=16ff2f5...a04d1
..and causes the 500 Internal Server Error when called.Do I misunderstand the functionality?
I'm monitoring 4 sites at this time, so I can actually live with notifications via ntfy. But if you suspect an upstream problem, I'll be happy to open an issue there.
-
@nichu42 The RSS feed works in our instance. When I click it, it downloads an rss file. But I can copy the link and put it in my ttrss and i can see updates.
I still think this is because there is some website you are checking which breaks the rss in changedetection.
-
@girish Thank you! You were absolutely right. I deleted all entries from the watch list, and the RSS feed was working instantly.
I re-added one by one, expecting to find the culprit. However, it's still working after I set up all sites again. Very strange. -
-