Network glitches costing 15 minutes a pop
Mark Hammond
mhammond at skippinet.com.au
Sat Aug 16 03:37:42 BST 2008
Vincent writes:
> Then you're welcome to provide some wireshark traces (I
> understand that they can be hard to get for you) :-/
As I'm sure you have seen, John pointed at IRC logs where a wireshark
capture from my Windows box is referenced - its at
http://starship.python.net/crew/mhammond/bzr-hang-2.zip
Another thing to note from that conversation is that my ISP has a
transparent proxy which identifies itself as "squid/2.6.STABLE18" - which
may well turn out to be the problem (although Matthew (CCd) wasn't convinced
the problem did relate to that.
> Either by using http+urllib: instead of plain http: or by using
> the following plugin:
I get similar (but arguably worse) behaviour:
| 945.714 http readv of 5e6ab78b3e67f6f6cd8d6fa517bf29ce.six offsets => 1
collapsed 1
| 946.480 http readv of bf8c313b551d33e58f99ae1d130c3aa0.six offsets => 2
collapsed 2
| 1847.276 Traceback (most recent call last):
| File "bzrlib\commands.pyo", line 857, in run_bzr_catch_errors
| File "bzrlib\commands.pyo", line 797, in run_bzr
| ...
| File "bzrlib\index.pyo", line 967, in _read_and_parse
| File "bzrlib\transport\http\__init__.pyo", line 249, in _readv
| File "bzrlib\transport\http\response.pyo", line 268, in seek
| File "bzrlib\transport\http\response.pyo", line 191, in
_seek_to_next_range
| File "bzrlib\transport\http\response.pyo", line 122, in read_boundary
|InvalidHttpResponse: Invalid http response for
http://bazaar-vcs.org/bzr/.bzr/repository/indices/bf8c313b551d33e58f99ae1d13
0c3aa0.six: Expected a boundary
|(squid/2.6.STABLE18:496108C51A70127AB163F74011CD1F5F) line, got ''
Note that I still got the exact same timeout behaviour, but in this case bzr
didn't recover from the error and the operation failed (pycurl manages to
retry until completion if you are patient enough)
My ubuntu 8.04 VM also shows identical behaviour, both with libcurl and with
httplib - the symptoms are identical as for the 2 Windows boxes I've tried
recently (one Vista64, the other XP32).
All in all it is looking like my network - and quite probably that
transparent proxy. Thanks for your help so far and let me know if I can do
anything else to help track this down.
Cheers,
Mark
More information about the bazaar
mailing list