Jhbuild build throwing 407 authentication error

I am trying to install jhbuild. When I give a command jhbuild build, it gives me an error -

jhbuild build: could not download https://git.gnome.org/browse/jhbuild/plain/modulesets/gnome-apps-3.18.modules: <urlopen error Tunnel connection failed: 407 Proxy Authentication Required>

I am behind college proxies and Ubuntu 14.04. How to find a way to solve this problem?

+1
source share
1 answer

Your college proxy might have some authentication. Put the correct proxy settings in the environment by adding this

export http_proxy="http://[username]:[password]@[proxy.server.com]:[port]"
export https_proxy="http://[username]:[password]@[proxy.server.com]:[port]"

in your .bashrc or any other init configuration files. Even if this shows the same error, I came across a good proGY tool (intermediate proxy authenticator). You will also need to set the proxy server url as above, in git config as well

 git config --global http.proxy http://[username]:[password]@[proxy.server.com]:[port]
 git config --global https.proxy http://[username]:[password]@[proxy.server.com]:[port]

, git , jhbuild URL- http://git git://clone URLS.

 repos['git.gnome.org'] = 'https://git.gnome.org/browse/'  
 repos['git.freedesktop.org'] = 'http://anongit.freedesktop.org/git/'  
 repos['wayland.freedesktop.org'] = 'http://anongit.freedesktop.org/git/wayland'
 repos['gstreamer.freedesktop.org'] = 'http://anongit.freedesktop.org/git/gstreamer'  
 repos['pulseaudio.freedesktop.org'] = 'http://anongit.freedesktop.org/git/pulseaudio'  
 repos['telepathy.freedesktop.org'] = 'http://anongit.freedesktop.org/git/telepathy'  
 repos['modemmanager.freedesktop.org'] = 'http://anongit.freedesktop.org/git/ModemManager'  
 repos['git.savannah.nongnu.org'] = 'http://git.savannah.gnu.org/r/'  
 repos['github.com'] = 'https://github.com/'

jhbuildrc ( ~/.config/jhbuildrc)

+2

All Articles