Does it work if you specify '-x webprox1.local:3128'?<br><br>CC<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 3:47 AM, Eric <span dir="ltr"><<a href="mailto:linux_4_u@yahoo.com">linux_4_u@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
<br>
I am having issues with the script rhn-clone-errata.py using a forwarding proxy.<br>
I tried setting the environment variables<br>
http_proxy=<a href="http://webprox1.local:3128" target="_blank">http://webprox1.local:3128</a><br>
https_proxy=<a href="http://webprox1.local:3128" target="_blank">http://webprox1.local:3128</a><br>
<br>
Then I run the rhn-clone-errata.py script on the server running spacewalk as follows:<br>
        export<br>
       /usr/local/sbin/rhn-clone-errata.py -s spacewalk.local -l swadmin -p secret -v -u -c rhel-i386-server-5<br>
<br>
The issue is that the server which spacewalk is running on is firewalled from the Internet, but it has access<br>
via a squid proxy.<br>
<br>
I tried the following to no avail: <a href="http://www.mail-archive.com/spacewalk-devel@redhat.com/msg01974.html" target="_blank">http://www.mail-archive.com/spacewalk-devel@redhat.com/msg01974.html</a><br>
<br>
<br>
Traceback (most recent call last):<br>
  File "/usr/local/sbin/rhn-clone-errata.py", line 586, in ?<br>
    main()<br>
  File "/usr/local/sbin/rhn-clone-errata.py", line 502, in main<br>
    myRHN = RHNServer(svrRHN,userRHN,passRHN)<br>
  File "/usr/local/sbin/rhn-clone-errata.py", line 69, in __init__<br>
    self.rhnSession = self.rhnLogin(self.login,self.password,0)<br>
  File "/usr/local/sbin/rhn-clone-errata.py", line 73, in rhnLogin<br>
    rhnSession=self.server.auth.login(login,password)<br>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__<br>
    return self.__send(self.__name, args)<br>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request<br>
    verbose=self.__verbose<br>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request<br>
    self.send_content(h, request_body)<br>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content<br>
    connection.endheaders()<br>
  File "/usr/lib/python2.4/httplib.py", line 798, in endheaders<br>
    self._send_output()<br>
  File "/usr/lib/python2.4/httplib.py", line 679, in _send_output<br>
    self.send(msg)<br>
  File "/usr/lib/python2.4/httplib.py", line 646, in send<br>
    self.connect()<br>
  File "/usr/lib/python2.4/httplib.py", line 1072, in connect<br>
    sock.connect((self.host, self.port))<br>
  File "<string>", line 1, in connect<br>
socket.error: (110, 'Connection timed out')<br>
<br>
Thanks,<br>
<br>
-Eric<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>RHCE#805007969328369<br>