Player can only join through friend invite, player name/id's unknown in console

funk

New member
This is what shows in my dedicated server console, weird it's like the player doesn't get a steamid and therefore EOS id.

2021-12-11T19:35:46 76367.738 INF [NET] PlayerConnected EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-11T19:35:51 76372.890 INF NET: LiteNetLib: Client disconnect from: 1.2.3.4:51160 (Timeout)
2021-12-11T19:35:51 76372.890 INF [NET] PlayerDisconnected EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-11T19:35:51 76372.891 WRN DynamicMusic: -1 was not in Bloodmoon state cache on disconnect
2021-12-11T19:35:51 76372.891 WRN Client disconnected from dy mesh: Id: -1 Total: 0
2021-12-11T19:35:51 76372.891 WRN Client disconnect complete for -1 Total: 0
2021-12-11T19:35:51 76372.891 INF Disconnected player not found in client list...
2021-12-11T19:35:51 76372.901 INF Player disconnected: EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-11T19:35:51 76372.901 INF [EAC] FreeUser: EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''

 
Last edited by a moderator:
I made a pastebin, the player has tried cleaning save data through the launcher, even deleting the actual folder, and even trying uninstalling 7 days to die and deleting the 7 days to die game folder and reinstalling. They haev also tried manually isntalling Easy anticheat app located in the game folder
 

https://pastebin.com/JZbSbv4w

 
Last edited by a moderator:
Usually this type of error, rather than being a game problem, is a connection problem. Be sure that you have opened/forwarded all the the necessary ports on your router to host a server. Once you think you have done so, check with a port checker that they indeed are open/forwarded.

 
Usually this type of error, rather than being a game problem, is a connection problem. Be sure that you have opened/forwarded all the the necessary ports on your router to host a server. Once you think you have done so, check with a port checker that they indeed are open/forwarded.


Hmm, if that were the case then how would the others be able to connect without issue? My server is located elsewhere, not on my own internet provider.  Are there any other ports I need to forward server side other than 26900-269xx ? Or could the issue be the client's firewall blocking ports?

 
It could be on the clients side, and I’m sorry I missed that others connected fine so it has to be an issue with him. He needs to exclude Steam from his antivirus and make sure 7 Days has permission through his firewall.

 
I have the same problem. Anyone who try to join server gets connection timed out. 

terminal log

2021-12-12T15:34:45 80.253 INF NET: LiteNetLib: Connect from: ip*.ip*.ip*.ip*:59132
2021-12-12T15:34:45 80.256 INF Started thread NCS_Reader_0_0
2021-12-12T15:34:45 80.256 INF Started thread NCS_Writer_0_0
2021-12-12T15:34:45 80.256 INF Started thread NCS_Reader_0_1
2021-12-12T15:34:45 80.257 INF Started thread NCS_Writer_0_1
2021-12-12T15:34:45 80.258 INF [NET] PlayerConnected EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-12T15:34:45 80.346 INF [DECO] written 166438, in 43ms
2021-12-12T15:34:45 80.356 INF [DECO] write thread 10ms
2021-12-12T15:34:50 85.402 INF NET: LiteNetLib: Client disconnect from: ip*.ip*.ip*.ip*:59132 (Timeout)
2021-12-12T15:34:50 85.404 INF [NET] PlayerDisconnected EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-12T15:34:50 85.405 WRN DynamicMusic: -1 was not in Bloodmoon state cache on disconnect
2021-12-12T15:34:50 85.405 WRN Client disconnected from dy mesh: Id: -1 Total: 0
2021-12-12T15:34:50 85.406 WRN Client disconnect complete for -1 Total: 0
2021-12-12T15:34:50 85.406 INF Player disconnected: EntityID=-1, PltfmId='Local_<none>', CrossId='<unknown/none>', OwnerID='<unknown/none>', PlayerName=''
2021-12-12T15:34:50 85.409 INF Exited thread NCS_Writer_0_1
2021-12-12T15:34:50 85.409 INF Exited thread NCS_Reader_0_0
2021-12-12T15:34:50 85.409 INF Exited thread NCS_Reader_0_1
2021-12-12T15:34:50 85.409 INF Exited thread NCS_Writer_0_0
port forwarding - check

firewall dedicated side - check

firewall clients side - check

integrity of game files - check

-=edit=-

Problem is only on a20. a19 works fine

 
Last edited by a moderator:
In ruter and config.ini set up ports 4680-4685 for the game

Now noticed 

2021-12-12T15:34:45 80.253 INF NET: LiteNetLib: Connect from: ip*.ip*.ip*.ip*:59132

Very strange to see 59132 in terminal because client is connecting via port 4680

-=edit=-

Works fine under linux, its must be something with my windows. oh well

 
Last edited by a moderator:
VPN enabled? Did you port forward in router settings?

 
Last edited by a moderator:
Is that for the client or dedicated server that it works under Linux?
Ended up creating a Hyper-v vm on my windows server and housing 7d2d dedicated on there. 

Oh,, no vpn on server. Just 5 ethernet cards with own unique ip being used for other vms. 7d2d dedicated wouldn't let me assign specific lan ip to use 😕

 
Last edited by a moderator:
Ended up creating a Hyper-v vm on my windows server and housing 7d2d dedicated on there. 

Oh,, no vpn on server. Just 5 ethernet cards with own unique ip being used for other vms. 7d2d dedicated wouldn't let me assign specific lan ip to use 😕
There is a "ServerIP" option listed in the logs if you have a look, but even though adding that to the server's xml config file it doesn't seem to change which IP address it uses. Just defaults to the main one. It even shows that option changed in the logs when you add it.
 

VPN enabled? Did you port forward in router settings?
Yeah all port forwarded and not using a VPN, some strange problem but alpha 19 works as normal.

 
Last edited by a moderator:
So, something new I tried. I removed "SteamNetworking" from "ServerDisabledNetworkProtocols" option in my serverconfig.xml file and the player that couldn't join directly but only through joining through a friend, can now join directly.

Looking through the log I can see for that particular player only, they initiate a connection with a proper IP address, and then it initiates a "P2PSessionRequest" with a different IP address and what seems to be a CG-NAT address on their side. So it seems the issue which unusual, and even though you have port forwarded properly on the server side, is the clients CG-NAT. Normally CG-NAT is only a problem for people trying to host a server 🥴

So strange. I've made a new pastebin of the log, still getting those "[NM] DataReceived: bad!" spamming messages too, and I've hidden the IP addresses and client ID's.

https://pastebin.com/ubswGTzv

 
Last edited by a moderator:
Back
Top