[opensuse-buildservice] urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 414: Request-URI Too Large
When attempting to build xen with osc-0.136.0-86.1 for Factory I get the error: urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 414: Request-URI Too Large The string url in /usr/lib64/python2.6/site-packages/osc/fetch.py:__fetch_cpio is around 10K long. No idea if the webserver is supposed to handle that. Perhaps that function could be smarter and avoid doing the cpio request if the URL gets above a certain limit. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2012-10-05 21:08:59 +0200, Olaf Hering wrote:
When attempting to build xen with osc-0.136.0-86.1 for Factory I get the error:
urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 414: Request-URI Too Large
The string url in /usr/lib64/python2.6/site-packages/osc/fetch.py:__fetch_cpio is around 10K long. No idea if the webserver is supposed to handle that.
Perhaps that function could be smarter and avoid doing the cpio request if the URL gets above a certain limit.
Probably the best is to split the cpio request in several small requests if a 414 occured. I'll have a look at it. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2012-10-09 11:38:58 +0200, Marcus Hüwe wrote:
On 2012-10-05 21:08:59 +0200, Olaf Hering wrote:
When attempting to build xen with osc-0.136.0-86.1 for Factory I get the error:
urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 414: Request-URI Too Large
The string url in /usr/lib64/python2.6/site-packages/osc/fetch.py:__fetch_cpio is around 10K long. No idea if the webserver is supposed to handle that.
Perhaps that function could be smarter and avoid doing the cpio request if the URL gets above a certain limit.
Probably the best is to split the cpio request in several small requests if a 414 occured. I'll have a look at it.
I just pushed a fix to git master (commit 161b9ca274ea75d997d49870dcfb4478d1c1f5aa). Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Marcus Hüwe
-
Olaf Hering