I have been trying to upgrade Magento from to 1.9.2 for a few days but every time I try I get the error:

Package community/Mage_All_Latest failed: Cannot connect to host: connect20.magentocommerce.com

Any ideas what could be causing this?

2 Answers 2


Could be a lot of issues. I should start by checking if there might be something wrong with config files in your downloader folder. I would compare it to another to see differences. If it doesn't work i suggest an upgrade by SSH. Here's a step by step tutorial about that.


  • Hi. Thanks for this but we are getting the same error when trying to upgrade via SSH as well. It seems to have started since installing the latest Magento security patches.
    – a1anm
    Jul 28, 2015 at 17:12
  • Upgrade to the latest versions of curl and openSSL. Feb 8, 2016 at 20:50

I had this same problem and it was related to the URL path in Admin/Connect Manager. Here's how to fix it: https://stackoverflow.com/a/36926666/6269028

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.