[0.14] bzrlib.errors.TransportError: Transport error: Server refuses to fullfil the request

John Arbash Meinel john at arbash-meinel.com
Sun Feb 11 13:46:02 GMT 2007


Jari Aalto wrote:
> I'm having a problem pulling from my own HTTP server. Deteils below.
> 
> - Could the error message be a little more verbose. Like printing 
>   possible reasons for and suggest actions to check.
> 
> In the server size all files and firs are drwxr-xr-x, I've also
> restarted apache2 but this doesn't affect the error. Perhaps this is
> an error in my side, just can't read it from the error.
> 
> Jari
> 

I agree it should describe what is going on. You are getting a 403 error.

Try the attached patch. I think I also found a bug in the 404 handler
(it was directly using HTTPError, but I couldn't find that imported
anywhere. Which surprises me a lot, because we do quite a few NoSuchFile
tests.)

John
=:->

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: urllib2_errors.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070211/1ad4b475/attachment.diff 


More information about the bazaar mailing list