On Apr 12, 2013 4:25 PM, "Ravindra Kumar" <ravindraku...@vmware.com> wrote:
>
> Thanks Toshio, "https_proxy=<proxy>" helped me to go little further. I
got a different error, here is the traceback:
>
> Traceback (most recent call last):
>   File "/usr/bin/fedora-packager-setup", line 108, in <module>
>     main()
>   File "/usr/bin/fedora-packager-setup", line 82, in main
>     fedora_cert.create_user_cert()
>   File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line
96, in create_user_cert
>     cert = fas.user_gencert()
>   File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line
731, in user_gencert
>     request = self.send_request('user/dogencert', auth=True)
>   File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py",
line 344, in send_request
>     auth_params=auth_params, retries=retries)
>   File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py",
line 394, in send_request
>     if 'exc' in data:
> TypeError: argument of type 'NoneType' is not iterable
>
> I also got a mail from fedoraproject.org that a certificate has been
generated for me.
>

This looks like a bug that we recently closed in python-requests.  See if
there's an update for that package available.

-Toshio

> FWIW, I get the following traceback if I provide one of
"all_proxy=<proxy>" or "http_proxy=<proxy>" or "proxy=<proxy>":
>
> Traceback (most recent call last):
>   File "/usr/bin/fedora-packager-setup", line 108, in <module>
>     main()
>   File "/usr/bin/fedora-packager-setup", line 82,
>     fedora_cert.create_user_cert()
>   File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line
96, in create_user_cert
>     cert = fas.user_gencert()
>   File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line
731, in user_gencert
>     request = self.send_request('user/dogencert', auth=True)
>   File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py",
line 344, in send_request
>     auth_params=auth_params, retries=retries)
>   File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py",
line 351, in send_request
>     verify=not self.insecure,
>   File "/usr/lib/python2.7/site-packages/requests/api.py", line 98, in
post
>     return request('post', url, data=data, **kwargs)
>   File "/usr/lib/python2.7/site-packages/requests/safe_mode.py", line 39,
in wrapped
>     return function(method, url, **kwargs)
>   File "/usr/lib/python2.7/site-packages/requests/api.py", line 51, in
request
>     return session.request(method=method, url=url, **kwargs)
>   File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 241,
in request
>     r.send(prefetch=prefetch)
>   File "/usr/lib/python2.7/site-packages/requests/models.py", line 632,
in send
>     raise ConnectionError(sockerr)
> requests.exceptions.ConnectionError: [Errno 101] Network is unreachable
>
> Thanks,
> Ravindra
>
> ----- Original Message -----
> From: "Toshio Kuratomi" <a.bad...@gmail.com>
> To: "Development discussions related to Fedora" <
devel@lists.fedoraproject.org>
> Sent: Friday, April 12, 2013 3:01:38 PM
> Subject: Re: Using fedora-packager-setup behind a proxy
>
> On Fri, Apr 12, 2013 at 11:59:21PM +0400, Alexey I. Froloff wrote:
> > On Fri, Apr 12, 2013 at 12:42:25PM -0700, Ravindra Kumar wrote:
> > > I keep getting network connection failures even after I specify
> > > HTTP_PROXY or ALL_PROXY env vars.
> > Shouldn't it be "http_proxy" and "all_proxy", in lower case?
>
> I suspect https_proxy is what's needed (although seeing the traceback
would
> help diagnose :-)
>
> -Toshio
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to