winros_init_workspace crash with "407 Proxy Authentication Required"

asked 2015-04-17 02:57:43 -0500

AldurDisciple gravatar image

I am trying to configure a Hydro WinRos workspace, but the "winros_init_workspace" command seems to require internet access. The problem is that I am working behind a proxy. When I run the winros_init_workspace command, I get the following error:

(path)>winros_init_workspace ROSWorkspace
Writing (path)\ROSWorkspace\src\.rosinstall

update complete.
Traceback (most recent call last):
  File "c:\opt\Python27\Scripts\\winros_init_workspace.py", line 103, in <module>
    win_ros.write_toplevel_cmake(os.path.join(base_path, 'src'), toplevel_cmake_url)
  File "c:\opt\Python27\lib\site-packages\win_ros\workspace.py", line 115, in write_toplevel_cmake
    u = urllib2.urlopen( toplevel_cmake_url )
  File "c:\opt\Python27\lib\urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "c:\opt\Python27\lib\urllib2.py", line 404, in open
    response = self._open(req, data)
  File "c:\opt\Python27\lib\urllib2.py", line 422, in _open
    '_open', req)
  File "c:\opt\Python27\lib\urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "c:\opt\Python27\lib\urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "c:\opt\Python27\lib\urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error Tunnel connection failed: 407 Proxy Authentication Required>

Is there a way to configure proxy authentification ?

edit retag flag offensive close merge delete