502 Bad Gateway when trying to check out a bzr branch

Bug #417008 reported by Jean-Paul Calderone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Today when running this command:

C:\Program Files\Bazaar\bzr.EXE checkout http://bazaar.launchpad.net/~exarkun/pyopenssl/pkcs12_mod_and_export3 source

I received this result:

bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/~exarkun/pyopenssl/pkcs12_mod_and_export3/changes: Unable to handle http code 502: Bad Gateway

---

If you see this error transiently, it probably indicates a temporary server outage at Launchpad - see http://identi.ca/launchpadstatus or report a problem on irc or here.

If you see this error consistently, it may indicate a problem with your network.

---

To fix this bug, Launchpad should either never go down, or preferably give a better error from the front-end http proxy when it is.

Tags: lp-code
Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

This just happened again.

Revision history for this message
TimArbuckle (timarbuckle) wrote :

I got a similar message when trying to install launchpad on my 9.10 Beta system.

$ bzr --no-plugins cat http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/utilities/rocketfuel-setup > rocketfuel-setup
bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/utilities/rocketfuel-setup/.bzr/branch-format: Unable to handle http code 502: Bad Gateway

Curtis Hovey (sinzui)
affects: launchpad → launchpad-code
Revision history for this message
Martin Pool (mbp) wrote :

This probably indicates a problem with a network firewall between you and Launchpad. Can you post the error from ~/.bzr.log?

Changed in launchpad-code:
status: New → Incomplete
Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

There is no firewall between me and Launchpad which would be blocking anything related to bzr. The problem appears intermittently on a single machine, arising for a few minutes and then going away again.

I lost the .bzr.log file for this incident months ago, so I can't supply it.

Martin Pool (mbp)
description: updated
Changed in launchpad-code:
status: Incomplete → Confirmed
Curtis Hovey (sinzui)
Changed in launchpad:
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
Martin Pool (mbp) wrote :

Sorry, my comment #3 was wrong and the original description is probably correct: this is coming from the front-end between the http server in the Launchpad environment.

As a workaround if you run 'bzr launchpad-login' or use a bzr+ssh url you will avoid the problem.

On our end, yes, it should just never flake out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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