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

meta: Make proxy more robust. #37

Open
showell opened this issue Oct 31, 2020 · 0 comments
Open

meta: Make proxy more robust. #37

showell opened this issue Oct 31, 2020 · 0 comments

Comments

@showell
Copy link
Collaborator

showell commented Oct 31, 2020

We may want to divvy these up between Steve and Rohitt.

Proxy client:

  • extract a really simple channel class for fetches
  • handle errors from bad sends/fetches, even if it's just writing clear messages to the console for now (and specific widgets can always do smarter things, like add retry buttons)
  • if server tells it the auth token is expired (TBD), handle appropriately (although maybe this is moot)
  • handle broken websocket connection, and re-connect
  • consider sending heartbeats over the websocket

Proxy server:

  • implement logout
  • have a login page (before authorize)
  • at startup time, possibly sanity check a couple server endpoints
  • handle broken websocket connection, log to console, and remove it from the list of clients

Auth tokens:

  • see if we need to use the refresh token
  • make sure we're really deleting the auth token on the server for logouts (as opposed to just killing the session)
@showell showell changed the title meta: Make proxy more durable. meta: Make proxy more robust. Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant