[wp-trac] [WordPress Trac] #25716: HTTP requests fails with "SSL read: error:00000000:lib(0):func(0):reason( 0), errno 0"

WordPress Trac noreply at wordpress.org
Sat Oct 26 21:23:32 UTC 2013


#25716: HTTP requests fails with "SSL read: error:00000000:lib(0):func(0):reason(
0), errno 0"
------------------------------+--------------------
 Reporter:  ocean90           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  highest omg bbq   |   Milestone:  3.7.1
Component:  HTTP              |     Version:  3.7
 Severity:  blocker           |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by ocean90):

 Back to the original error code:
 It seems to be related to a specific curl version, 7.31.0, see
 http://sourceforge.net/p/curl/bugs/1249/. The related commit is
 https://github.com/bagder/curl/commit/8a7a277c086199b3 which should be in
 cURL 7.32.0.

 [attachment:25716.3.diff] looks good so far and works on the broken site.

 Hotfix: The broken site drives me crazy.
 * `wp_remote_get( 'https://api.wordpress.org/' )` works
 *
 `wp_remote_post('https://api.wordpress.org/core/checksums/1.0/?version=3.7')`
 works
 * `wp_remote_post( 'https://api.wordpress.org/', array( 'body' => array(
 'foo' => 'bar' ) ) )` doesn't work

 Because of this, `wp_http_supports( array( 'ssl' ) ) && is_wp_error(
 wp_remote_get( 'https://api.wordpress.org/' ) )` is false.

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


More information about the wp-trac mailing list