Jump to content
ajaxthemestudios

cURL error 6: Could not resolve host: api-addons.prestashop.com

Recommended Posts

I have reported this issues before and and search the forum. This problem remains unresolved.

If you are working in the module section of Prestashop  backend on a local server and then you disconnect from the internet, accessing the modules section throws up an error page with the message - 

ConnectException in CurlFactory.php line 126:

cURL error 6: Could not resolve host: api-addons.prestashop.com

The module section will only start working again if you connect back to the internet. If you do not, it will continue to show error and you cannot do anything except you go to other pages on the backend.

It seems Prestashop is trying to connect to api-addons.prestashop.com and then display an error if it cannot. This does not look right. The module area should not become inaccessible because you are not connected to the internet.

I hope the developer do something about this because it is easy to miss.

 

Share this post


Link to post
Share on other sites

I have exactly the same problem for all Prestashop websites of the same server. It suddenly happened without modifying any configuration anywhere... Does someone have a solution ?

Share this post


Link to post
Share on other sites
On 3/12/2019 at 11:19 PM, Bruno G said:

I have exactly the same problem for all Prestashop websites of the same server. It suddenly happened without modifying any configuration anywhere... Does someone have a solution ?

Maybe you are not connected to the internet. I found out that I get this error when I am offline and working with prestashop on local server.

Share this post


Link to post
Share on other sites
On 5/2/2019 at 3:08 PM, ajaxthemestudios said:

Maybe you are not connected to the internet. I found out that I get this error when I am offline and working with prestashop on local server.

Well, my problem was totally different : I had a full partition and the file where hosts are listed was swapped and broken (in a debian server). I had to remove stuff in partition, and re-generate this file where hosts are listed (I dont remember the name). This was not a Prestashop error at all.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More