[wp-trac] [WordPress Trac] #25071: fetch_feed() returns WP_Error with "A valid URL was not provided"

WordPress Trac noreply at wordpress.org
Sun Aug 18 17:29:02 UTC 2013


#25071: fetch_feed() returns WP_Error with "A valid URL was not provided"
--------------------------+------------------------------
 Reporter:  jaychris      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:  3.6
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> This seems to be the same bug as
> [http://core.trac.wordpress.org/ticket/24646 #24646], but is not resolved
> in 3.6.
>
> I just upgraded to 3.6, but get this error when trying to fetch a feed
> from a URL that resolves to an internal address:
>
> object(WP_Error)#657 (2) { ["errors"]=> array(1) { ["simplepie-error"]=>
> array(1) { [0]=> string(44) "WP HTTP Error: A valid URL was not
> provided." } } ["error_data"]=> array(0) { } }
>
> I can fetch the url successfully using any number of local utilities, so
> it's able to respond correctly when called.
>
> Both sites (client site and feed provider) reside on the same host (but
> NOT multi-site) and are behind a firewall, it's not possible to fetch via
> the external IP resolver.

New description:

 This seems to be the same bug as #24646, but is not resolved in 3.6.

 I just upgraded to 3.6, but get this error when trying to fetch a feed
 from a URL that resolves to an internal address:
 {{{
 object(WP_Error)#657 (2) { ["errors"]=> array(1) { ["simplepie-error"]=>
 array(1) { [0]=> string(44) "WP HTTP Error: A valid URL was not provided."
 } } ["error_data"]=> array(0) { } }
 }}}
 I can fetch the url successfully using any number of local utilities, so
 it's able to respond correctly when called.

 Both sites (client site and feed provider) reside on the same host (but
 NOT multi-site) and are behind a firewall, it's not possible to fetch via
 the external IP resolver.

--

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25071#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list