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

The lib should detect when the box IP changes #50

Open
gmarty opened this issue Apr 4, 2016 · 4 comments
Open

The lib should detect when the box IP changes #50

gmarty opened this issue Apr 4, 2016 · 4 comments

Comments

@gmarty
Copy link
Collaborator

gmarty commented Apr 4, 2016

When the local IP address of the box on the network changes, the lib still tries to connect to the previous one.
We need a mechanism to detect changes in the IP address.

@azasypkin
Copy link
Member

@gmarty you mean if both local and remote pings failed - we should try to run discovery-via-registration-service again or what?

@gmarty
Copy link
Collaborator Author

gmarty commented Apr 28, 2016

Yes exactly.
Maybe also we should force the configuration at startup and look for a box with a selected client ID. Its IP address might have changed.

@azasypkin
Copy link
Member

Yep, makes sense, let's do it.

@gmarty
Copy link
Collaborator Author

gmarty commented Apr 28, 2016

An easy way to do that for now would be to store settings.configured in the session storage. Then implement a more complex logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants