Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30648

RSS Feeds do not update during Cron job and can not add new Feeds. Appears SimplePie ignores Moodle Proxy settings.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1.3, 2.2
    • RSS
    • MySQL
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Requires an environment with server behind authenticated proxy server.
      Set the Server->HTTP proxy settings and account login
      In a course add a Remote RSS Feed block and add a URL, e.g. http://moodle.org/rss/file.php/1/1/forum/1/rss.xml
      When you press Add new Feed it fails.

      Also any existing feeds from previous Moodle versions stop working when refreshed.
      From command line run the cron.php job (php -f admin/cli/cron.php)

      Any RSS feeds show:
      Processing cron function for rss_client....
      http://www.abc.net.au/science/news/xml/abc_news_in_science.xml error
      SimplePie failed with error:A feed could not be found at http://www.abc.net.au/science/news/xml/abc_news_in_science.xml. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.

      Show
      Requires an environment with server behind authenticated proxy server. Set the Server->HTTP proxy settings and account login In a course add a Remote RSS Feed block and add a URL, e.g. http://moodle.org/rss/file.php/1/1/forum/1/rss.xml When you press Add new Feed it fails. Also any existing feeds from previous Moodle versions stop working when refreshed. From command line run the cron.php job (php -f admin/cli/cron.php) Any RSS feeds show: Processing cron function for rss_client.... http://www.abc.net.au/science/news/xml/abc_news_in_science.xml error SimplePie failed with error:A feed could not be found at http://www.abc.net.au/science/news/xml/abc_news_in_science.xml . A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.

      To access the internet server needs to use an authenticated proxy server.
      Details for proxy server and login account are entered and work in other areas of Moodle.

      If an attempt is made to add an Remote RSS Feed block it reports
      Error loading this RSS feed (A feed could not be found at http://moodle.org/rss/file.php/1/1/forum/1/rss.xml. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.)

      The file /lib/simplepie/moodle_simplepie.php mentions using Moodle cURL
      "By using the moodle curl class we ensure that the correct proxy configuration is used."
      But there appears to be no further customisation to use the proxy settings.

            poltawski Dan Poltawski
            rudd_j James Rudd (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.