|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Is there any way to specify a proxy for OSC to use?
Thanks, Mike |
|
|||
|
So ... the question is old, but I had the same problem and it takes me some time to fix it, so I describe what I did... because it seems that not a lot oft people fix it yet//
My problem was that I'm behind a https- proxy (and was not allowed do go around it) and in this case, the python-lib urllib2 is the main problem, because it can not deal with it. So first you have to patch the urrlib2 (and the httplib) - the patch can be found here: Issue 1424152: urllib/urllib2: HTTPS over (Squid) Proxy fails - Python tracker Next, you have to comment out some lines in the osc-lib, in the conf.py file (I found the file in /usr/lib/python2.6/osc/conf.py) comment out lines 204 - 207 if 'https-proxy' in os.enviro: del os.environ[https-proxy] if 'HTTPS-PROXY' in os.enviro: del os.environ[HTTPS-PROXY] I did it that way and now everything works fine... |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|