TCP issues on server
We are hosting a photon server. All ports are open on the firewall for both server and local computer. I can connect with UDP but I cannot connect through TCP. We are using Unity 2018.1.6f1 and Photon v1.90.
0
Comments
-
Hi @BencinStudios,
Thank you for choosing Photon!
What Unity version are you using?
Could you provide logs from Unity console or server logs?0 -
We are using Unity 2018.1.6f1
OnFailedToConnectToPhoton Reason: DisconnectByServerTimeout
UnityEngine.Debug:Log(Object)
Aexa.TrainingApp.NetworkMgr:OnFailedToConnectToPhoton(DisconnectCause) (at Assets/_AEXA/_Core/Scripts/Networking/NetworkMgr.cs:146)
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
NetworkingPeer:SendMonoMessage(PhotonNetworkingMessage, Object[]) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2836)
NetworkingPeer:OnStatusChanged(StatusCode) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2322)
ExitGames.Client.Photon.<>c__DisplayClass100_0:b__0()
ExitGames.Client.Photon.TPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:158)
I do not get any logs on the server when I try to connect.0 -
OnStatusChanged: DisconnectByServer current State: ConnectingToMasterserver
UnityEngine.Debug:Log(Object)
NetworkingPeer:OnStatusChanged(StatusCode) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2067)
ExitGames.Client.Photon.<>c__DisplayClass100_0:b__0()
ExitGames.Client.Photon.TPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:158)0 -
Hi, @BencinStudios
are you able to reach this port using telent?
if not, then something wrong with setup. Either photon config is wrong or firewall settings
best,
ilya0 -
Yes we can reach the port with Telnet. @chvetsov0
-
Then I would suggest you write to us at developer@photonengine.com. Please provide your photon server config. ip address
best,
ilya0 -
@BencinStudios did you fix your issue?0
-
@Grigor no - did contact support, seems like it was a bug. We are just living with UDP right now.0
-
@BencinStudios Thank you for your answer.0
-
0