Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Error: WordPress could not establish a secure connection to WordPress.org

Discussion in 'Misc WordPress Requests' started by peterbb, Oct 12, 2017.

  1. peterbb


    Error: WordPress could not establish a secure connection to WordPress.org, by peterbb

    I’ve installed WordPress 4.8.2 on OpenBSD 6.2. I’ve installed and loaded the php-curl package, since someone on the internet claimed it is needed.

    The page is up and running—seems to work fine; I can upload media, edit and save themes in Appearance -> Editor (so that should mean it has write access, something I’ve also checked manually), create posts, the site looks beautiful when viewed, etc.

    The problem I’m trying to solve, is to change the site language. I’ve gone to Settings -> General, but the Site Language option is not there. However, by enabling WP_DEBUG I can see the following error message:

    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 /htdocs/<redacted>/wp-admin/includes/translation-install.php on line 65

    The same error also appears other pages, such as Plugins -> Add New.

    From the shell on the server, I can curl both http://api.wordpress.org/translations/ and https://api.wordpress.org/translations, and receive a HTTP response—so there is nothing on the server blocking access.

    I’ve tried the following, with no difference in outcome:

    • Disable firewall.
    • I’ve enabled caching dns, and I’ve also tried to add entries to /etc/hosts, in order to speed up DNS-lookup.
    • In—for instance wp-admin/includes/translation-install.php—I’ve changed timeout to 3000 at line 44 in my file.

    I’ve rebooted the server between these efforts. The outcome is exactly as before.

    Could anyone offer any help? Thanks in advance.

    Error: WordPress could not establish a secure connection to WordPress.org

Share This Page

Monarch Social Sharing Plugin