Support » Fixing WordPress » After Update to 4.6 keep getting cURL error 23

  • The update to WP 4.6 went fine on several sites. We updated all our plugins and themes BEFORE the update. Then updated to WP 4.6. Everything seemed to work.

    Until, additional plugins and/or themese started to need updates. We try to run the updates and we get some variation of this error:

    An error occurred while updating Easy Updates Manager: Download failed. cURL error 23: Failed writing body (667 != 784)

    So we’ve gone through the standard procedures, disabled all plugins, switched to 2016 theme, and did a manual reupload of WP 4.6. But we still can not update any themes or plugsin. AND we can’t seem to install anything “new” via the dashboard.

    We can manually FTP upload plugin updates, etc. But the dashboard won’t work for these common tasks.

    One other odd thing…. under the home dashboard – if we view WordPress News – we also can not get the RSS feed… we get a similar cURL error message

    RSS Error: WP HTTP Error: cURL error 23: Failed writing header

    RSS Error: WP HTTP Error: cURL error 23: Failed writing body (871 != 883)

    Any help would be greatly appreciated.

Viewing 10 replies - 31 through 40 (of 40 total)
  • Yup. 4.6.1 still being used. Adding the return false; allows cURL to run – so updates and new plugins can be installed. But I have to edit the core file to get it to work. A less than desirable solution.

    What version of PHP are you using?

    Also another support volunteer said this.
    Download failed. cURL error 23: Failed writing body (667 != 784) is a great indicator of an outdated cURL library version, there’s some https issues in some older versions.

    I updated manually to 4.6.1 and edited the php.ini adding curl_exec to disable_functions.
    No core files were edited and it works now for me.
    Are any negative effects to be expected?

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    Alas, WordPress 4.6.1 update failed to permanently fix the Curl Issue. It actually causes the problem to re-occur.

    It looks like mbstring.func_overload PHP setting might be the culprit here: https://core.trac.wordpress.org/ticket/38226

    • Could you check if it’s enabled on your install?
    • If you could also test the patch on the linked Trac ticket, that would be great.

    php 5.5 – work
    php 5.6 – error 23

    It is necessary to disable mbstring.func overload.
    Or put a value = 0

    mbstring.func_overload = 0

    i see this [/vc_row_inner] on my front page . please how can i make it go off??

    @anoruoanthony: This thread is old and is not active anymore. Please post your own support thread.

    I am also getting Curl problem on update latest version of wordpress. When i was talk with my hosting provider regarding this they said that in your hosting account port 80 is disable. I went to cpanel and enable port 80 and problem has gone. Thanks

Viewing 10 replies - 31 through 40 (of 40 total)
  • The topic ‘After Update to 4.6 keep getting cURL error 23’ is closed to new replies.