Error 10054 with Photon Server
Receive issue. State: Connected. Server: '127.0.0.1' ErrorCode: 10054 SocketErrorCode: ConnectionReset Message: An existing connection was forcibly closed by the remote host.
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer) [0x00000] in :0
at ExitGames.Client.Photon.SocketUdp.ReceiveLoop () [0x00000] in :0
UnityEngine.Debug:LogError(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1522)
ExitGames.Client.Photon.<>c__DisplayClass145_0:b__0()
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:157)
Photon Control is running as admin and has added the firewall exceptions ok.
Please help!
Thanks!
Comments
-
Two minutes. Just two minutes after I posted this, I figured it out. Bah! Edited the references to "127.0.0.1" in Photon Control (/deploy/LoadBalancing/GameServer/bin/Photon.LoadBalancing.dll.config).
I must have missed the document regarding setup of PhotonControl - could someone please send a link so I can see what else I missed?! Thanks!0 -
gland that you found it
best,
ilya0 -
Hi @NotQuiteSmith,I must have missed the document regarding setup of PhotonControl - could someone please send a link so I can see what else I missed?! Thanks!
"Game Server IP Config" in "Starting Photon in 5 Minutes"0 -
What references did you edited on the Photon.LoadBalancing.dll.config? I opened this file and get lost on what exactly edit...
Thanks for your support
0 -
0
-
Hi, i got the same ErrorCode and i'm using SDK version: 5.0.12.7770.
"What references did you edited on the Photon.LoadBalancing.dll.config? I opened this file and get lost on what exactly edit..."
Same problem here.
0 -
hi, @AndreaPassini
you have to modify GameServer.xml.config now. Look for PublicIPAddress and update it to correct server ip
best,
ilya
0 -
Hi, I am using photon server V-5 host on AWS but it not working. I tried on local machine it work but when i put it on server (AWS-Windows machine) it not working. Also i put my server public IP address on GameServer.xml.config and restart but it not working. Please help me.
0