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

Explore better handleing of hub connection #622

Closed
guyluz11 opened this issue Nov 10, 2022 · 1 comment
Closed

Explore better handleing of hub connection #622

guyluz11 opened this issue Nov 10, 2022 · 1 comment
Labels
enhancement New feature or request Improving code organization All the staff that improve code without change to functionality

Comments

@guyluz11
Copy link
Member

guyluz11 commented Nov 10, 2022

It looks like the last version of grpc have brought some new functionality that may help us improve the connection reliability to the hub

Screenshot_20221110-221400_Firefox

The current way of connecting try to handle a lot of different cases and the code can be improved, even more so with the last grpc update.

We aspire for the app and the hub to keep an open stream between the two all the time.
There are some cases that making that hard for us.

The app should handle the following cases

  • Automatically connect to the hub through Wi-Fi if it's stopped and the app is still on the home Wi-Fi.
  • Automatically reconnect to the hub through Wi-Fi if user turn off and then on the Wi-Fi.
  • Automatically moving between direct connection to the hub through Wi-Fi and connection to the hub through remote pipes if it is on different network than home Wi-Fi (that's include cellular network and other Wi-Fi networks).
@guyluz11 guyluz11 added enhancement New feature or request Improving code organization All the staff that improve code without change to functionality labels Nov 10, 2022
@guyluz11
Copy link
Member Author

Dropping for now Hub connection in favor of app as a hub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Improving code organization All the staff that improve code without change to functionality
Projects
None yet
Development

No branches or pull requests

1 participant