• I am just one of a number of people who are getting this error when trying to update WP or Plugins, and it seems (at least in our case) to be related to our server not being configured with SSL, but our using Curl as the default method of transport.

    I added a debug line to wp-includes/update.php prior to the point where this error message appears:

    An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.

    Even though we do not have SSL defined, the value of $ssl is set to 1 (true).

    According to this thread wordpress.org/support/topic/wp_http_supports-array-ssl-yeilds-true-on-a-local-server WP assumes that SSL is defined if the default transport is Curl, regardless as to whether SSL is active on the server or not.

    I am not sure how to resolve this, but hopefully it helps identify the cause of the problem (at least for some people) and gives a clue as to how to fix it.

Viewing 1 replies (of 1 total)
  • Thread Starter Tony Payne

    (@poddys)

    Follow up….

    I installed the “Background Update Tester” plugin and this is showing “PASS” for everything, so we shouldn’t have a problem.

    However, on updating plugins, the screen stays on the “Installing” screen, even though the update has completed, and we get the following in the php.log:

    [23-Apr-2014 13:18:31 UTC] PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /www/zendsvr/htdocs/news/wp-includes/update.php on line 120

    (also lines 272 and 417).

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress could not establish a secure connection to WordPress.org’ is closed to new replies.