Closed ddugovic closed 1 year ago
I posted my observations here: https://discord.com/channels/280713822073913354/1044537022607532033/1044537022607532033
The reason for the error are broken streams in the Lichess API. Here it is the /api/bot/online
endpoint. With curl the error looks like this:
$ curl -v https://lichess.org/api/bot/online
[...]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* Connection #0 to host lichess.org left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
Interestingly, the stream always breaks after 101 or more rarely after 202 bots.
But other stream endpoints like /api/games/user/{username}
are also affected.
But other stream endpoints like /api/games/user/{username} are also affected.
Can confirm, the API https://lichess.org/api/team/{teamId}/users for showing all members of a team is not working for me either, the stream breaks after the first 7 members
@ornicar But what about the team/<id>/users
api?
Example: The request curl https://lichess.org/api/team/coders/users
yields
curl: (18) transfer closed with outstanding read data remaining
Some data is returned, but the list is incomplete. Is this issue really just for the bots API?
Exact URL where the bug happened https://lichess.org/player/bots
Steps to reproduce the bug
What did you expect to happen? Online featured bots such as maia1 exist
What happened instead? No featured bots are shown, even maia bots which are currently online and playing games
Operating system and browser version Windows 10 MS Edge latest