Support » Fixing WordPress » Fetch_Feed Timeout

  • fetch_feed('https://www.cbc.ca/podcasting/includes/theshadows.xml');

    returns

    object(WP_Error)#900 (2) { ["errors"]=> array(1) { ["simplepie-error"]=> array(1) { [0]=> string(96) "WP HTTP Error: cURL error 28: Operation timed out after 50002 milliseconds with 0 bytes received" } } ["error_data"]=> array(0) { } }

    I’ve increased the timeout and this still happens. I’ve also tried this on a separate server and two localhost machines.

    Anyone know how to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It’s possible that they are blocking their feed from being embedded, perhaps they have restricted it to certain referrers.

    Thread Starter John Leschinski

    (@picard102)

    I had the same thought, as I can get the contents with a normal curl and file_get_contents. Any idea how I could test this theory out?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fetch_Feed Timeout’ is closed to new replies.