Not able to proceed after create room is called. Using PUN self hosted server on separate system

tanujarora
edited June 2021 in Photon Server
Hello,

I am using PUN self hosted server on a separate machine. I have configured Nameserver.json and replaced the 127.0.0.1 with server system IP address. Along with that, I have edited GameServer.xml.config and set Master IP and Public IP to server system's IP address.

On client side, I have configured server settings. At the beginning, system is able to connect to master server and join the lobby without any error. However, when I try to create room, I call CreateRoom API, client does not receive OnCreateRoom callback from server. (Although I am receiving lobby callbacks). I tried changing the server system and disabling the firewall from server and client as well but still no response in room creation. Please note, all callbacks are registered on client side. Also, the same client application was running fine when client and server was on same system.

Also, If I use PUN shared server with EU region, I am able to create room and proceed. The problem is coming with local network where server and client are on separate machine.

Note: I also receive object reference error as a popup dialog when I set Public IP on server application

Here is the relevant server log:
2021-06-11 16:36:43,327 [31] DEBUG Photon.LoadBalancing.MasterServer.GameServer.ReplicationAssistantBase - Handling of ReplicationHelperEvent event. replicated count:0,expected count:0. context:[key:192.168.90.135-5056-4531, serverId:99e40c04-62a5-4921-925e-7678d8ad5b77]
2021-06-11 16:36:43,338 [31] DEBUG Photon.LoadBalancing.MasterServer.GameServer.ReplicationAssistant - OnReplicationFinsihed for server: [key:192.168.90.135-5056-4531, serverId:99e40c04-62a5-4921-925e-7678d8ad5b77]
2021-06-11 16:36:44,332 [32] DEBUG Photon.LoadBalancing.MasterServer.GameServer.GameServerContext - UpdateGameServer - from LoadLevel Level3 to Level1, PeerCount 1
2021-06-11 16:36:44,345 [32] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - Updating server: server=[Server:[key:192.168.90.135-5056-4531, serverId:99e40c04-62a5-4921-925e-7678d8ad5b77], State:Normal, Load:Level3, Prio:0, Weight:13], oldWorkload=Level3, newWorkload=Level1
2021-06-11 16:36:44,356 [32] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - new candidate for current priority is 0 with load=Level1 and load of the rest=Level1
2021-06-11 16:36:44,367 [32] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - new candidate for current priority is equal to current
2021-06-11 16:36:45,319 [34] DEBUG Photon.LoadBalancing.MasterServer.GameServer.GameServerContext - UpdateGameServer - from LoadLevel Level1 to Lowest, PeerCount 1
2021-06-11 16:36:45,330 [34] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - Updating server: server=[Server:[key:192.168.90.135-5056-4531, serverId:99e40c04-62a5-4921-925e-7678d8ad5b77], State:Normal, Load:Level1, Prio:0, Weight:17], oldWorkload=Level1, newWorkload=Lowest
2021-06-11 16:36:45,340 [34] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - new candidate for current priority is 0 with load=Lowest and load of the rest=Lowest
2021-06-11 16:36:45,351 [34] DEBUG Photon.Common.LoadBalancer.LoadBalancer`1 - new candidate for current priority is equal to current
2021-06-11 16:37:11,802 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterApplication - Received init request from game client on leader node
2021-06-11 16:37:11,817 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker scheduled. authTimeout:20000 p:T:MasterClientPeer,ConnId:0,ip:192.168.90.1:52690,Udp,GpBinaryV18
2021-06-11 16:37:11,830 [36] INFO Photon.SocketServer.Diagnostics.HttpQueuePerformanceCounters - Performance counters successfully initialized: instanceName=_Total
2021-06-11 16:37:11,958 [36] INFO Photon.SocketServer.Diagnostics.HttpQueuePerformanceCounters - Performance counters successfully initialized: instanceName=LoadBalancing_rpc
2021-06-11 16:37:12,694 [36] DEBUG Photon.LoadBalancing.Master.OperationHandler.OperationHandlerInitial - Unknown operation code: OpCode=220
2021-06-11 16:37:12,805 [26] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Disconnect: peer=T:MasterClientPeer,ConnId:0,ip:192.168.90.1:52690,Udp,GpBinaryV18, UserId:: reason=0, detail=
2021-06-11 16:37:12,817 [26] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker stopped. authTimeout:20000 p:T:MasterClientPeer,ConnId:0,ip:192.168.90.1:52690,Udp,GpBinaryV18
2021-06-11 16:37:17,837 [27] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Publishing application stats. MasterPeerCount=0, PlayerCount=0, GameCount=0
2021-06-11 16:37:26,866 [31] DEBUG Photon.LoadBalancing.MasterServer.MasterApplication - Received init request from game client on leader node
2021-06-11 16:37:26,878 [31] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker scheduled. authTimeout:20000 p:T:MasterClientPeer,ConnId:1,ip:192.168.90.1:52691,Udp,GpBinaryV18
2021-06-11 16:37:27,673 [36] DEBUG Photon.LoadBalancing.Master.OperationHandler.OperationHandlerInitial - Unknown operation code: OpCode=220
2021-06-11 16:37:27,761 [37] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Disconnect: peer=T:MasterClientPeer,ConnId:1,ip:192.168.90.1:52691,Udp,GpBinaryV18, UserId:: reason=0, detail=
2021-06-11 16:37:27,772 [37] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker stopped. authTimeout:20000 p:T:MasterClientPeer,ConnId:1,ip:192.168.90.1:52691,Udp,GpBinaryV18
2021-06-11 16:37:32,797 [27] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Publishing application stats. MasterPeerCount=0, PlayerCount=0, GameCount=0
2021-06-11 16:37:41,750 [40] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Updating game server stats. new values peerCount=1, gameCount=0
2021-06-11 16:37:42,812 [26] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Updating game server stats. new values peerCount=0, gameCount=0
2021-06-11 16:37:55,498 [32] DEBUG Photon.LoadBalancing.MasterServer.MasterApplication - Received init request from game client on leader node
2021-06-11 16:37:55,510 [32] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker scheduled. authTimeout:20000 p:T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:37:55,695 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker stopped. authTimeout:20000 p:T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:37:55,707 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - HandleAuthenticateRequest:appId=;version=;region=;type=0;userId=
2021-06-11 16:37:55,729 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Handling token auth. Token: issuer=NS:ENCDLNPUNDT1421, appId=41c90923-2ce5-4cb4-9165-7408d21bae82/1_2.32, p=T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:37:55,740 [36] DEBUG Photon.LoadBalancing.Common.ConnectionRequirementsChecker - Secure Connection Check: Account does not require connection to be secure. appId:
2021-06-11 16:37:55,755 [36] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - HandleAuthenticateRequest - Token Authentication done. Result: 0; msg=
2021-06-11 16:37:55,766 [36] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - OnClientConnect: peerId=4, appId={Default}
2021-06-11 16:37:55,779 [26] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player state changed: pid=071e339d-cb6c-4fe6-8478-402d696d79b6, master=True, gid=
2021-06-11 16:37:55,881 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - Creating lobby: name=Conference, type=Default
2021-06-11 16:37:55,892 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - AppLobby - useLegacyLobbies False, limitGameList null, limitGameListUpdate null, limitSqlFilterResults null
2021-06-11 16:37:55,902 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - MasterServerSettings - limitGameList 500, limitGameListUpdate 500, limitSqlFilterResults 100
2021-06-11 16:37:55,912 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameList - Creating new GameList
2021-06-11 16:37:55,922 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.LimitedGameList - Creating new LimitedGameList
2021-06-11 16:37:55,932 [32] DEBUG Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory - Created lobby: name=Conference, type=Default
2021-06-11 16:37:55,943 [32] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Joined lobby: Conference, 0, u:'071e339d-cb6c-4fe6-8478-402d696d79b6'
2021-06-11 16:37:55,944 [36] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - lobby got Join Lobby request. GameListCount:500, allLobbiesMaxGamesInJoinResponse:500, userId:071e339d-cb6c-4fe6-8478-402d696d79b6, p:T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:37:55,965 [36] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - lobby send data to client. gamesCount:0, userId:071e339d-cb6c-4fe6-8478-402d696d79b6, p:T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:38:37,436 [33] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - Created game: gameId=dqasd, appId={Default}
2021-06-11 16:38:37,622 [33] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount updated: in list=1, in game oldPlayerCount=0, playerCount=1, DebugData:CheckUserOnJoin:False, PeerCount:1, GameServerPlayerCount:0, YetExpectedCount:0, InactiveCount:0,JoiningCount:1,ActivePlayers:[],Inactive:[],Expected:[], Joining:[{"UtcCreated":"2021-06-11T11:08:37.4493578Z","UserId":"071e339d-cb6c-4fe6-8478-402d696d79b6"}], lastUpdateEvent:''
2021-06-11 16:38:37,634 [33] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Added peer: gameId=dqasd, userId=071e339d-cb6c-4fe6-8478-402d696d79b6, joiningPeers=1
2021-06-11 16:38:37,646 [26] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player state changed: pid=071e339d-cb6c-4fe6-8478-402d696d79b6, master=True, gid=dqasd
2021-06-11 16:38:37,648 [33] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Token Validation: Creating token for GS:localhost and game:dqasd
2021-06-11 16:38:37,765 [37] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Disconnect: peer=T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18, UserId:071e339d-cb6c-4fe6-8478-402d696d79b6: reason=0, detail=
2021-06-11 16:38:37,778 [37] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - OnClientDisconnect: peerId=4, appId={Default}
2021-06-11 16:38:37,778 [35] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - peer removed from lobby:l:'Name:Conference,Type:Default, GamesCount:1',p:'T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18',u:'071e339d-cb6c-4fe6-8478-402d696d79b6'
2021-06-11 16:38:37,788 [37] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker stopped. authTimeout:20000 p:T:MasterClientPeer,ConnId:4,ip:192.168.90.1:53625,Udp,GpBinaryV18
2021-06-11 16:38:38,685 [37] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - Publishing game changes. AppLobby:Conference, type:Default
2021-06-11 16:38:39,399 [37] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Updating game server stats. new values peerCount=1, gameCount=1
2021-06-11 16:38:42,803 [37] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Publishing application stats. MasterPeerCount=0, PlayerCount=1, GameCount=1
2021-06-11 16:38:45,184 [33] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - Checked join timeouts: before=1, after=1
2021-06-11 16:38:52,705 [26] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Player removed from joining list by timeout. UserId=071e339d-cb6c-4fe6-8478-402d696d79b6
2021-06-11 16:38:52,717 [26] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount updated: in list=0, in game oldPlayerCount=1, playerCount=0, DebugData:CheckUserOnJoin:False, PeerCount:0, GameServerPlayerCount:0, YetExpectedCount:0, InactiveCount:0,JoiningCount:0,ActivePlayers:[],Inactive:[],Expected:[], Joining:[], lastUpdateEvent:''
2021-06-11 16:38:52,717 [27] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player removed: pid=071e339d-cb6c-4fe6-8478-402d696d79b6, master=False, gid=
2021-06-11 16:38:52,728 [26] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - Removed game: gameId=dqasd, appId={Default}
2021-06-11 16:38:52,749 [26] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - RemoveGameState:id=dqasd, peers=0, max=0, open=True, visible=True, peersJoining=0, inactive=0, ispersistent=False
2021-06-11 16:38:52,760 [26] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Game removed on GS. GameId=dqasd, ServerId=[key:192.168.90.135-5056-4531, serverId:99e40c04-62a5-4921-925e-7678d8ad5b77]
2021-06-11 16:38:52,770 [26] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount changed after game remove. New Value=0

Here is Unity log:(Please ignore some custom logs)
Selected member type is Member
UnityEngine.Debug:Log (object)
Encora.Utilities.ENC_Log:Log (object,UnityEngine.Object) (at Assets/EncoraTools/Utilities/Scripts/ENC_Log.cs:15)
MenuCreateMeetingPanel:OnCreatePressed () (at Assets/Content/Scripts/MenuUI/MenuCreateMeetingPanel.cs:64)
UnityEngine.EventSystems.EventSystem:Update () (at F:/Tanuj/Unity/2020.3.6f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:385)

Changing scene to MultiplayerTest_Online
UnityEngine.Debug:Log (object)
Encora.Utilities.ENC_Log:Log (object,UnityEngine.Object) (at Assets/EncoraTools/Utilities/Scripts/ENC_Log.cs:15)
SceneController:LoadScene (string,System.Action) (at Assets/Content/Scripts/Utilities/SceneController.cs:32)
MenuCreateMeetingPanel:OnCreatePressed () (at Assets/Content/Scripts/MenuUI/MenuCreateMeetingPanel.cs:77)
UnityEngine.EventSystems.EventSystem:Update () (at F:/Tanuj/Unity/2020.3.6f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:385)

OpCreateRoom()
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2561)
Photon.Realtime.LoadBalancingPeer:OpCreateRoom (Photon.Realtime.EnterRoomParams) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs:284)
Photon.Realtime.LoadBalancingClient:OpCreateRoom (Photon.Realtime.EnterRoomParams) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1723)
Photon.Pun.PhotonNetwork:CreateRoom (string,Photon.Realtime.RoomOptions,Photon.Realtime.TypedLobby,string[]) (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1699)
Encora.Networking.BaseNetworkManager:CreateRoom (string,Photon.Realtime.RoomOptions) (at Assets/Content/Scripts/Network/BaseNetworkManager.cs:76)
MenuCreateMeetingPanel/<>c__DisplayClass8_0:<OnCreatePressed>b__0 () (at Assets/Content/Scripts/MenuUI/MenuCreateMeetingPanel.cs:79)
SceneController:SceneManager_sceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode) (at Assets/Content/Scripts/Utilities/SceneController.cs:24)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode)

queueIncomingCommand() CMD(6 ch#/sq#/usq#: 0/6/0 r#/st/tt:0/0/0) channel seq# r/u: 5/1
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
ExitGames.Client.Photon.EnetPeer:QueueIncomingCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1934)
ExitGames.Client.Photon.EnetPeer:ExecuteCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1736)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:418)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

SocketUdp.Disconnect()
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2561)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass108_0:<EnqueueDebugReturn>b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1148)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:438)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

192.168.90.135:5056
UnityEngine.Debug:LogError (object)
Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:3069)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:<EnqueueStatusCallback>b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1156)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:438)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

SocketUdp, .Net, Unity.
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2561)
ExitGames.Client.Photon.SocketUdp:.ctor (ExitGames.Client.Photon.PeerBase) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/SocketUdp.cs:35)
System.Activator:CreateInstance (System.Type,object[])
ExitGames.Client.Photon.PhotonPeer:Connect (string,string,string,object,object) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1519)
Photon.Realtime.LoadBalancingClient:Connect (string,string,Photon.Realtime.ServerConnection) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1166)
Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:3070)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:<EnqueueStatusCallback>b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1156)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:438)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

IPhotonSocket.Connect() 192.168.90.135:5056 this.Protocol: Udp
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
ExitGames.Client.Photon.IPhotonSocket:Connect () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/IPhotonSocket.cs:145)
ExitGames.Client.Photon.SocketUdp:Connect () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/SocketUdp.cs:74)
ExitGames.Client.Photon.EnetPeer:Connect (string,string,string,object) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:262)
ExitGames.Client.Photon.PhotonPeer:Connect (string,string,string,object,object) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1528)
Photon.Realtime.LoadBalancingClient:Connect (string,string,Photon.Realtime.ServerConnection) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1166)
Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:3070)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:<EnqueueStatusCallback>b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1156)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:438)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

queueIncomingCommand() CMD(6 ch#/sq#/usq#: 0/1/0 r#/st/tt:0/0/0) channel seq# r/u: 0/0
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
ExitGames.Client.Photon.EnetPeer:QueueIncomingCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1934)
ExitGames.Client.Photon.EnetPeer:ExecuteCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1736)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:418)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

Connected to gameserver.
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2954)
ExitGames.Client.Photon.PeerBase:InitCallback () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:601)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:926)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:563)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

queueIncomingCommand() CMD(6 ch#/sq#/usq#: 0/2/0 r#/st/tt:0/0/0) channel seq# r/u: 1/0
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
ExitGames.Client.Photon.EnetPeer:QueueIncomingCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1934)
ExitGames.Client.Photon.EnetPeer:ExecuteCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1736)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:418)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

OpAuthenticate()
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2561)
Photon.Realtime.LoadBalancingPeer:OpAuthenticate (string,string,Photon.Realtime.AuthenticationValues,string,bool) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs:733)
Photon.Realtime.LoadBalancingClient:CallAuthenticate () (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1362)
Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:3008)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:<EnqueueStatusCallback>b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1156)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:438)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

queueIncomingCommand() CMD(6 ch#/sq#/usq#: 0/3/0 r#/st/tt:0/0/0) channel seq# r/u: 2/0
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2565)
ExitGames.Client.Photon.EnetPeer:QueueIncomingCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1934)
ExitGames.Client.Photon.EnetPeer:ExecuteCommand (ExitGames.Client.Photon.NCommand) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:1736)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:418)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

OpCreateRoom()
UnityEngine.Debug:Log (object)
Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2561)
Photon.Realtime.LoadBalancingPeer:OpCreateRoom (Photon.Realtime.EnterRoomParams) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs:284)
Photon.Realtime.LoadBalancingClient:OnOperationResponse (ExitGames.Client.Photon.OperationResponse) (at Assets/Content/ExternalAssets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2758)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer) (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:871)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:563)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/Content/ExternalAssets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)

Comments

  • I see no response from server after OpCreateRoom()
  • The client log does not show much (you could possibly edit your post for a shorter log)...

    Which server version do you use?
    There should be a game server log, too. That might tell us more. On the Master, everything looks ok, aside from the timeout (which is due to the Game Server not confirming the creation of the room).
  • hi, @tanujarora
    in your server.log I see
    2021-06-11 16:37:12,694 [36] DEBUG Photon.LoadBalancing.Master.OperationHandler.OperationHandlerInitial - Unknown operation code: OpCode=220
    2021-06-11 16:37:12,805 [26] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Disconnect: peer=T:MasterClientPeer,ConnId:0,ip:192.168.90.1:52690,Udp,GpBinaryV18, UserId:: reason=0, detail=

    you send wrong operation(GetRegionList) to master server and get disconnected

    best,
    ilya