-
Notifications
You must be signed in to change notification settings - Fork 5
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
Internet connectivity warning on load #17
Comments
There are a few pitfalls when testing or detecting an internet connection. Some countries block connections to various website and it might show as offline even though that person could be online. There is some exploration to be done and one of them could be to check how we do it with Wagyu Key Gen or if we are using a library how that library does it. |
Here is some documentation on how browsers do it: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine |
The By using an IP address/By using socket package section from https://www.codespeedy.com/how-to-check-the-internet-connection-in-python/ might be useful. |
There should be a check when loading the CLI application for an internet connection and warn the user if so.
Few thoughts:
The text was updated successfully, but these errors were encountered: