Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • if you’ve changed that to 30 or 45 or higher number but still get the error, change it to 0. 0 means that no timeout limit.

    'timeout' => apply_filters( 'http_request_timeout', 0),

    If by using that way you still get the error, you need to contact your administrator because I think that your server connection is not good.

    The cause of error is too long in the process of requesting the API plugin in the wordpress server so that the operation timed out. By default, wordpress give 5 seconds time limit to request a plugin. If within 5 seconds does not get a replay, then the process will be stopped and displayed an error “An Unexpected HTTP error occurred during the API request.”

    Open wp_include/http.php file on line 223

    ‘timeout’ => apply_filters( ‘http_request_timeout’, 5),

    change the script above into

    ‘timeout’ => apply_filters( ‘http_request_timeout’, 30),

    If you understand about Indonesian language, You can visit my new blog here. Here is the complete explanation.

Viewing 2 replies - 1 through 2 (of 2 total)