outline-server
outline-server copied to clipboard
aws lightsail need restart after every 24 hour for keep continious service
I use AWS Lightsail. However, after every 24 hours, my VPN stops working. I then have to go back to my Lightsail server, stop it, restart it, and reconfigure the process. After doing so, it works fine. At first, I thought the issue might be with the Outline VPN itself. I considered that since I live in China, the issue might be related to the IP address. To test this theory, I attempted using a static IP, but unfortunately, nothing seems to resolve the problem. Can you please provide guidance on how to solve this issue?
Thank you for reaching out! If this is still an issue for you, please contact us at support.getoutline.org and include the GitHub issue number so that we can better support your needs.
If you haven’t already, check out the Outline Support Site at support.getoutline.org for access to help articles and more.
This problem may be due to the type of machine and resources used, as well as the os. If you tell me these things, maybe I can help you
type instance OS Number of keys
Thanks For replying machine-aws lightsail instance Os-Ubuntu 22 Link-1 Here are some screenshoot
On Fri, Dec 29, 2023, 12:46 AM Vahid DSY @.***> wrote:
This problem may be due to the type of machine and resources used, as well as the os. If you tell me these things, maybe I can help you
type instance OS Number of keys
— Reply to this email directly, view it on GitHub https://github.com/Jigsaw-Code/outline-server/issues/1437#issuecomment-1871335924, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXOP36MRS3OHS53KRY73PLYLWO77AVCNFSM6AAAAAA67UWC7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGMZTKOJSGQ . You are receiving this because you authored the thread. Message ID: @.***>
Thanks For replying machine-aws lightsail instance Os-Ubuntu 22 Link-1 Here are some screenshoot … On Fri, Dec 29, 2023, 12:46 AM Vahid DSY @.> wrote: This problem may be due to the type of machine and resources used, as well as the os. If you tell me these things, maybe I can help you type instance OS Number of keys — Reply to this email directly, view it on GitHub <#1437 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXOP36MRS3OHS53KRY73PLYLWO77AVCNFSM6AAAAAA67UWC7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGMZTKOJSGQ . You are receiving this because you authored the thread. Message ID: @.>
hi you should be attached public IP to each instance, then you don't need to reboot and reconfigure every 24 h
@ZAHID188 is your problem fixed with attaching public ip? I have the same problem but I have public IP Whats wrong?
not sloved.
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg
From: Ian Beletckii @.> Sent: Thursday, August 22, 2024 2:33:20 PM To: Jigsaw-Code/outline-server @.> Cc: MD ZAHIDUL ALAM @.>; Mention @.> Subject: Re: [Jigsaw-Code/outline-server] aws lightsail need restart after every 24 hour for keep continious service (Issue #1437)
@ZAHID188https://github.com/ZAHID188 is your problem fixed with attaching public ip? I have the same problem but I have public IP Whats wrong?
— Reply to this email directly, view it on GitHubhttps://github.com/Jigsaw-Code/outline-server/issues/1437#issuecomment-2303888630, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARXOP33BJVAKTY2FOQCGY3DZSWA3BAVCNFSM6AAAAAA67UWC7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTHA4DQNRTGA. You are receiving this because you were mentioned.Message ID: @.***>
I also experienced this yesterday. The server ran fine for a few hours and sometime during the night it appears to have crashed although the Lightsail console says it is running. I have assigned a static IP address and upon rebooting the server this morning and testing the connection everything was working.
What would cause the server to crash?
Here are the specs of the instance: 512 MB RAM, 2 vCPUs, 20 GB SSD
I've fixed everyday hanging on aws lightsail with turning off apt updates:
sudo systemctl disable --now apt-daily-upgrade.timer
sudo systemctl disable --now apt-daily.service
sudo systemctl disable --now apt-daily.timer
sudo systemctl disable --now dpkg-db-backup.service
sudo systemctl disable --now dpkg-db-backup.timer
sudo systemctl disable --now man-db.timer
sudo systemctl disable --now man-db.service
Look it was failed with OOM https://github.com/Jigsaw-Code/outline-server/issues/416#issuecomment-2309635658
@ZAHID188 ^