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

After WebRTC reconnect failure I'm stuck with SSH #283

Closed
daonb opened this issue Sep 13, 2022 · 0 comments
Closed

After WebRTC reconnect failure I'm stuck with SSH #283

daonb opened this issue Sep 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@daonb
Copy link
Contributor

daonb commented Sep 13, 2022

Describe the bug
We need to add a Gate.onlySSH to support two reconnection flows -
the default one, targeted at webexec powered server and the SSH only one.
If onlySSH is true, there'll be no mention of WebRTC in the menus.

To get a gate out of SSH mode the user will edit the gate, select only
ssh field and presented with a prompt: "Only SSH (Y/n)?".

The initial setting of onlySSH will happen after the first SSH connect.
The user will be presented with a menu:

  Copy webexec install command and connect
  Let me in
  Let me in and always use SSH

If the user hasn't selected the third option, onlySSH will not be set
and he'll get the same menu each time he falls back to using ssh
allowing him to copy the install script later.

To Reproduce
Steps to reproduce the behavior:

  1. Launch app
  2. Tap on a gate with webexec install
  3. disconnecd wifi stop webexec
  4. reconnect wifi
  5. get failure message
  6. start webexec
  7. try to reconnect using WebRTC

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@daonb daonb added the bug Something isn't working label Sep 13, 2022
@daonb daonb closed this as completed in 3654fc0 Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant