-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Server issue (Not a complain, a query) #515
Comments
Also for me, very strage... @RobinLinus is there any other strange server error causing this issue? |
Also if you'd prefer a server independent version you can use my desktop version node-snapdrop-electron |
UpdateSeems Snapdrop is working properly now! |
Snapdrop is still down :/ |
It does seem to be down again. I wonder what keeps causing it to go down. |
Seems to be up another time for me |
@Bellisario looks like the fix made it worse, no? |
Probably same as before... Nevertheless rather unsatisfactory unfortunately :-/ |
Yes, it looks like that's not solving the problem... |
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 #521 |
Down again.
|
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 |
Here's a dependency-free alternative : process.on(
'uncaughtException',
() => {
process.once(
'exit',
() => spawn(
process.argv.shift(),
process.argv,
{
cwd: process.cwd(),
detached: true,
stdio: 'inherit'
}
)
);
process.exit();
}
); |
Nice! When using this snippet I got the following error message: ReferenceError: spawn is not defined This import fixed the issue: var {spawn} = require('child_process') |
Yeah I didn't add the import statement sorry. ^^ |
Does this work completely offline or does it rely on google's stun servers? |
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 |
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.
The text was updated successfully, but these errors were encountered: