Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #3858 pear list-all gives a proxy error
Submitted: 2005-03-17 08:27 UTC
From: laxman_lawande at yahoo dot com Assigned: danielc
Status: Duplicate Package: XML_RPC
PHP Version: 5.0.3 OS: fedora core 1
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-17 08:27 UTC] laxman_lawande at yahoo dot com
Description: ------------ I am using a proxy server have a defined host and port. I am trying to download pear packages using the pear command line utility but when issue the command pear list-all , I get the following error --- <PRE>---GOT--- HTTP/1.0 503 Service Unavailable Server: Squid/2.3.STABLE4 Mime-Version: 1.0 Date: Thu, 17 Mar 2005 07:11:40 GMT Content-Type: text/html Content-Length: 842 Expires: Thu, 17 Mar 2005 07:11:40 GMT X-Squid-Error: ERR_DNS_FAIL 0 X-Cache: MISS from ho.dempos.com Proxy-Connection: close <HTML><HEAD> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> </HEAD><BODY> <H2>The requested URL could not be retrieved</H2> <HR> <P> While trying to retrieve the URL: <A HREF="http://http//pear.php.net:80/xmlrpc.php">http://http//pear.php.net:80/xmlrpc.php</A> <P> The following error was encountered: <BLOCKQUOTE> Unable to determine IP address from host name for <I>http</I> </BLOCKQUOTE> <P> The dnsserver returned: <BLOCKQUOTE> Name Error: The domain name does not exist. </BLOCKQUOTE> <P> This means that: <PRE> The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. </PRE> <P>Your cache administrator is <A HREF="mailto:root">root</A>. <br clear="all"> <hr noshade size=1> Generated Thu, 17 Mar 2005 07:11:40 GMT by ho.dempos.com (Squid/2.3.STABLE4) </BODY></HTML> ---END--- </PRE>Didn't receive 200 OK from remote server. (HTTP/1.0 503 Service Unavailable) Please help me Regards Laxman

Comments

 [2005-03-17 09:30 UTC] mj
This is most likely a problem with your local configuration or your proxy server. Can you please paste the ouput of "pear config-show"? At least with PEAR 1.4.0a2 proxy support works fine for me.
 [2005-03-17 15:34 UTC] danielc
Was entered as a "PEAR" bug. It's probably a duplicate of "XML_RPC" bug 3679. Please upgrade your XML_RPC to version 1.2.2. You may need to do this by downloading the file manually (http://pear.php.net/get/XML_RPC-1.2.2.tgz) and installing it from the file. The following command should do the trick: pear upgrade XML_RPC-1.2.2.tgz