Issue connecting to self hosted Ubuntu 24 server. Worked fine 7DTD 1.0.

Razorblades87

New member
Good evening, 7DTD Forum.

I have been running a dedicated 7DTD server on Ubuntu Linux for a couple of years and I was successfully running the 1.0 release until the new 1.2 version was released.  Since then, the client games (Windows 10/11 machines) get "An internal net connection error occurred." message and the server reports the LiteNetLib client disconnects.  I completed reinstalled 7DTD (deleted the .local, .steam and .config files) and I have tried disabling SteamNetworking and LiteNetLib.

Linux server:  hardware server, Ubuntu 24.04.1, no Linux firewall enabled

PCs - Windows 10/11, residing on the same LAN (192.168.196.65/26).  Windows firewall has been turned off for testing and I get the same error.

Appreciate any insights or help you may be able to provide!  Server and client log listed below:

SERVER LOG: https://pastebin.com/YSADY0bu

CLIENT LOG: https://pastebin.com/yH1ve3bF

 
Last edited by a moderator:
Good evening, 7DTD Forum.

I have been running a dedicated 7DTD server on Ubuntu Linux for a couple of years and I was successfully running the 1.0 release until the new 1.2 version was released.  Since then, the client games (Windows 10/11 machines) get "An internal net connection error occurred." message and the server reports the LiteNetLib client disconnects.  I completed reinstalled 7DTD (deleted the .local, .steam and .config files) and I have tried disabling SteamNetworking and LiteNetLib.

Linux server:  hardware server, Ubuntu 24.04.1, no Linux firewall enabled

PCs - Windows 10/11, residing on the same LAN (192.168.196.65/26).  Windows firewall has been turned off for testing and I get the same error.

Appreciate any insights or help you may be able to provide!  Server and client log listed below:

SERVER LOG: https://pastebin.com/YSADY0bu

CLIENT LOG: https://pastebin.com/yH1ve3bF


Server log is clean, and the client log is incomplete.

Client log indicates possible network issues on the client PC, but I'm just guessing based on an incomplete log.

 
Apologies.  Here is a full log up to the point I get kicked off the server and close the session after getting the error message on my client.

https://pastebin.com/Ssp492sQ

I see the given key error showing up:

Code:
2024-12-22T15:13:48 406.085 EXC The given key 'NetPackagePlayerDisconnect' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <31687ccd371e4dc6b0c23a1317cf9474>:0
  at NetPackageManager.GetPackageId (System.Type _type) [0x00000] in <0a824c04d551409fad5953ac8c5c40be>:0
  at NetPackage.get_PackageId () [0x00006] in <0a824c04d551409fad5953ac8c5c40be>:0
  at NetPackageManager.FreePackage (NetPackage _package) [0x00000] in <0a824c04d551409fad5953ac8c5c40be>:0
  at NetPackage.SendQueueHandled () [0x0000d] in <0a824c04d551409fad5953ac8c5c40be>:0
  at NetConnectionSimple.WriteToStream (System.Int32 streamIndex, System.Int32 packageIndex, System.Int32& packagesToSend, NetPackage& package, PooledBinaryWriter& writer, System.IO.MemoryStream& stream) [0x003f3] in <0a824c04d551409fad5953ac8c5c40be>:0
  at NetConnectionSimple.taskSerialize (ThreadManager+ThreadInfo _threadInfo) [0x00296] in <0a824c04d551409fad5953ac8c5c40be>:0
 
Last edited by a moderator:
Thank you both for your insights.  This looks like a server version mismatch issue.  I attempted to use the -beta latest_experimental and still get the same issue.  Need to find out why I am getting a version mismatch here.  I have attempted to use the -beta -public switch and I am still seeing the game version being loaded at 1.0, so I do not know where the issue is coming from. Server is still using 294420, correct?

 
Last edited by a moderator:
Ok, so I got this resolved.  I had to do the following to get the right version loaded:

- Find a remove the old unity3d folder references

- clearing out artifacts in the .local, .steam and .cache folders

- force the install using -beta public switch to get 1.2

Finally got the server running and no longer facing the NCSimple error.  Thank you for your assistance!

 
Back
Top