Style the nginx-side error message

Bug #778165 reported by Paul Everitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Paul Everitt

Bug Description

Yesterday we were getting gateway timeout errors as a nice, white screen. That freaks out OSF. Would be nice to have styled error messages as we did before.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

We need to provide a page where we control the styling, that can be served statically by nginx. We did this for Apache/modwsgi but that ran on the same server. We'll need to negotiate a way with gocept to have nginx have access to a directory that we control via updates.

Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → Chris Rossi (chris-archimedeanco)
milestone: m61 → m62
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

I've created a standalone web page for gocept to use to substitute the normal 502 - Bad Gateway page. Assigning to Zagy for deployment.

Changed in karl3:
status: New → In Progress
assignee: Chris Rossi (chris-archimedeanco) → Christian Zagrodnick (zagy)
Revision history for this message
Christian Zagrodnick (zagy) wrote :

Created a support ticket [gocept #77806] for us internally. Will update you here though.

Changed in karl3:
status: In Progress → Triaged
status: Triaged → Confirmed
Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 778165] Re: Style the nginx-side error message

I forgot to mention, we had such a thing in our source tree:

src/karl/karl/views/static/down_for_maintenance.html

--Paul

On Jun 29, 2011, at 2:54 PM, Chris Rossi wrote:

> I've created a standalone web page for gocept to use to substitute the
> normal 502 - Bad Gateway page. Assigning to Zagy for deployment.
>
> ** Attachment added: "sitedown.tar.gz"
> https://bugs.launchpad.net/karl3/+bug/778165/+attachment/2184662/+files/sitedown.tar.gz
>
> ** Changed in: karl3
> Status: New => In Progress
>
> ** Changed in: karl3
> Assignee: Chris Rossi (chris-archimedeanco) => Christian Zagrodnick (zagy)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/778165
>
> Title:
> Style the nginx-side error message
>
> Status in KARL3:
> In Progress
>
> Bug description:
> Yesterday we were getting gateway timeout errors as a nice, white
> screen. That freaks out OSF. Would be nice to have styled error
> messages as we did before.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/778165/+subscriptions

Changed in karl3:
milestone: m62 → m63
Revision history for this message
Christian Zagrodnick (zagy) wrote :

It's in place now. See it at https://karl.soros.org/sitedown_gocept/maintenance.html

(It's sitedown_gocept to avoid name clashes with KARL)

Changed in karl3:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
assignee: Christian Zagrodnick (zagy) → Paul Everitt (paul-agendaless)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Christian, I think we have the "down for maintenance" covered already. We need something that covers 40* and 50* messages like gateway timeout, that aren't handled by KARL now. Perhaps Robert can give a better example.

Changed in karl3:
assignee: Paul Everitt (paul-agendaless) → Christian Zagrodnick (zagy)
status: Fix Released → In Progress
Revision history for this message
Christian Zagrodnick (zagy) wrote :

That's wat it is now. For 502 and 503 currently. If you want more error codes, let me know. 40x is questionable, as karl has a decent 404 page for instance.

Revision history for this message
Christian Zagrodnick (zagy) wrote :

Oh btw: you can test that on karlstaging

Changed in karl3:
assignee: Christian Zagrodnick (zagy) → Paul Everitt (paul-agendaless)
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Ok, I agree then that this covers it.

Changed in karl3:
status: In Progress → Fix Released
Revision history for this message
Robert Marianski (rmarianski) wrote :

I think it might make sense to have something for 504 errors too. What is the nginx timeout for requests, 30 seconds? Maybe we should use a different page that is exactly like maintenance.html but has some different text there saying something like the request took too long, and to try the request again.

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.