Error: WordPress could not establish a secure connection to WordPress.org
-
I’ve installed WordPress 4.8.2 on OpenBSD 6.2. I’ve installed and loaded the
php-curlpackage, 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_DEBUGI 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 65The same error also appears other pages, such as Plugins -> Add New.
From the shell on the server, I can
curlbothhttp://api.wordpress.org/translations/andhttps://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 changedtimeoutto3000at 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.
The topic ‘Error: WordPress could not establish a secure connection to WordPress.org’ is closed to new replies.