"User timeout caused connection failure." viewing branches

Bug #272304 reported by William Grant
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

One of my Launchpad-hosted branches says "User timeout caused connection failure." This doesn't make sense; I didn't time out, nor should it have to connect to anything.

Revision history for this message
Jonathan Lange (jml) wrote :

This is the error displayed when the branch mirroring process (the puller worker) doesn't make any progress for a long period of time. The error could be avoided with a higher timeout or better progress reporting from Bazaar. The error text itself comes straight from Twisted and isn't relevant here. Improving the text would be a trivial fix.

Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

A link to the branch would help :)

Revision history for this message
William Grant (wgrant) wrote :

Sorry, I'd suspected that it would be an intentional and obvious lp-bzr error message, so you would have recognised what it meant immediately (or been able to grep for it). I see now that it was not from your code. As discussed with jml, the branch in question is https://code.launchpad.net/~wgrant/ubuntu-cve-tracker/mainold.

Revision history for this message
Jonathan Lange (jml) wrote :

That error message is Twisted's twisted.internet.error.TimeoutError. Here, it probably means that the process that was actually mirroring the branch stopped sending any information, was treated as non-responsive and then killed.

We could probably change the visible message quite easily, although it will be nigh impossible to verify the fix on a production environment.

Note that now this will never happen for hosted branches, since they are no longer mirrored internally.

Revision history for this message
Ursula Junque (ursinha) wrote :

I found some oopses related to this: OOPS-1861CIW47, OOPS-1861CIW77. I couldn't reproduce the error with the branches in the oopses, but could consistently with wgrant's branch. Is this a real failure or not really an OOPS? If not an OOPS, can we log them as informational or don't log them at all?

Changed in launchpad:
importance: Medium → Critical
tags: added: oops
summary: - "User timeout caused connection failure." doesn't make sense
+ "User timeout caused connection failure." viewing branches
Revision history for this message
Robert Collins (lifeless) wrote :

It is a real failure; we should see about gathering more diagnostics.

William Grant (wgrant)
Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.