Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gateway: make it easier to retry from HTML error page for 504 Timeouts #427

Open
lidel opened this issue Aug 10, 2023 · 0 comments
Open
Labels
kind/enhancement A net-new feature or improvement to an existing feature need/triage Needs initial labeling and prioritization topic/gateway Issues related to HTTP Gateway

Comments

@lidel
Copy link
Member

lidel commented Aug 10, 2023

Problem

When we timeout, gateway shows non-actionable error that says "context deadline expired".

The text/html response returned to browser users is not much better, just prettier.

Very often refreshing page again will succeed, but users do not know that.

Solution

We should make text/html responses for HTTP 504 errors actionable.

Initial ideas

  • (MVP) Add "Retry" button that forces 504 error page to reload (window.location.reload()?)
  • (optional/additional) Add <meta http-equiv="refresh" content="60"/> which will automatically refresh the tab after 1 minute (this way if someone left page loading, and it errored, it may self-heal before user is back to notice the error)
@lidel lidel added kind/enhancement A net-new feature or improvement to an existing feature need/triage Needs initial labeling and prioritization topic/gateway Issues related to HTTP Gateway labels Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature need/triage Needs initial labeling and prioritization topic/gateway Issues related to HTTP Gateway
Projects
None yet
Development

No branches or pull requests

2 participants
@lidel and others