Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
46 stars 82 forks source link

Help needed #97

Closed EmptikBest closed 1 year ago

EmptikBest commented 1 year ago

So my bot EmptikVariantsBot was just playing a game that went completely normally (I was sleeping and woke up rn) and now I see it's not played a game for the last 14 hours. The command prompt is still open, here is the text:

ID: shGa1fAq     BOT Nikitosikbot (2844)   -   BOT EmptikVariantsBot (2846)     TC: 7+1     Rated     Variant: Standard
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Book:    1...   d5         90 %
Book:    2...   e6        100 %
Book:    3...   Nf6       100 %
Book:    4...   exd5      100 %
Book:    5...   Be7        11 %
Book:    6...   h6        100 %
Book:    7...   O-O       100 %
Book:    8...   c6        100 %
Book:    9...   c5        100 %
Engine:  10...  Nc6       -0.23     38/42      Nodes: 282.3 M     NPS:   8.0 M     MT: 00:35.2     Hash:  22.8 %
Engine:  11...  Bg4       -0.23     36/46      Nodes:  55.5 M     NPS:   8.8 M     MT: 00:06.3     Hash:   4.3 %     TB:     1
Engine:  12...  Bxc5      -0.18     37/45      Nodes:  84.0 M     NPS:   8.4 M     MT: 00:10.0     Hash:   6.9 %     TB:     2
Engine:  13...  Qe7       -0.16     36/47      Nodes:  69.0 M     NPS:   8.6 M     MT: 00:08.0     Hash:   4.8 %     TB:     2
Engine:  14...  Bd6       -0.17     33/43      Nodes:  68.0 M     NPS:   8.5 M     MT: 00:08.0     Hash:   4.7 %
Engine:  15...  Qxd6      -0.18     35/40      Nodes:  70.1 M     NPS:   8.7 M     MT: 00:08.1     Hash:   6.2 %     TB:     1
Engine:  16...  Bxe2      -0.14     36/46      Nodes: 114.6 M     NPS:   8.3 M     MT: 00:13.7     Hash:   9.0 %
Engine:  17...  Qe7       -0.20     33/41      Nodes:  80.9 M     NPS:   8.4 M     MT: 00:09.7     Hash:   5.9 %     TB:     2
Engine:  18...  Rac8      -0.13     33/39      Nodes: 168.4 M     NPS:   7.9 M     MT: 00:21.2     Hash:  14.4 %     TB:     4
Engine:  19...  Rfd8      -0.09     32/44      Nodes:  72.0 M     NPS:   8.1 M     MT: 00:08.8     Hash:   5.2 %     TB:     5
Engine:  20...  Rb8       -0.09     34/42      Nodes:  82.4 M     NPS:   8.2 M     MT: 00:10.1     Hash:   6.7 %     TB:     9
Engine:  21...  a6        -0.09     35/42      Nodes: 108.4 M     NPS:   8.1 M     MT: 00:13.4     Hash:   8.1 %     TB:    10
Engine:  22...  Rd6       -0.02     38/50      Nodes:  75.9 M     NPS:   8.1 M     MT: 00:09.4     Hash:   5.0 %     TB:    53
Engine:  23...  Rbd8      -0.04     39/47      Nodes:  54.4 M     NPS:   7.9 M     MT: 00:06.9     Hash:   3.4 %     TB:   254
Engine:  24...  Kf8       -0.05     44/56      Nodes: 124.7 M     NPS:   7.4 M     MT: 00:16.8     Hash:   8.8 %     TB:   5.1 k
Engine:  25...  b5        -0.01     41/56      Nodes:  50.0 M     NPS:   7.8 M     MT: 00:06.4     Hash:   3.3 %     TB:   3.6 k
Engine:  26...  d4        -0.02     51/60      Nodes: 155.1 M     NPS:   7.1 M     MT: 00:21.8     Hash:  11.4 %     TB:  15.2 k
Engine:  27...  Nxd4       0.00     58/42      Nodes:  54.7 M     NPS:   7.9 M     MT: 00:06.9     Hash:   3.7 %     TB:   2.9 k
Engine:  28...  Kxe7       0.00     56/47      Nodes:  55.2 M     NPS:   7.5 M     MT: 00:07.4     Hash:   3.5 %     TB:   4.6 k
Engine:  29...  Ne6        0.00     52/61      Nodes:  56.0 M     NPS:   8.0 M     MT: 00:07.0     Hash:   4.4 %     TB:  16.8 k
Engine:  30...  Rxd6       0.00     52/37      Nodes:  67.7 M     NPS:   7.4 M     MT: 00:09.2     Hash:   6.4 %     TB:  23.3 k
Engine:  31...  Rxd1+      0.00     61/46      Nodes:  55.8 M     NPS:   8.2 M     MT: 00:06.8     Hash:   4.1 %     TB:  34.3 k
Engine:  32...  Nd4        0.00     57/56      Nodes:  70.9 M     NPS:   7.6 M     MT: 00:09.3     Hash:   5.4 %     TB:  33.2 k
Engine:  33...  Ne4        0.00     61/46      Nodes:  54.2 M     NPS:   8.1 M     MT: 00:06.7     Hash:   3.6 %     TB:   4.3 k
Engine:  34...  Nf6        0.00     63/20      Nodes:  64.0 M     NPS:   7.7 M     MT: 00:08.3     Hash:   4.2 %     TB:  19.8 k
Engine:  35...  Ne4        0.00     62/26      Nodes:  75.5 M     NPS:   7.3 M     MT: 00:10.4     Hash:   8.4 %     TB:  29.6 k
lichess: Black offers draw
lichess: White declines draw
Engine:  36...  Nf6        0.00     56/16      Nodes:  53.0 M     NPS:   7.6 M     MT: 00:07.0     Hash:   4.1 %     TB:  33.6 k
Engine:  37...  a5         0.00     64/39      Nodes:  50.4 M     NPS:   8.3 M     MT: 00:06.1     Hash:   3.6 %     TB:  87.1 k
Engine:  38...  Kd6        0.00     61/30      Nodes:  56.3 M     NPS:   8.2 M     MT: 00:06.9     Hash:   4.4 %     TB: 130.1 k
Engine:  39...  Kc5        0.00     53/19      Nodes:  42.5 M     NPS:   7.3 M     MT: 00:05.8     Hash:   3.6 %     TB:  14.1 k
Engine:  40...  a4         0.00     54/45      Nodes: 129.9 M     NPS:   7.0 M     MT: 00:18.5     Hash:  10.1 %     TB: 147.1 k
Engine:  41...  Nd7        0.00     59/31      Nodes:  47.1 M     NPS:   8.1 M     MT: 00:05.8     Hash:   3.0 %     TB:  30.1 k
Engine:  42...  f5         0.00     59/30      Nodes:  46.0 M     NPS:   7.9 M     MT: 00:05.8     Hash:   5.7 %     TB:  44.2 k
Engine:  43...  Ne5+       0.00     54/25      Nodes:  46.9 M     NPS:   7.7 M     MT: 00:06.1     Hash:   4.5 %     TB:  49.3 k
Engine:  44...  f4         0.00     55/26      Nodes:  45.1 M     NPS:   8.1 M     MT: 00:05.6     Hash:   5.1 %     TB:  81.1 k
Engine:  45...  Nxf5       0.00     71/24      Nodes:  50.3 M     NPS:   8.6 M     MT: 00:05.8     Hash:   5.8 %     TB: 177.1 k
Engine:  46...  fxg3       0.00     69/25      Nodes:  56.1 M     NPS:   9.9 M     MT: 00:05.7     Hash:   3.8 %     TB: 292.7 k
lichess: Black offers draw
lichess: White declines draw
Engine:  47...  g6         0.00     75/19      Nodes:  55.3 M     NPS:  10.1 M     MT: 00:05.5     Hash:   4.3 %     TB: 297.0 k
Engine:  48...  g5         0.00     75/20      Nodes:  58.0 M     NPS:  10.7 M     MT: 00:05.4     Hash:   3.3 %     TB: 290.1 k
Engine:  49...  hxg5       0.00     79/18      Nodes:  76.8 M     NPS:  11.8 M     MT: 00:06.5     Hash:   2.2 %     TB: 348.7 k
Engine:  50...  axb3       0.00     86/16      Nodes:  74.1 M     NPS:  13.1 M     MT: 00:05.6     Hash:   5.0 %     TB: 218.1 k
Engine:  51...  Nc6        0.00     80/9       Nodes:  92.6 M     NPS:  16.0 M     MT: 00:05.8     Hash:   2.2 %     TB:  77.3 k
Engine:  52...  b4+        0.00     99/4       Nodes:  81.1 M     NPS:  14.7 M     MT: 00:05.5     Hash:   3.0 %     TB: 268.3 k
Engine:  53...  Nxb4       0.00     130/2      Nodes:  78.5 M     NPS:  14.8 M     MT: 00:05.3     Hash:   3.5 %     TB: 209.6 k
Engine:  54...  Nc6        0.00     84/25      Nodes: 277.1 M     NPS:  16.3 M     MT: 00:17.0     Hash:   4.3 %     TB:   1.3 k
Syzygy:  55...  Nd8        draw
Syzygy:  56...  Nf7        draw
________________________________________________________________________________________________________________________________
ID: tlg7gXsr     Challenger: BOT FataliiBot (1465)     TC: 3+0     Rated     Color: Random     Variant: Chess960
Challenge added to queue.
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
________________________________________________________________________________________________________________________________
ID: tlg7gXsr     Challenger: BOT FataliiBot (1465)     TC: 3+0     Rated     Color: Random     Variant: Chess960
Challenge has been canceled.
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
[...]

Any idea why this happened and how to fix it? It seems like it hadn't played any game in that time (which is proved by going to it's Lichess profile @EmptikVariantsBot)

Help would be greatly appreciated

Torom commented 1 year ago

Looks like an internet outage that BotLi didn't recover from. This is of course very annoying, but super hard to debug. In general I am very happy with the stability of BotLi. RaspFish now runs for days without interruption and problems, even with Lichess reboots and internet dropouts.

Are you using the latest version of BotLi? I used to have such problems occasionally when I used the event stream to detect the end of games. But this is not the case anymore since e00e004.

EmptikBest commented 1 year ago

I downloaded BotLi 3 days ago, so I think it's the latest version. Also, my other bot, EmptikBot, was also running on the same internet connection and had no issues. Any idea how to fix?

Torom commented 1 year ago

No, not really. It's also not clear to me why the bot gets stuck there. Let's hope it was a rare exception and won't happen again.

EmptikBest commented 1 year ago

Thanks for the help