Redirection to offline.html on 503s
Bug #475371 reported by
Björn Tillenius
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Gary Poster |
Bug Description
When a 503 happens (for example when LP is down for maintenance), you
get redirected to https:/
since you can no longer reload the page to see whether LP is up again.
You also have lost the URL you were planning to go to, so you have to
type in the URL again, which is not always feasible.
The current https:/
instead of 503.
We should resurrect the old behaviour, where we didn't redirect to a new
page, but rather displayed the contents of offline.html in place of the
real page, keeping the URL, and status code as 503.
affects launchpad-
Related branches
lp:~gary/launchpad/bug_475371
- Tom Haddon: Approve
- Leonard Richardson (community): Approve
-
Diff: 36 lines (+32/-0)1 file modifiedlib/canonical/launchpad/offline-haproxy.html (+32/-0)
Changed in launchpad-foundations: | |
status: | Confirmed → Triaged |
Changed in launchpad-foundations: | |
assignee: | nobody → Gary Poster (gary) |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Losas need to investigate if HAProxy supports this.
If not we should raise a bug or feature request upstream.
We can't do anything in the Launchpad codebase to address this issue - this is about how our load balancer reacts when Launchpad is not operational.