Skip to content

lichess-bot crashes sometimes on a timeout or reconnect attempt #1120

@KawaiiFiveO

Description

@KawaiiFiveO

Describe the bug
When timing out and reconnecting, sometimes lichess-bot will crash with a long error log, resulting in a loss due to time.

To Reproduce
Steps to reproduce the behavior:

  1. Run lichess-bot and connect to a game
  2. Reconnect to the game (internet connection is interrupted)

Note: The IP address of the connection might change (I suspect this error occurs when my VPN is reconnecting).

Expected behavior
Lichess-bot should reconnect to the game and continue it.

Logs
I have attached part of the log that occurred during my latest game where the lichess wrapper timed out or crashed while reconnecting. (https://lichess.org/7zQIf4v8lVMW)

log.txt

Desktop (please complete the following information):

  • OS: Windows 10
  • Python Version: Python 3.13.2
  • Terminal: PowerShell

Additional context

This issue seems similar to #1101.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions