Monday, November 23, 2020
Home Blogging How to Fix Secure Connection Error in WordPress

How to Fix Secure Connection Error in WordPress

Are you seeing ‘Unable to determine secure connection error’ in WordPress? It’s a widespread WordPress error and often happens when you find yourself making an attempt to put in or replace a WordPress plugin or theme from official listing. On this article, we’ll present you why this error happens and tips on how to simply repair secure connection error in WordPress.

What Causes Unable to Set up Secure Connection Error in WordPress?

WordPress comes with a built-in system to handle updates. This technique usually checks for updates and present notifications so that you can set up plugin / theme updates.

Nevertheless, it wants to connect with the web site to be able to test for updates or set up them. As a consequence of some misconfiguration in your WordPress internet hosting server, your web site might fail to attach with web site.

This may lead to a secure connection error, and you will note an error message like this:

An sudden error occurred. One thing could also be improper with or this server’s configuration. In the event you proceed to have issues, please attempt the help boards. (WordPress couldn’t set up a safe connection to Please contact your server administrator.) in /dwelling/username/public_html/wp-admin/consists of/replace.php on line 122

That being mentioned, let’s see tips on how to simply repair secure connection error in WordPress.

Fixing Secure Connection Error in WordPress

There are a number of methods to repair the sudden secure connection error in WordPress. You’ll be able to attempt one of many following options based mostly in your scenario.

Internet hosting and Server Associated Points

In case your shared internet hosting server is underneath DDoS assault, then it’s probably that the connection to will timeout inflicting the secure connection error.

In that case, you possibly can look forward to a couple of minutes and take a look at once more. If the error persists, then it’s essential to attain out to your hosting firm’s help staff.

Cloud or VPS Server Connectivity Subject

If you’re on a cloud or VPS internet hosting, then it’s attainable that your server is unable to connect with resulting from some DNS points.

In that case, you possibly can level your server on to servers. You have to to connect with your server utilizing SSH.

SSH is brief for safe shell which is an encrypted protocol that permits you to hook up with your server utilizing command line instruments.

Home windows customers can use a software referred to as PuTTy whereas Mac / Linux customers can use the terminal app.

You have to login credentials for the account with shell entry to your internet hosting account. You may get this data out of your internet hosting account’s cPanel dashboard or ask your hosting server supplier.

Within the terminal, you possibly can hook up with your server like this:


Don’t overlook to exchange username with your individual username and with your individual area title.

As soon as linked, it’s essential to run the next command:

sudo nano /etc/hosts

This may open a file, and you have to so as to add the next code on the backside of the file:


Now you can save your adjustments and exit the the editor. Go to your web site to see if this resolved the error.

Fixing WordPress Secure Connection Error on Localhost

If you’re working WordPress by yourself laptop (localhost), then it’s possible you’ll not have cURL extension enabled for PHP. This extension is required to entry for updates.

You have to to edit the php.ini file in your laptop. This file is often positioned within the PHP folder of your Mamp, Xampp, or WAMP folder.

If you’re on a Home windows laptop, then search for the next line:


Mac and Linux customers must search for this line:


Now it’s essential to take away the semicolon earlier than the textual content to allow the extension. Don’t overlook to avoid wasting your php.ini file.

Lastly, don’t overlook to restart the Apache server for adjustments to take have an effect on.

Test Open Ports in Firewall

If cURL extension is correctly put in in your native server, then the following step is to test your web connection firewall.

Your laptop’s firewall could also be blocking outgoing connections from native server to If you’re on Home windows, then press the beginning button and seek for Home windows Firewall. Mac customers can discover firewall settings in System Preferences » Safety & Privateness

It is advisable add Apache to your firewall’s allowed applications and permit each incoming and outgoing connections.

You have to to restart Apache for adjustments to take impact.

You May Also Like : How to Turn Off PHP Errors in WordPress

We hope this text helped you resolve the WordPress secure connection error. You may additionally need to see our final step-by-step WordPress safety information for freshmen.

If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.


Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

50 Best Online Jobs From Home For Students – Earn 20K PM

In latest years, the alternatives for online jobs from home for students have gained great reputation. This is as a result of many of the...

Best Answers to the Question “Why should you be hired for this Internship?”

What is the greatest approach to ace an internship interview? Especially for a more energizing who has by no means appeared for a job-related...

Does Instagram Notify You if Someone Screenshots Your Story?

When Snapchat first burst on the scene, there have been loads of individuals very completely happy concerning the prospect of sending pictures to people...

How to Change Background Color on Instagram Story

It's arduous for me to recollect Instagram earlier than the tales characteristic was launched — it is a simple possibility for sharing updates and...

Recent Comments