You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now as I am writing this, snapdrop.net isn't working with the error being The Snapdrop-Server cannot be reached.
This isn't a complain, I just wanna learn what does it mean exactly? What server is snapdrop talking about?
Would also appreciate if someone could explain how WebRTC works in a nutshell.
Yes, it looks like that's not solving the problem...
I think in this case the best solution could be (for now) to use something like pm2 to restart the server on crash (or something similar with Docker).
As snapdrop.net is frequently not available (just have a look at the issues 😱), is there anything that we can do to improve the stability of the service? What are the actual reasons for the recurring downtimes? Could you please share some more details @RobinLinus?
@svenjacobs looks like the server breaks whenever there is too much load. Also someone keeps trying to DoS the Snapdrop server. We started to port it to Rust for better stability and performance https://github.com/RobinLinus/snapdrop/pull/521
Reacted by Sven Jacobs, Ahmad Rezhani, Narayanan Subbiah, verifyurhuman, Grant G, Jim Flattery, nikkehtine, Pg and juaquins
hi @RobinLinus ,This server problem you mention is related to the loading of the page? what about giving pwa offline capability to the page? could it work to solve this problem?
no matter what you do to the client side you will always need a running server for Snapdrop to work. This includes the (already implemented) offline capabality by caching as PWA via serviceworker.
The domain is registered for Domain.com, and their DDoS protection is $15 a month. Maybe we could donate towards it?
I guess before paying for DDoS protection, we could first deploy snapdrop containerized as @Bellisario suggested with pm2 or docker. I provided two PRs that modify the docker configuration a bit to enable the use of the provided docker-compose on production #550#549 @RobinLinus what do you think? Could you deploy snapdrop dockerized to increase stability?
Completely offline. Funny enough my Internet went out (router was still functional just no connection to the outside internet) when I first started working on it and it still worked
Activity
Bellisario commentedon Oct 14, 2022
Also for me, very strage...
Waiting that the problem is solved, meanwhile you can try using my Node.js version here:
https://node-snapdrop.onrender.com/
@RobinLinus is there any other strange server error causing this issue?
JustSch commentedon Oct 14, 2022
Also if you'd prefer a server independent version you can use my desktop version node-snapdrop-electron
Bellisario commentedon Oct 15, 2022
Update
Seems Snapdrop is working properly now!
nikkehtine commentedon Oct 16, 2022
Snapdrop is still down :/
JustSch commentedon Oct 16, 2022
It does seem to be down again. I wonder what keeps causing it to go down.
Edit: It is up again
Bellisario commentedon Oct 17, 2022
Seems to be up another time for me
RobinLinus commentedon Oct 19, 2022
@Bellisario looks like the fix made it worse, no?
fm-sys commentedon Oct 20, 2022
Probably same as before... Nevertheless rather unsatisfactory unfortunately :-/
Bellisario commentedon Oct 20, 2022
Yes, it looks like that's not solving the problem...
I think in this case the best solution could be (for now) to use something like pm2 to restart the server on crash (or something similar with Docker).
svenjacobs commentedon Oct 25, 2022
As snapdrop.net is frequently not available (just have a look at the issues 😱), is there anything that we can do to improve the stability of the service? What are the actual reasons for the recurring downtimes? Could you please share some more details @RobinLinus?
RobinLinus commentedon Oct 26, 2022
@svenjacobs looks like the server breaks whenever there is too much load. Also someone keeps trying to DoS the Snapdrop server. We started to port it to Rust for better stability and performance https://github.com/RobinLinus/snapdrop/pull/521
tuupola commentedon Oct 26, 2022
Down again.
Pkcarreno commentedon Oct 26, 2022
hi @RobinLinus ,This server problem you mention is related to the loading of the page? what about giving pwa offline capability to the page? could it work to solve this problem?
schlagmichdoch commentedon Nov 8, 2022
no matter what you do to the client side you will always need a running server for Snapdrop to work. This includes the (already implemented) offline capabality by caching as PWA via serviceworker.
nikkehtine commentedon Nov 9, 2022
The domain is registered for Domain.com, and their DDoS protection is $15 a month. Maybe we could donate towards it?
schlagmichdoch commentedon Dec 22, 2022
I guess before paying for DDoS protection, we could first deploy snapdrop containerized as @Bellisario suggested with pm2 or docker. I provided two PRs that modify the docker configuration a bit to enable the use of the provided docker-compose on production #550 #549
@RobinLinus what do you think? Could you deploy snapdrop dockerized to increase stability?
KaKi87 commentedon Dec 26, 2022
Here's a dependency-free alternative :
add dependency-free node restart function as suggested by @KaKi87 htt…
schlagmichdoch commentedon Dec 30, 2022
Nice!
When using this snippet I got the following error message:
ReferenceError: spawn is not definedThis import fixed the issue:
Reference:
https://stackoverflow.com/a/44643419/14678591
KaKi87 commentedon Dec 30, 2022
Yeah I didn't add the import statement sorry. ^^
Rihcus commentedon Jan 9, 2023
Does this work completely offline or does it rely on google's stun servers?
JustSch commentedon Jan 9, 2023
Completely offline. Funny enough my Internet went out (router was still functional just no connection to the outside internet) when I first started working on it and it still worked