server icon indicating copy to clipboard operation
server copied to clipboard

Replay looks missing at search while local replay file looks consistent

Open marvin4ward opened this issue 2 years ago • 8 comments

Describe the bug A game was played but result or record about the match is missing at tab of replay search https://replay.faforever.com/18553425 is 404 Original local copy of the match 18553425-derKoMaNder.zip

To Reproduce Play dozen of games and check that one of them isnot in the DB

Expected behavior Replay ID should be searchable

Screenshots Replay file is attached Additional context The game has no desync or unexpected mutual disconects.

marvin4ward avatar Nov 20 '22 07:11 marvin4ward

another case: https://replay.faforever.com/18576489 Probably some one did not left the game for a long time after the match was over, and that let FAF system miss replay out of attention.

marvin4ward avatar Nov 24 '22 06:11 marvin4ward

https://replay.faforever.com/18603159 another case. Hope that should be enough to find out root cause of the issue. Please close the issue, if that is just normal behave

marvin4ward avatar Nov 27 '22 10:11 marvin4ward

@Askaholic I browsed through the logs. For the last 2 games I found this in the logs:

INFO Nov 22 17:08:55 CustomGame.18576489 Game cancelled pre launch INFO Nov 26 12:40:01 CustomGame.18603159 Game cancelled pre launch

Thus there is no row persisted in the game_stats table.

Brutus5000 avatar Nov 27 '22 23:11 Brutus5000

It looks like there are quite a few CustomGames that got cancelled. I thought cancelling was only for ladder games?

Sheikah45 avatar Nov 27 '22 23:11 Sheikah45

Why it got canceled? Who or what initiate game cancelation?

marvin4ward avatar Nov 28 '22 15:11 marvin4ward

Any game can be cancelled by the host sending a GameState: Ended command before the game has launched. This is only supposed to happen when you close Forged Alliance.

Askaholic avatar Nov 28 '22 16:11 Askaholic

But if the game was started and finished in 30-40 minutes, Why it could be Ended before? Can we find that message in local logs?

marvin4ward avatar Nov 29 '22 15:11 marvin4ward

It’s a GPGnet message, I’m not sure if it gets logged. It has a bit of a misleading name, what it really means is that ForgedAlliance was closed.

Askaholic avatar Nov 29 '22 22:11 Askaholic