Title: Custom proxy error page · Issue #4040 · coder/coder · GitHub
Open Graph Title: Custom proxy error page · Issue #4040 · coder/coder
X Title: Custom proxy error page · Issue #4040 · coder/coder
Description: When proxying, instead of rendering the dashboard with an error page we should render a small non-SPA HTML file that contains the error message and a button to refresh, a button to go to dashboard (controlled by Go templates). We have th...
Open Graph Description: When proxying, instead of rendering the dashboard with an error page we should render a small non-SPA HTML file that contains the error message and a button to refresh, a button to go to dashboard ...
X Description: When proxying, instead of rendering the dashboard with an error page we should render a small non-SPA HTML file that contains the error message and a button to refresh, a button to go to dashboard ...
Opengraph URL: https://github.com/coder/coder/issues/4040
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom proxy error page","articleBody":"When proxying, instead of rendering the dashboard with an error page we should render a small non-SPA HTML file that contains the error message and a button to refresh, a button to go to dashboard (controlled by Go templates).\r\n\r\nWe have this in v1 for when you get proxy errors. It can be reproduced by creating a dev url and trying to connect to it without starting an app on that port first:\r\n\r\n\r\n\r\n## Requirements\r\n1. Completely self-contained page, with no `\u003clink rel=\"stylesheet\" ...>`s or `\u003cscript src=\"...\"/>`s\r\n2. Go template variables for:\r\n - status code `Error.Status`\r\n - error title `Error.Title`\r\n - error description `Error.Description`\r\n - optional button to reload based on `Error.Reloadable`\r\n - button to redirect to dashboard `Error.DashboardURL`\r\n3. Stored at `site/static/simple-error.html` or something like that","author":{"url":"https://github.com/deansheather","@type":"Person","name":"deansheather"},"datePublished":"2022-09-13T15:24:24Z","url":"https://github.com/coder/coder/issues/4040"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:39d75897-9823-414b-62db-6ca968961c62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B24C:14700E:26E9411:3158B9C:6B019367 |
| html-safe-nonce | f4f62906d7c6bab52c85af66b298d371a15b1e9dfc2928c1cb031accb71f3689 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjRDOjE0NzAwRToyNkU5NDExOjMxNThCOUM6NkIwMTkzNjciLCJ2aXNpdG9yX2lkIjoiMzU5ODU0OTAxNTE1MjY2MTM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4493730e9280c23bf5d7a239574ab34911a3eb6dcde844f32d85da04e29df694 |
| hovercard-subject-tag | issue:1371632830 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/4040/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c04f20e1623f4725dd0e6e219b85d14e68fad523520a220caf3fcf3b261157c8/coder/coder/issues/4040 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c04f20e1623f4725dd0e6e219b85d14e68fad523520a220caf3fcf3b261157c8/coder/coder/issues/4040 |
| og:image:alt | When proxying, instead of rendering the dashboard with an error page we should render a small non-SPA HTML file that contains the error message and a button to refresh, a button to go to dashboard ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deansheather |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width