-
Notifications
You must be signed in to change notification settings - Fork 3
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 crash: No indication in logs #28
Comments
I've just had another one of these "crash"es. /CheckCreds/ isn't working. I get no response on the server, when doing a tail on the log. With only 120 requests in the logs. Again, |
I have now updated to the latest Swift 4 build on AWS (since I'm using Swift 4 when testing on my local Linux/Ubuntu system), and have rebuilt the server and restarted.
I believe those packages were installed before, but perhaps they need updating? |
One more instance of this today: Dany just saw it and I'm seeing it too: |
I just updated all outstanding (out of date) packages on the EC2 Ubuntu instance. |
Same issue again. It is 9/7/16. The last successfully processed request is listed in the log on 9/4/17, which is the day after the server was started on 9/3/17. Log: |
I'm now trying a different approach. This issue seemed to start just after I refreshed my https://letsencrypt.org SSL certificate. So, I wondered if this has something to do with SSL. One way around this is to proxy requests into the Swift server using NGINX (or Apache). For example, NGINX could listen on port 443 (for SSL/HTTPS), and forward those requests to port 8080. Other pluses of doing this proxying are:
I now have proxying going on using NGINX. I'll document this in https://crspybits.github.io/SyncServerII/ |
I've not seen this issue for over a month. Issue seems solved! |
I just had to restart the server. I couldn't access it (e.g., /CheckCreds/ wasn't working), and neither could Dany. I tried two of my devices with SharedImages on it. The logs looked fine-- I could see no explicit reason for the server to stop receiving connections. (see output6.log on the server).
Once I killed and restarted the
Main
server process, all was working again. I put quotes around "crash" in the title because when I did aps -A | grep Main
, the Main process was indeed there. It wasn't that kind of crash.The SyncServer instance had been running for about 8 days (see output6.log).
The text was updated successfully, but these errors were encountered: