Project Zomboid

Project Zomboid

Twinkle Toes 20. okt. 2015 kl. 15.58
[HELP} Join server error: "Failed to Establish P2P Connection with server"
Hello,

I am attempting to connect to PZ steam server, 32 bit, where I am the host and the client. I can see the ping and status of the server in the game's server explorer. I get the "Failed to Establish P2P Connection with server" error in game after clicking "Join Server". My friend tried setting up a server in the same way an gets the same error. Any help would be appreciated, I love this game!

Below is the server responses and client side responses.

It looks like lines: "P2P connection failed: 4
Failed,P2PSessionConnectFail"
Could be the culprit? I hid my IP address.

Ports have been forwarded, firewall excpetion made. I have tried both public and LAN IP address.

SERVER:
RakNet.Startup() return code: 0 (0 means success) *** SERVER STARTED **** *** Steam is enabled server is listening on port 16261 [ZNetJNI] OnPolicyResponse [ZNetJNI] Zomboid Server is VAC Secure [ZNetJNI] OnP2PSessionRequest [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] BeginAuthSession() ok [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth succeeded [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] Client is already authenticated, dropping client (SteamID=765611980767 70999) [ZNetJNI] OnP2PSessionRequest [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] BeginAuthSession() ok [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth succeeded [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] Client is already authenticated, dropping client (SteamID=765611980767 70999) [ZNetJNI] OnP2PSessionRequest [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] BeginAuthSession() ok [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth succeeded [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] Client is already authenticated, dropping client (SteamID=765611980767 70999) [ZNetJNI] OnP2PSessionRequest [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] BeginAuthSession() ok [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth succeeded [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth failed response=6 [ZNetJNI] Sending auth fail message [ZNetJNI] OnP2PSessionConnectFail: 4 [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] BeginAuthSession() ok [ZNetJNI] OnValidateAuthTicketResponse [ZNetJNI] Auth succeeded [ZNetJNI] Client connecting Steam client 76561198076770999 is initiating a connection. [ZNetJNI] Client has begun authentication [ZNetJNI] got token from the client [ZNetJNI] Client is already authenticated, dropping client (SteamID=765611980767 70999)

CLIENT:

----------------------------------------- STACK TRACE ----------------------------------------- function: onKeyPressed -- file: SpeedControlsHandler.lua line # 9 STATE: exit zombie.gameStates.AlphaWarningState STATE: enter zombie.gameStates.MainScreenState [ZNetJNI] Server responded: XX.XXX.XXX.XX [ZNetJNI] RulesRefreshComplete: XX.XXX.XXX.XX 16261 [ZNetJNI] Server responded: XX.XXX.XXX.XX [ZNetJNI] RulesRefreshComplete: XX.XXX.XXX.XX 16261 [ZNetJNI] Server responded: XX.XXX.XXX.XX [ZNetJNI] RulesRefreshComplete: XX.XXX.XXX.XX 16261 [ZNetJNI] Server responded: XX.XXX.XXX.XX [ZNetJNI] RulesRefreshComplete: XX.XXX.XXX.XX 16261 [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Init [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetMaximumIncomingConnecti ons [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetClientPort [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetOccasionalPing [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Startup [ZNetJNI] OnRakPeerStartup [ZNetJNI] RakNet-through-Steam mode activated RakNet.Startup() return code: 0 (0 means success) [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Connect [ZNetJNI] Connecting to XX.XXX.XXX.XX:16261 [ZNetJNI] IP to connect: XX.XXX.XXX.XX [ZNetJNI] Got information for specified server, connecting Connecting, [ZNetJNI] Got Server Info Message: Zomboid Server Information [ZNetJNI] Server public IP: XX.XXX.XXX.XX [ZNetJNI] Beginning authentication AuthPending, [ZNetJNI] Successfully authenticated ConnectionPending, [ZNetJNI] Connection attempt started [ZNetJNI] ZNetFriends::OnPersonaStateChange [ZNetJNI] ZNetFriends::OnPersonaStateChange Reminder: This Steam client can only connect to Steam servers. Reminder: Connecting to a LAN or WAN server requires the server's public IP. Reminder: If the TCP port test fails on a LAN server, enter the server's LAN IP in addition to it's public IP. [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Connect [ZNetJNI] Connecting to XX.XXX.XXX.XX :16261 [ZNetJNI] IP to connect: XX.XXX.XXX.XX Disconnected, [ZNetJNI] Got information for specified server, connecting Connecting, [ZNetJNI] Got Server Info Message: Zomboid Server Information [ZNetJNI] Server public IP: XX.XXX.XXX.XX [ZNetJNI] Beginning authentication AuthPending, [ZNetJNI] ZNetFriends::OnPersonaStateChange [ZNetJNI] P2P connection failed: 4 Failed,P2PSessionConnectFail Reminder: This Steam client can only connect to Steam servers. Reminder: Connecting to a LAN or WAN server requires the server's public IP. Reminder: If the TCP port test fails on a LAN server, enter the server's LAN IP in addition to it's public IP. [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Connect [ZNetJNI] Connecting to XX.XXX.XXX.XX:16261 [ZNetJNI] IP to connect: XX.XXX.XXX.XX Disconnected, [ZNetJNI] Got information for specified server, connecting Connecting, [ZNetJNI] Got Server Info Message: Zomboid Server Information [ZNetJNI] Server public IP: XX.XXX.XXX.XX [ZNetJNI] Beginning authentication AuthPending, [ZNetJNI] Successfully authenticated ConnectionPending, [ZNetJNI] Connection attempt started [ZNetJNI] ZNetFriends::OnPersonaStateChange Reminder: This Steam client can only connect to Steam servers. Reminder: Connecting to a LAN or WAN server requires the server's public IP. Reminder: If the TCP port test fails on a LAN server, enter the server's LAN IP in addition to it's public IP. [ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Connect [ZNetJNI] Connecting to XX.XXX.XXX.XX:16261 [ZNetJNI] IP to connect: XX.XXX.XXX.XX Disconnected, [ZNetJNI] Got information for specified server, connecting Connecting, [ZNetJNI] Got Server Info Message: Zomboid Server Information [ZNetJNI] Server public IP: XX.XXX.XXX.XX [ZNetJNI] Beginning authentication AuthPending, [ZNetJNI] ZNetFriends::OnPersonaStateChange [ZNetJNI] P2P connection failed: 4 Failed,P2PSessionConnectFail Reminder: This Steam client can only connect to Steam servers. Reminder: Connecting to a LAN or WAN server requires the server's public IP. Reminder: If the TCP port test fails on a LAN server, enter the server's LAN IP in addition to it's public IP.
< >
Viser 13 av 3 kommentarer
spinshortfinal 1. des. 2015 kl. 19.20 
Instead of launching the PZ Dedicated Server from within Steam, go to where the files are located locally and launch either the 'StartServer32' or 'StartServer64' bat files. This solved the issue for me anyways!
Athtamis 1. jan. 2016 kl. 4.23 
Opprinnelig skrevet av spinshortfinal:
Instead of launching the PZ Dedicated Server from within Steam, go to where the files are located locally and launch either the 'StartServer32' or 'StartServer64' bat files. This solved the issue for me anyways!
It saves me! Thank you.
Desmond Floyd 13. mai 2016 kl. 6.39 
Thank you, worked for me too.
< >
Viser 13 av 3 kommentarer
Per side: 1530 50

Dato lagt ut: 20. okt. 2015 kl. 15.58
Innlegg: 3