Newbie Spellweaver
- Joined
- Oct 31, 2021
- Messages
- 12
- Reaction score
- 13
To those having issues with the server disconnecting after 1+ hours, I may have found the cause and a solution. This was only tested on Debian 9 + xfce desktop (for UI) installed on VMWare. It may work with VirtualBox. Not sure about VPS.
Potential Cause:
This may have to do with the server requiring you to set the year of the OS to 2013. There is a security feature for OS, routers, or even ISPs that if the date is set too far back on your OS, it will refuse internet connection. No internet means no server.
You can try this on your android phone and it will disconnect from the internet.
The server needs your OS (the virtual one) to be set to 2013. Otherwise, it won't read the database and server files. This is part of the "./start" command process.
Possible Fix:
Setting a static IP address on my instance completely fixed the disconnection issue. My local server right now has been online for about 5 hours straight. No disconnections. I tested logging in and out, and it still is okay.
Here is what it looks like for me on VMWare, Debian 9 + xcfe:
I am not good with Linux commands, so I rely on xfce. I can't help with doing this on terminal-mode only.
Summary:
Please let us know if this works for your or not. It certainly worked for me.
I hope this helps!
Potential Cause:
This may have to do with the server requiring you to set the year of the OS to 2013. There is a security feature for OS, routers, or even ISPs that if the date is set too far back on your OS, it will refuse internet connection. No internet means no server.
You can try this on your android phone and it will disconnect from the internet.
The server needs your OS (the virtual one) to be set to 2013. Otherwise, it won't read the database and server files. This is part of the "./start" command process.
Possible Fix:
Setting a static IP address on my instance completely fixed the disconnection issue. My local server right now has been online for about 5 hours straight. No disconnections. I tested logging in and out, and it still is okay.
Here is what it looks like for me on VMWare, Debian 9 + xcfe:
I am not good with Linux commands, so I rely on xfce. I can't help with doing this on terminal-mode only.
Summary:
- Year of the OS may be causing internet loss. It is required to set the OS to 2013 for the server to work.
- Potential solution is to set a static IP for your instance. This prevents it from having to renew the lease for its IP address, thus not having to drop the connection.
Please let us know if this works for your or not. It certainly worked for me.
I hope this helps!