Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I am using CentOS 5.5. I am using wget to download a large file. There is also a proxy server involved. Previously i did not have such problems. I ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Location
    Bangalore, India
    Posts
    12

    [SOLVED] wget: 416 Requested Range Not Satisfiable

    Hi,

    I am using CentOS 5.5. I am using wget to download a large file. There is also a proxy server involved. Previously i did not have such problems.

    I am using wget like this:

    Code:
    wget 'site_hosting_file.avi'
    I am unable to write this this properly in this post as i am only allowed to post URLs to other sites after i have made 15 posts or more.

    After around 1 to 5 mb gets downloaded i get the message
    416 Requested Range Not Satisfiable
    Is is a problem where settings for the proxy server have been set to limit file download size or is it a problem on the part of the site which hosts the avi file?

    Additionally, using the --continue option in wget gives me the same error along with
    The file is already fully retrieved; nothing to do.
    Thanks.

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Location
    Bangalore, India
    Posts
    12
    Hi,

    If this is the wrong section could the moderators move the thread to the appropriate one like 'servers' or 'networking'.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    The 416 error is always from the client (or proxy) asking for a range of bytes that do not exist in the file, so it's almost certainly not the hosting site that's at issue.

    It smells like the proxy server munging up the transfer, whether intended or unintended. Are you able to test whether you can retrieve the same file using a browser?

  4. #4
    Just Joined!
    Join Date
    Oct 2008
    Location
    Bangalore, India
    Posts
    12
    Hi,

    Thanks for the reply.

    Well, i again tried today. The 1st time only around 50mb got downloaded; the 2nd time i got lucky and the entire 330mb file got downloaded. So i do not know what has been set by the admins.

    Regarding your question about retrieving the same file using a web browser (in my case Firefox), yesterday i had managed to download the files using the browser whereas the same was not being allowed by wget. But in some cases even using Firefox i wasn't able to download the files.

    Is there any other information/query you would like to provide?

  5. #5
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Quote Originally Posted by samrat_rao View Post
    Hi,

    Thanks for the reply.

    Well, i again tried today. The 1st time only around 50mb got downloaded; the 2nd time i got lucky and the entire 330mb file got downloaded. So i do not know what has been set by the admins.

    Regarding your question about retrieving the same file using a web browser (in my case Firefox), yesterday i had managed to download the files using the browser whereas the same was not being allowed by wget. But in some cases even using Firefox i wasn't able to download the files.

    Is there any other information/query you would like to provide?
    IMO, that all points to an unintended glitch in the proxy interaction with the remote server. I've seen similar issues with downloads intermittently not working with both Linux and Windows clients behind firewalls, particularly Bluecoats. I don't recall specifically seeing the 416 error on an incident, though, and I never get any feedback as to what the firewall guys did to enable consistent downloads for a specific client or group of clients.

    You'll probably need to take it up with the proxy admins at your site.

  6. #6
    Just Joined!
    Join Date
    Oct 2008
    Location
    Bangalore, India
    Posts
    12
    Hi,

    The problem seems to have resolved itself --- for now. Maybe the admins were apprised of the situation. Wonder what had gone wrong.

    Thanks for telling me that the problem was from my side i.e. the proxy server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...