• Resolved Tom

    (@tomybyte)


    WordPress.org conncetion problems today. Each localhost installations of wordpress sites (development environements with XAMPP and Windows 10) get the following error always (permanently):
    Warning: An unexpected error occurred. … (WordPress could not establish a secure connection to WordPress.org. .. in [local_path]\wp-includes\update.php on line 175
    And this one:
    Warning: … WordPress could not establish a secure connection to WordPress.org. … in [local_path]\wp-admin\includes\translation-install.php on line 68

    I had this issue some times before but only at first login to the backend. Now everytime I go to update oder general settings this error occurs.

    Screenshot: https://my.hidrive.com/lnk/XCLh1zLf

    • This topic was modified 3 years, 4 months ago by Tom.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

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

    This typically means WordPress trying to connect to the update server in the background, but couldn’t.

    This could be due to a simple internet connection issue, or may be the server is temporarily offline, etc. This sort of connectivity issue usually resolves itself after a while.

    If not, try contacting your internet/hosting provider.

    Also, review this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-fix-secure-connection-error-in-wordpress/

    Thread Starter Tom

    (@tomybyte)

    @t-p thank you for your reply. I checked every point you mention in your reply. I have read the wpbeginner article. Nothing of it solved the problem.
    My (Vodafone) internet connection has no problems:
    DSL: connected ↓ 111.9 Mbit / s ↑ 32.0 Mbit / s

    If I deactivate WP_DEBUG, the error messages are minor, but the problem persist in the background and at some special places it becomes vissible.

    Remark: On remote linux web servers I have no connection issues with wordpress.org (wp-admin/update-core.php)

    I have no idea whats going on. I need further more support with this issue!

    Regards Tom

    • This reply was modified 3 years, 4 months ago by Tom.
    Thread Starter Tom

    (@tomybyte)

    Today I have setup a new installation of WP on localhost. Configuered with vhost.conf in XAMPP/apache as name.localhost. Almost everything is working fine, in spite of the access to wordpress.org (for expl. plugin-install.php) not working as not on any other local site I have installed on my development environment.
    I thought it could depend on my local apache web server. So installed all the newest versions in the XAMPP package with PHP 8 aso.

    Internetconnection is quite fine: downstream:↓ 111,9 Mbit/s upstream:↑ 32,0 Mbit/s
    I can reach: https://wordpress.org/wp-json w.o. problems

    But the secure connection issue to wordpress.org persists.
    I’m getting crazy. I have no idea left what I can do.

    Does anyone have any idea, whats going wrong?

    Regards Tom

    Moderator t-p

    (@t-p)

    Have you tried:
    – Deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – Switching to the Twenty Twenty theme to rule out any theme-specific problems.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter Tom

    (@tomybyte)

    @t-p: thank you the healt checker gave me the right path to solve the problem.
    All the local sites that had the server configuration problem (no secure connection) didn’t have an entry in the windows hosts file.
    I knew that there has to be the host resolving to 127.0.0.1 entries but I thought that a wildcard entry for localhost should work like: 127.0.0.1 *.localhost – but it seems it aint. After including: 127.0.0.1 name.localhost – the issue is gone.

    Moderator t-p

    (@t-p)

    Glad its sorted 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permanent connection errors to WordPress.org’ is closed to new replies.