Hi, we are currently running a modified LoadBalancing app and we have started encountering an issue regarding the creation of rooms. We have found that on occasion when a player joins a game they are unable to send any operations to the server thus making it impossible to play in the game. Currently when the game does this we receive this notification in our server logs after a considerable delay of the disconnect of the last player.
Error:
2018-10-13 18:49:02,409 [33] DEBUG Photon.Hive.HivePeer - OnDisconnect: conId=3, reason=TimeoutDisconnect, reasonDetail=
0000000009C8DCB0 Sent: 3826629296 now: 3826656218 (diff: 26922 >= max: 30000) new rtt timeout: 3200 since last touch:27937
Disc: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826656218 Sent: 3826629296 Diff: 26922 Resends: 8
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826652890 Timeout: 3200 Resend: 8
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826648828 Timeout: 3200 Resend: 7
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826644671 Timeout: 3200 Resend: 6
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826640859 Timeout: 3200 Resend: 5
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826636796 Timeout: 3200 Resend: 4
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826632734 Timeout: 3200 Resend: 3
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826630781 Timeout: 1920 Resend: 2
Resend: Seq: 12 CH: 255 RTT: 192 VAR: 72 Now: 3826629796 Timeout: 960 Resend: 1
ACK: Seq: 11 CH: 255 RTT: 192 VAR: 72 Now: 3826628281 Sent: 3826628140 Diff: 141
ACK: Seq: 10 CH: 255 RTT: 199 VAR: 79 Now: 3826627125 Sent: 3826626859 Diff: 266
ACK: Seq: 9 CH: 255 RTT: 190 VAR: 83 Now: 3826625843 Sent: 3826625546 Diff: 297
ACK: Seq: 8 CH: 255 RTT: 175 VAR: 75 Now: 3826624531 Sent: 3826624406 Diff: 125
ACK: Seq: 7 CH: 255 RTT: 182 VAR: 84 Now: 3826623390 Sent: 3826623250 Diff: 140
ACK: Seq: 6 CH: 255 RTT: 188 VAR: 98 Now: 3826622234 Sent: 3826622109 Diff: 125
ACK: Seq: 5 CH: 255 RTT: 196 VAR: 110 Now: 3826621093 Sent: 3826620968 Diff: 125
ACK: Seq: 4 CH: 255 RTT: 206 VAR: 123 Now: 3826619953 Sent: 3826619828 Diff: 125
ACK: Seq: 3 CH: 255 RTT: 217 VAR: 137 Now: 3826618812 Sent: 3826618671 Diff: 141
ACK: Seq: 2 CH: 255 RTT: 227 VAR: 157 Now: 3826617656 Sent: 3826617531 Diff: 125
ACK: Seq: 1 CH: 255 RTT: 241 VAR: 175 Now: 3826616515 Sent: 3826616406 Diff: 109
ACK: Seq: 6 CH: 0 RTT: 259 VAR: 189 Now: 3826615390 Sent: 3826615265 Diff: 125
ACK: Seq: 5 CH: 0 RTT: 278 VAR: 207 Now: 3826615250 Sent: 3826615187 Diff: 63
ACK: Seq: 4 CH: 0 RTT: 308 VAR: 205 Now: 3826615250 Sent: 3826615187 Diff: 63
ACK: Seq: 3 CH: 0 RTT: 342 VAR: 191 Now: 3826615171 Sent: 3826615109 Diff: 62
ACK: Seq: 2 CH: 0 RTT: 381 VAR: 161 Now: 3826614859 Sent: 3826614765 Diff: 94
ACK: Seq: 1 CH: 0 RTT: 422 VAR: 120 Now: 3826614734 Sent: 3826614578 Diff: 156
ACK: Seq: 0 CH: 255 RTT: 459 VAR: 71 Now: 3826614562 Sent: 3826614390 Diff: 172
Init: RTT: 500
Here is part of our logs:
GSGame: https://pastebin.com/6Dqx7yxJ
NSMaster: https://pastebin.com/iBxryJGW
We have also started to notices that regardless of weather or not people are able to send operations in the room, when that room is destroyed we receive :
2018-10-13 18:49:02,409 [33] DEBUG Photon.Hive.Caching.RoomCacheBase - Removed room instance: roomId=asd
2018-10-13 18:49:02,409 [33] DEBUG Photon.Hive.Room - Tried to remove room: roomName=asd, removed=True
2018-10-13 18:49:02,409 [33] DEBUG Photon.Hive.HiveHostGame - we are actually beeing released - not sure this should be called.
I had initially thought it could be to do with a timer that we run server sided and when OnClose is called we stop the server, could this possibly be an issue?
I am not quite sure what this is meaning: "we are actually beeing released - not sure this should be called."
We have been having this issue quite regularly and seems to consistently happen the first time we create a room after the server has been rebooted (through photon control not a system reboot).
Any help would be greatly appreciated. Many thanks,
Leon