Sorry, there is a problem with the service
Try again later.
Open timpaul opened 6 years ago
This pattern was reviewed by a panel of designers from GDS, HMRC, DWP and Home Office on 22 March 2018.
The panel agreed that the pattern should be published in the GOV.UK Design System.
The panel recommended that the following actions be taken once the pattern has been published:
For GOV.UK Publishing, the stack that serves www.GOV.UK, they have a hardcoded 500 page in their CDN configuration.
This is because if the application fails resulting in a 500 error, it cannot serve the assets it needs to serve a page to the user.
By hard coding a simpler page, the CDN can respond with something that is closer to GOV.UK branding.
This has come up in the X-GOV Frontend community slack, with a user suggesting that this is a common thing with Kubernetes:
"Anyone hosting stuff in kubernetes will have this requirement, at some point. "The default backend can only really deliver a single html page as a response to an error - everything else has to come from a different web server"
I have hosted the current GOV.UK Publishing 500 page so you can see it rendered: https://govuk-publishing-500-page.glitch.me
I have put together an improved version of this based on the current design system pattern: https://govuk-frontend-proposed-500-page.glitch.me
Try again later.
Given this we should consider changing the current pattern or adding additional guidance to help users with this technical restriction.
On my current service and on one of my previous ones, we packged up an error page as a single html file that was served independently. I imagine most services will need something like this.
In our case we did it manually, and had to update every so often. As it's a rare occurrence, it wasn't so bad if it was a bit out of date.
It would certainly be handy if GDS could somehow publish an error page with inlined styles that people could pull and keep in sync easily.
We've created this, which has a little bit more styling.
We have removed the 'Experimental' tag from components, patterns, and guidance in the Design System. 😌
The tag was being used on the There is a problem with the service page pattern to raise awareness that more research is needed to validate it. However, we recently published new guidance on how to share findings from users which we hope will make it easier to collect and format more information about how the Design System is being used across services.
If your team has used this component please let us know. 💪
There is a problem with the service pages
Also known as 500 pages, Technical problem pages
Use this issue to discuss this pattern in the GOV.UK Design System.
Contributors
Related links