• Resolved catman66

    (@catman66)


    I recently did the web interface upgrade to 4.1 for several domains I’m hosting (all separate instances of WP with their own database), and on all of them, I’ve noticed the main site seems to run okay, but the admin page is very slow. I receive an error in the apache error log and if debug is turned on in wp-config.php:

    “PHP Warning: An unexpected error occurred. Something may be wrong with www.remarpro.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.remarpro.com. Please contact your server administrator.) in /var/www/html/pri/wp-includes/update.php on line 295.”

    I have not had any problems with WP with previous versions, and read something recently about www.remarpro.com only allowing SSL connections. I can make an SSL connection from the command line on my host server (Centos 6.5), and I have the most recent Centos version of PHP and curl, with SSL enabled. As far as I can tell, I can connect to wordpress using curl via SSL.

    PHP Version 5.3.3

    cURL support enabled
    cURL Information 7.19.7
    SSL Yes
    SSL Version NSS/3.16.2.3 Basic ECC

    OpenSSL support enabled
    OpenSSL Library Version OpenSSL 1.0.1e-fips 11 Feb 2013
    OpenSSL Header Version OpenSSL 1.0.1e-fips 11 Feb 2013

    I’m rather stumped on what else to do for diagnostics, as the only real problem is that the WP admin pages are extremely slow to load. There are no other error messages evident. I don’t seem to have processor, disk space, or memory issues, and the apache configuration hasn’t changed. I even opened an outgoing TCP port for port 443 in iptables, but that hasn’t resolved the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    This error is likely due to an issue with yours’/ hosts’ server. Try contacting your hosting provider about this.

    Also, look at the Memory usage, HTTP requests, AJAX and slow queries.

    It could be your revisions, a plugin’s AJAX, a bad query, etc.

    You may need to add more RAM to your server which usually solves a lot of slow loading admin issues, especially if you have multiple editors in the admin.

    Check out how themes are plugins are interacting with the admin.

    Thus, there is no all in one solution.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    cURL Information 7.19.7

    That’s quite an old version of curl there, dating back to November 4, 2009. Also, the fact that it’s using NSS for the SSL support is odd. Normally I see it using some version of OpenSSL there.

    I’d look into checking whether your distribution has a more up-to-date version of the PHP system overall. Look for the php-curl component, and the openssl component, and just PHP in general.

    And while this is rather an extreme solution, you might want to step up to Centos 7 nowadays. It has PHP 5.4 in the stable version, with curl 7.29 I believe. Generally speaking, servers need upgrading too. The Long Term Stable versions are fine and all, but the tech advances regardless, and not everything gets backported to those LTS releases.

    Thread Starter catman66

    (@catman66)

    RESOLVED. (I think)
    The server is a stock centos 6.5 machine with recent updates, I may upgrade it to Centos 7, but that is not a priority right now. However, I DID notice there was an available update to openssl 1.0.1e and nss-softokn-3.14.3, both of which I installed. THAT seemed to fix the problem, not sure why.

    Anyway, thanks for the replies. This was an unusual problem in that I never saw an issue with previous versions of WP for these sites, it was only until I updated to 4.1 and/or www.remarpro.com required SSL only connections that I had the problem.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    This was an unusual problem in that I never saw an issue with previous versions of WP for these sites, it was only until I updated to 4.1 and/or www.remarpro.com required SSL only connections that I had the problem.

    A bit of backstory: When WordPress 3.7 was introduced, it added the feature to auto-update to minor version releases. As part of this, it was decided to require secure connections to get updates and the software, so as to prevent man-in-the-middle attacks. Meaning that yes, after 3.7, your system needs to be able to talk to the www.remarpro.com servers using https.

    Some older versions of SSL libraries don’t understand the newer SSL Certificates we use on www.remarpro.com. Specifically, they don’t know about Subject Alternative Names (SAN) and thus will fail the certificate check. Updating the SSL libraries will fix this problem and allow them to understand the more modern SSL Certificates. This can be trickier than it seems, because while some programs will indeed use the system SSL libraries, some others will have those libraries compiled into them statically (notably, older versions of wget commonly have this) and thus the program itself will need to be updated in those cases.

    Generally speaking, “update the various parts of the server” is a good first stab at fixing the “WordPress could not establish a secure connection to www.remarpro.com” issue, but because we cannot say for sure which parts of the system to update, it’s an unsatisfactory answer to many. Nevertheless, updating PHP and/or the various SSL libraries available will generally solve the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upgrade to 4.1, now admin really slow, complains no SSL to www.remarpro.com’ is closed to new replies.