-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add option to directly change server if website is down #197
Comments
great idea! |
I would like to +1 this idea. snapdrop is down right now and has been for a few days now. I have spinned up a mirror which I plan to maintain and improve on. Can be added as a fallback option / mirror: https://airdope.io |
I had implemented a very basic check whether the entered website can be accessed and is a fork of snapdrop. Currently, the only thing I do is to search whether the word snapdrop is contained anywhere inside the html. For sure, this can be replaced by a better algorithm. @asadm if you add a comment like |
I have added a |
I'm now able to set your website inside the app and sending files does work as expected. However, receiving files does not work. Some change seems to cause an incompatibility here... |
Switching the server automatically isn't a good idea IMHO (although I had initially suggested it) Still it would be nice to make switching the server more easy which is discussed in #183 Furthermore we show an info dialog if the server is down. We could directly link to the server switching page in these cases. |
Describe the feature
From time to time snapdrop.net is down, which is inconvenient for users and leads to many bad Google Play reviews.
If the app is unable to reach https://snapdrop.net it could automatically redirect to a fallback server.
@Bellisario has created a node.js version of snapdrop, which can be found here:
https://node-snapdrop.herokuapp.com/
May we use this instance and is the server capable to handle larger traffic?
Describe alternatives you've considered
It needs to be decided if we want to inform the user or not.
Either this happens without user interaction, with the downside that sending files between two android apps will work but users will not know which webpage to open on Windows/Mac/IOS.
Or we show a dialog: "Snapdrop.net is currently unavailable. Do you want to use the fallback server https://node-snapdrop.herokuapp.com/ in the meantime?"
Additional context
Related to #183
The text was updated successfully, but these errors were encountered: