RiotGames / developer-relations

Riot Games Developer Ecosystem Bug Reporting
http://developer.riotgames.com
744 stars 44 forks source link

[BUG] LoR in-game API crashes when requesting static-decklist endpoint #229

Closed MoanaBoi closed 10 months ago

MoanaBoi commented 4 years ago

Describe the bug
When requesting the in game API for "/static-decklist" the API randomly crashes.

Issue Description
When requesting this endpoint the API doesn't answer anything. No access denied or request timeout.

Expected Result
Expecting the API to answer with the deck code and the cards in it if the user is in game or { "DeckCode": null, "CardsInDeck": null } if the user is not in game.

Actual Result
The API doesn't answer. I went and checked the logs of LoR to see if the crashed was logged and i found the issue here is the pastbin of the logs for the crash: https://pastebin.com/CW06Xnn9

Developer Impact

Player Impact

Preconditions

Steps to reproduce

  1. Launch the game
  2. Launch a game against an AI for testing
  3. Request the "/static-decklist" endpoint (it should work at first)
  4. wait around 10 minutes in the game.
  5. request the endpoint again.

Issue Comments

If you're also experiencing this issue please add any additional context that is useful, the developer impact to yourself, and the player impact to your users. As an example, if spectator-v4 isn't working it might affect a scouting site, but it could also affect a mobile app or site to share replays. Give the context on how this issue affects your project.

DEPREZR commented 4 years ago

I performed many tests, and local api seems to not work for online matches. For what I saw when I played some matches versus IA, no problem, api respond. But from the moment I start an online one, next requests infinitely await.

MoanaBoi commented 4 years ago

It also crashes versus AI for me at least.

tisbells commented 10 months ago

Closing out old issues. We've had no recent reports this issue is still occurring. If you are still experiencing this, please comment or reopen.