WordPress updates choke

All new CentOS 7 install but there is a problem with WordPress updates.
Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. WordPress could not establish a secure connection to WordPress.org. In /home/5milesmiles/public_html/wp-includes/update.php on line 457

The suspect is curlSSL however everything is updated. Searching around the answers to this problem seem to vary greatly. Version installed of OpenSSL are:

openssl-devel-1.0.1e-34.el7_0.7.x86_64 openssl-libs-1.0.1e-34.el7_0.7.x86_64 openssl-1.0.1e-34.el7_0.7.x86_64

After three days of working on the problem I am no closer. Just to try to look at a WordPress plugin list will trigger the error. Has anyone reported a similar problem before? I have not been able to find anyone on the forum but I have to assume everyone else is doing the same install so why just this server? That would be hard to believe. I could use a direction to search in. Stumped right now.



Howdy -- we unfortunately hadn't received any other reports of WordPress installs having a problem like you're describing.

One thing you may want to do is just verify that, using wget and/or curl, that you're able to contact wordpress.org from your server.

You may also want to review the Apache error logs for your domain in $HOME/logs/error_log to see if it shows any clues there.

curl works from the command line however on installing a new WordPress as a test it does not get the error. Perhaps it is unique to the one WordPress site which was migrated to the new machine. The new WordPress site is slow though when connecting to WordPress, but otherwise it appears to work. Running the top command shows the server is doing nothing really. I was hoping the new machine would be a true speed demon but it does not subjectively seem very fast. Thanks. Please feel free to close the ticket.

You may want to look to see if there are any WordPress plugins that have been installed, and if so, you may want to try disabling some/all of them to see if one of them is the culprit.

Also, sometimes DNS servers can be the cause of slowness -- you may want to review what DNS servers are setup in /etc/resolv.conf. If you have any other than just "", you may want to try disabling them temporarily, just to make sure that doesn't speed things up.