This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Header is not complete - YUM

Hi. 

I have a problem with the debian/CentOS yum update program. 
Certain packages are not able to be downloaded and yum complains with
"[Errno -1] Header is not complete."
Many hints are guiding towards not a correctly working transparent proxy. 
Can somebody giving me a hint how to solve that?
I operate v6.304 in transparent mode. 
Many thanks in advance. 

Regards
Danny


This thread was automatically locked due to age.
Parents
  • Probably best to manually configure the proxy in the YUM settings.

    Barry
  • Even configuring yum to use the proxy explicitly by setting the appropriate http_proxy and ftp_proxy environment variables does not work.

    It does not work because yum asks for parts of files using HTTP Range requests. But the firewall ignores Range requests and instead returns the entire file. yum does not recognize the fact that the entire file is being returned and pukes.

    I've opened up trouble tickets in the past and Astaro has said "will not fix" as this would possibly allow unscanned traffic through the firewall.

    Perhaps if more people opened up trouble tickets it would help.

    As a workaround, I have configured a separate internal proxy which I point all my clients to and configured it to forward all requests to Astaro firewall except for .rpm files.

    I need the proxy to work as it saves a significant amount of bandwidth for server updates!

    BTW, search for "http range request" for more threads on this topic.
Reply
  • Even configuring yum to use the proxy explicitly by setting the appropriate http_proxy and ftp_proxy environment variables does not work.

    It does not work because yum asks for parts of files using HTTP Range requests. But the firewall ignores Range requests and instead returns the entire file. yum does not recognize the fact that the entire file is being returned and pukes.

    I've opened up trouble tickets in the past and Astaro has said "will not fix" as this would possibly allow unscanned traffic through the firewall.

    Perhaps if more people opened up trouble tickets it would help.

    As a workaround, I have configured a separate internal proxy which I point all my clients to and configured it to forward all requests to Astaro firewall except for .rpm files.

    I need the proxy to work as it saves a significant amount of bandwidth for server updates!

    BTW, search for "http range request" for more threads on this topic.
Children
No Data