Board randomly stuck during game playback #251
Replies: 2 comments 1 reply
-
During investigation of the bug root cause found that board reconnects to the engine multiple times as it did not receive all frames (Img.1, Img.2). After discussion with @bvanvugt tried connections to events websocket from different places. ./websocat -E wss://engine.battlesnake.com/games/18059b87-8013-4003-b0bd-55f8a06d84ba/events | jq '.Data.Status, .Data.Turn'
Img. 1. First events websocket connection: Img. 2. Fourth events websocket connection that failed to obtain all frames: |
Beta Was this translation helpful? Give feedback.
-
Okay! I got a chance to do some digging into this, and found a couple engine tweaks that seem to have made a large improvement. Here are the details...
These two changes combined seem to have resolved the issue, with @und3f reporting 100% frames received on all tests afterwards 👍 It remains a goal of mine to open source these parts of the game engine to allow for stronger collaboration -- I hate that some of these issues can only be worked on by select few individuals with restricted free time :) |
Beta Was this translation helpful? Give feedback.
-
Sometimes board randomly stuck during game playback for the game that ended before playback.
Attached recording, you may see board stuck on second run right on the last move, and the board for some reason is showing the preloader (doesn't doesn't change over time).
Beta Was this translation helpful? Give feedback.
All reactions