Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Can’t install extensions - couldn’t connect to host
 
rhyu
Jr. Member
 
Total Posts:  5
Joined:  2011-01-05
 

I recently installed a clean copy of magento 1.5.1.0. When i tried to install an extension using magento connect manager (Magento Connect Manager ver. 1.5.0.1), i keep getting error “couldn’t connect to host”.

I tried both ver1 and ver2 extensions..

version 1 - magento-community/Netz98_ModuleCreator
Could not resolve host: magento-community; Host not found

version 2 - http://connect20.magentocommerce.com/community/Netz98_ModuleCreator
couldn’t connect to host

my MCM settings, i have HTTP and Beta

What is wrong? Could it be the proxy problem? My office do have proxy, how to set the proxy for magento 1.5?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melie
Jr. Member
 
Total Posts:  2
Joined:  2008-12-18
 

From FAQ, fixed it for me!

CONNECT ERROR: Couldn’t resolve host ‘magento-core’ - This error means you’re trying to install a 2.0 extension on a version of Magento prior to 1.5.  If you are on Magento prior to 1.5 you must use 1.0 extensions.

 
Magento Community Magento Community
Magento Community
Magento Community
 
thehulk2000
Jr. Member
 
Total Posts:  10
Joined:  2011-06-09
 

Thanks, that solved my issue too!

 
Magento Community Magento Community
Magento Community
Magento Community
 
ben_incani
Jr. Member
 
Total Posts:  13
Joined:  2010-06-16
 

Magento 1.5 has moved the built-in downloader away from the original PEAR-architecture towards their own. Bravo!

If you are behind a proxy and have curl installed then your ONLY (could somebody please prove me wrong!) option for you to get the fabled Magento Downloader working is to edit the downloader php source.

open
downloader/lib/Mage/HTTP/Client/Curl.php

and add the following line after $this->_ch = curl_init();
$this->curlOption(CURLOPT_PROXY, “http://your_proxy_ip:your_proxy_port");

now you can run the mage command all day long
./mage list-channels
./mage channel-add http://connect20.magentocommerce.com/community
./mage list-available

good-luck

 
Magento Community Magento Community
Magento Community
Magento Community
 
Deivid
Jr. Member
 
Total Posts:  15
Joined:  2007-11-08
 

How do I know wether or not one is behind a proxy?

I’m running 1.5.1. clean install too, tried installing a 1.0 extension and got the “Couldn’t resolve host ‘magento-community’ error message. Does this automatically mean I’m behind a proxy? And do I need to contact my service provider to find out the proxy address etc?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ben_incani
Jr. Member
 
Total Posts:  13
Joined:  2010-06-16
 

Magento version 1.5 needs to use 2.0 extensions.

so try a different url e.g.
http://connect20.magentocommerce.com/community/AW_Blog

or on the comand line:
./mage list-files http://connect20.magentocommerce.com/community AW_Blog

 
Magento Community Magento Community
Magento Community
Magento Community
 
the_maestro
Jr. Member
 
Total Posts:  1
Joined:  2012-01-20
 

I had the same problem. I’m running magento on localhost (wamp server). the issue was about my firewall blocking the downloading process. Everything has been working perfectly since I disabled my firewall smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
symi
Jr. Member
 
Total Posts:  1
Joined:  2011-11-17
 

Thank you for the reply. I have used http://connect20.magentocommerce.com/community/AW_Blog to install blogg module. Now its working fine.
Thanks a lot!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rlisario
Jr. Member
 
Total Posts:  3
Joined:  2013-01-11
 

I’ve same problem with module creator.

I’ve resolved with:
http://connect20.magentocommerce.com/community/Netz98_ModuleCreator

Bye,
Rinaldo

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top