download of a package through RHN proxy, using a private channel fails with "UnsatisfyableByteRangeException"

Solution Verified - Updated -

Issue

  • download of a package through RHN proxy, using a private channel fails with this error in the apache error_log :
[error]   File "/usr/share/rhn/proxy/apacheServer.py", line 63, in __call__
[error]     ret = f(req)
[error]   File "/usr/share/rhn/proxy/apacheHandler.py", line 358, in handler
[error]     return self.response(req, ret)
[error]   File "/usr/share/rhn/proxy/apacheHandler.py", line 452, in response
[error]     return self.response_file(req, response)
[error]   File "/usr/share/rhn/proxy/apacheHandler.py", line 405, in response_file
[error]     (start, end)=parse_byteranges(req.headers_in['Range'], size)
[error]   File "/usr/lib/python2.6/site-packages/spacewalk/common/byterange.py", line 57, in parse_byteranges
[error]     raise UnsatisfyableByteRangeException
  • error 500 reported by a client using yum to download a package stored in the private channel of the RHN proxy

Environment

  • Red Hat Network Proxy 5
  • Private channel in use on the proxy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.