Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Webhooks Error

$
0
0
Hi
I am testing WebHooks and using 1.2 with IsPersistent = true and AsyncJoin = true with the memory demo and all seems to work OK except when I try to join a saved room.

When I try to join a saved room, the room is recreated from the WebHooks saved state and using Type="Load" the response is all cork but the room is closed immediately with the error Requested cache slice=1 not available????:

2017-05-06 00:00:05,409 [40] DEBUG Photon.Hive.Plugin.CreateGameCallInfo - Continue.
2017-05-06 00:00:05,412 [40] DEBUG Photon.Hive.HiveGame - Processing Join from IP: 10.0.0.138 to port: 5056
2017-05-06 00:00:05,415 [40] WARN Photon.Hive.HiveGame - JoinApplyGameStateChanges: Game 'u364-845' userId '6d7ffef7-9bf1-4ac3-94af-dbce1e8187ed' failed to join. msg:Requested cache slice=1 not available. -- peer:GameClientPeer: PID 16, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 05-05-17 2:00:04 PM in Room u364-845, IP 10.0.0.138:62709,
2017-05-06 00:00:05,418 [40] DEBUG Photon.Hive.HiveGame - JoinFailureHandler is called for peer with reason:OperationInvalid.room:u364-845,p:GameClientPeer: PID 16, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 05-05-17 2:00:04 PM in Room u364-845, IP 10.0.0.138:62709,
2017-05-06 00:00:05,421 [40] DEBUG Photon.Hive.HiveHostGame - JoinFailureHandler is called for peer with reason:OperationInvalid.room:u364-845,p:GameClientPeer: PID 16, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 05-05-17 2:00:04 PM in Room u364-845, IP 10.0.0.138:62709,
2017-05-06 00:00:05,425 [40] DEBUG Photon.Hive.HiveHostGame - Peer join stage is 3. reason:3. CallPluginOnLeaveIfJoinFailed is called. p:GameClientPeer: PID 16, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 05-05-17 2:00:04 PM in Room u364-845, IP 10.0.0.138:62709,
2017-05-06 00:00:05,427 [40] DEBUG Photon.Hive.HiveGame - Actor not found for peer: 16

I am not sure why this pappens but I am now attaching the web hooks debug

2017-05-05 14:00:05,695 [20] DEBUG LogFileAppender - PostRequest: http://rpgwh.azurewebsites.net/api/GameCreate - {"ActorNr":0,"GameId":"u364-845","UserId":"6d7ffef7-9bf1-4ac3-94af-dbce1e8187ed","CreateOptions":{"LobbyId":null,"LobbyType":0,"EmptyRoomTTL":0,"PlayerTTL":0,"CheckUserOnJoin":false,"DeleteCacheOnLeave":false,"SuppressRoomEvents":false},"CreateIfNotExists":false,"Type":"Load"}
2017-05-05 14:00:06,140 [20] DEBUG LogFileAppender - PostResponse: {"ResultCode":0,"State":{"ActorCounter":1,"ActorList":[{"ActorNr":1,"UserId":"6d7ffef7-9bf1-4ac3-94af-dbce1e8187ed","Nickname":"u364","Binary":"RGIAAAEBRAAAAAFi/3MABHUzNjQ=","DeactivationTime":"2017-05-05T13:59:47.9282703+00:00","DEBUG_BINARY":{"1":{"255":"u364"}}}],"Binary":{"18":"RAAAABZzAAJ0I2kAAAABcwACMTNiCHMAAjE0YgdzAAE4YgFzAAE5YgVzAAIxNWIBYvp5AAJzAAR0dXJuAAVuYW1lc3MAAjExYgVzAAEyYgJzAAEzYgJzAAEwYgZzAAExYghzAAE2YgZzAAE3YgNzAAE0YgRzAAE1YgdzAAIxMmIDcwAFZmxpcHN4AAAAAv//cwACcHRpAAAAAHMABHB0LTFiAHMAAjEwYgRzAAVuYW1lc3MABHUzNjQ="},"CheckUserOnJoin":true,"CustomProperties":{"names":"u364"},"DeleteCacheOnLeave":true,"EmptyRoomTTL":5000,"IsOpen":true,"IsVisible":true,"LobbyType":0,"LobbyProperties":["turn","names"],"MaxPlayers":2,"PlayerTTL":2147483647,"SuppressRoomEvents":false,"Slice":0,"DebugInfo":{"DEBUG_PROPERTIES_18":{"t#":1,"13":8,"14":7,"8":1,"9":5,"15":1,"250":["turn","names"],"11":5,"2":2,"3":2,"0":6,"1":8,"6":6,"7":3,"4":4,"5":7,"12":3,"flips":"//8=","pt":0,"pt-1":0,"10":4,"names":"u364"}},"ExcludedActors":[],"PublishUserId":false,"ExpectedUsers":[]}}
2017-05-05 14:00:06,979 [16] DEBUG LogFileAppender - AppId: api - RequestUri: http://rpgwh.azurewebsites.net/api/GetGameList - Request(Serialize): {"UserId":"6d7ffef7-9bf1-4ac3-94af-dbce1e8187ed"}
2017-05-05 14:00:07,912 [16] DEBUG LogFileAppender - {"Data":{"u364-845":{"ActorNr":1,"Properties":{"names":"u364"}}},"ResultCode":0}
2017-05-05 14:00:11,785 [15] DEBUG LogFileAppender - http://rpgwh.azurewebsites.net/api/GameClose - {"ActorCount":1,"GameId":"u364-845","State":{"ActorCounter":1,"ActorList":[{"ActorNr":1,"UserId":"6d7ffef7-9bf1-4ac3-94af-dbce1e8187ed","Nickname":"u364","Binary":"RGIAAAEBRAAAAAFi/3MABHUzNjQ=","DeactivationTime":"2017-05-05T13:59:47.9282703+00:00","DEBUG_BINARY":{"1":{"255":"u364"}}}],"Binary":{"18":"RAAAABZzAAJ0I2kAAAABcwACMTNiCHMAAjE0YgdzAAE4YgFzAAE5YgVzAAIxNWIBYvp5AAJzAAR0dXJuAAVuYW1lc3MAAjExYgVzAAEyYgJzAAEzYgJzAAEwYgZzAAExYghzAAE2YgZzAAE3YgNzAAE0YgRzAAE1YgdzAAIxMmIDcwAFZmxpcHN4AAAAAv//cwACcHRpAAAAAHMABHB0LTFiAHMAAjEwYgRzAAVuYW1lc3MABHUzNjQ="},"CheckUserOnJoin":true,"CustomProperties":{"names":"u364"},"DeleteCacheOnLeave":true,"EmptyRoomTTL":5000,"IsOpen":true,"IsVisible":true,"LobbyType":0,"LobbyProperties":["turn","names"],"MaxPlayers":2,"PlayerTTL":2147483647,"SuppressRoomEvents":false,"Slice":0,"DebugInfo":{"DEBUG_PROPERTIES_18":{"t#":1,"13":8,"14":7,"8":1,"9":5,"15":1,"250":["turn","names"],"11":5,"2":2,"3":2,"0":6,"1":8,"6":6,"7":3,"4":4,"5":7,"12":3,"flips":"//8=","pt":0,"pt-1":0,"10":4,"names":"u364"}},"ExcludedActors":[],"PublishUserId":false,"ExpectedUsers":[]},"State2":null,"Type":"Save"}
2017-05-05 14:00:13,198 [15] DEBUG LogFileAppender - {"ResultCode":0}


Viewing all articles
Browse latest Browse all 15755