Skip to content
February 5, 2011 / thebengaliheart

Axel behind authenticated proxy

When we use axel from behind an authenticated proxy, Axel fails to download, giving a ‘HTTP 407 Authentication Required’ error. I wrote a patch for that. Now it downloads fine. This is useful for me because I often use the LUG proxy which is authenticated.

This was the result earlier

$ axel http://lug.nitdgp.ac.in/download/coupons.zip
Initializing download: http://lug.nitdgp.ac.in/download/coupons.zip
HTTP/1.0 407 Proxy Authentication Required
$
After the change, it works like this

./axel http://lug.nitdgp.ac.in/download/coupons.zip
Initializing download: http://lug.nitdgp.ac.in/download/coupons.zip
File size: 140008 bytes
Opening output file coupons.zip
Starting download

[  0%]  .......... .......... .......... .......... ..........  [ 520.5KB/s]
[ 36%]  .......... .......... .......... ....
Connection 0 finished
        ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,...... ..........  [ 971.0KB/s]
[ 73%]  .......... .....
Connection 2 finished
        ,,,,,,,,,, ,,,,,..... ..........
Connection 1 finished
        ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ......

Downloaded 136.7 kilobytes in 0 seconds. (1251.41 KB/s)
$
Advertisements

4 Comments

Leave a Comment
  1. debayan / Feb 5 2011 11:06 pm

    Good.

  2. usman / Feb 9 2011 8:48 am

    How do you fix that? please tell me…. I have a problem with axel proxy authentication…. and I still don’t know how to fix it..

  3. thebengaliheart / Feb 9 2011 2:26 pm

    I have sent the patch to axel upstream. Hope it gets accepted soon, then you can download with it. Anyways, it will be available on the fedora repository soon.

  4. saurabharaiyer / Feb 17 2011 4:10 pm

    subscribed 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: