Error on mobile

Options
Hades
Hades
edited March 2022 in Photon Server

When I click create room button on mobile , I can't create room.

This is MSMaster.log

2022-03-01 21:01:45,402 [16] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - Created game: gameId=Dfe, appId={Default}

2022-03-01 21:01:49,590 [16] 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":"2022-03-02T05:01:45.4757014Z","UserId":"e405136e-beb4-4f36-8822-96bd360a2ae0"}], lastUpdateEvent:''

2022-03-01 21:01:49,604 [16] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Added peer: gameId=Dfe, userId=e405136e-beb4-4f36-8822-96bd360a2ae0, joiningPeers=1

2022-03-01 21:01:49,632 [13] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player state changed: pid=e405136e-beb4-4f36-8822-96bd360a2ae0, master=True, gid=Dfe

2022-03-01 21:01:49,664 [16] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Token Validation: Creating token for GS:localhost and game:Dfe

2022-03-01 21:01:50,086 [13] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Disconnect: peer=T:MasterClientPeer,ConnId:1,ip:192.168.111.89:50571,Udp,GpBinaryV18, UserId:e405136e-beb4-4f36-8822-96bd360a2ae0: reason=0, detail=

2022-03-01 21:01:50,089 [13] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - OnClientDisconnect: peerId=1, appId={Default}

2022-03-01 21:01:50,093 [13] DEBUG Photon.LoadBalancing.MasterServer.MasterClientPeer - Auth Timeout Checker stopped. authTimeout:20000 p:T:MasterClientPeer,ConnId:1,ip:192.168.111.89:50571,Udp,GpBinaryV18

2022-03-01 21:01:50,100 [14] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - peer removed from lobby:l:'Name:,Type:Default, GamesCount:1',p:'T:MasterClientPeer,ConnId:1,ip:192.168.111.89:50571,Udp,GpBinaryV18',u:'e405136e-beb4-4f36-8822-96bd360a2ae0'

2022-03-01 21:01:50,697 [14] DEBUG Photon.LoadBalancing.MasterServer.Lobby.AppLobby - Publishing game changes. AppLobby:, type:Default

2022-03-01 21:01:55,115 [13] DEBUG Photon.LoadBalancing.MasterServer.ApplicationStats - Publishing application stats. MasterPeerCount=0, PlayerCount=0, GameCount=0

2022-03-01 21:01:57,206 [14] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - Checked join timeouts: before=1, after=1

2022-03-01 21:02:04,718 [15] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Player removed from joining list by timeout. UserId=e405136e-beb4-4f36-8822-96bd360a2ae0

2022-03-01 21:02:04,721 [15] 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:''

2022-03-01 21:02:04,727 [15] DEBUG Photon.LoadBalancing.MasterServer.GameApplication - Removed game: gameId=Dfe, appId={Default}

2022-03-01 21:02:04,733 [15] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - RemoveGameState:id=Dfe, peers=0, max=0, open=True, visible=True, peersJoining=0, inactive=0, ispersistent=False

2022-03-01 21:02:04,747 [15] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - Game removed on GS. GameId=Dfe, ServerId=[key:127.0.0.1-5056-4531, serverId:688ac1d4-57cd-440f-a30d-6699e0f04835]

2022-03-01 21:02:04,761 [19] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player removed: pid=e405136e-beb4-4f36-8822-96bd360a2ae0, master=False, gid=

2022-03-01 21:02:04,774 [15] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount changed after game remove. New Value=0

2022-03-01 21:02:04,799 [15] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - Checked join timeouts: before=1, after=0

Please help me.

Comments

  • chvetsov
    Options

    hi, @Hades

    why you decide that you can not create game?

    From logs I do not see any error. The game was created and we send response and in 1 second client disconnects. So, here is everything fine.

    could it be that you have issues on GS?

    best,

    ilya

  • HBAYST
    Options

    I also have this problem, can you please tell us how you solved this problem? I will be grateful

  • chvetsov
    Options

    hi, @HBAYST

    what problem do you have? what error code you get? from which server?


    best,

    ilya

  • HBAYST
    Options

    I can link to the server, but I can't create rooms and join rooms.

    The console error is this:

    Receive issue. State: Connected. Server: '127.0.0.1' ErrorCode: 10061 SocketErrorCode: ConnectionRefused Message: Connection refused System.Net.Sockets.SocketException (0x80004005): Connection refused

     at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <1e1a09bd7c4e407788af79f6b1d8f250>:0 

     at System.Net.Sockets.Socket.Receive (System.Byte[] buffer) [0x00000] in <1e1a09bd7c4e407788af79f6b1d8f250>:0 

     at ExitGames.Client.Photon.SocketUdp.ReceiveLoop () [0x00014] in <b01774392bf441f59388585f8e74649d>:0 

  • chvetsov
    Options

    hi, @HBAYST

    well, you have to update GameServer config and set PublicIPAddress to address of your machine instead of localhost address

    check either GameServer.xml.config for sdk 5.xxx or Photon.LoadBalancing.dll.config for sdk 4.xxxx


    best,

    ilya