Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anilist crashing Taiga #1182

Open
jesskitten opened this issue Apr 1, 2024 · 8 comments
Open

Anilist crashing Taiga #1182

jesskitten opened this issue Apr 1, 2024 · 8 comments
Labels

Comments

@jesskitten
Copy link

jesskitten commented Apr 1, 2024

There seems to be something odd going on with Anilist error detection, ever since I updated to 1.4.1 a couple days ago. Whenever I make any sort of update to my Anilist through Taiga now, there's a chance that the update seems to get briefly stuck in the history queue, then Taiga's status bar at the bottom displays "Anilist: Updating anime list... (51 bytes)" for a second before Taiga itself closes.

When I reopen Taiga, it tries to perform the last update again (probably because I have synch automatically at startup checked off), and sometimes succeeds, but if it fails it immediately closes again. Or sometimes it will process a couple more entries in the queue and then crash on another item. This cycle repeats until I reopen it and it successfully processes all the changes in the queue, at which point it stops crashing.

This doesn't seem to happen with MAL or Kitsu as far as I've tested, though I haven't tested both a ton. Taiga.log shows recent entries like "2024-04-01 11:44:11 [Error] anilist.cpp:366 sync::anilist::HasError | Internal Server Error" but I don't actually know if that's related because it doesn't always generate those lines before it crashes. I've tried a reinstall too to no avail.

@ZeusLT
Copy link

ZeusLT commented Apr 1, 2024

Mine always crash on "refresh data" in the seasons tab then fails to launch for the next 2-4 times.

@dedicatedwams
Copy link

Ditto, experiencing exact same issues as described above.

@erengy erengy added the anilist label Apr 1, 2024
@nerzak-dominion
Copy link

nerzak-dominion commented Apr 1, 2024

I was getting crashes today for every update (like changing score or status). I was using v1.4.0 and Anilist, Win10. I updated Taiga to 1.4.1 and after that the crashes stopped. I'll update if something change.
edit: nvm, keep getting crashes on some updates, like "status update".
It feels more random, like if some updates pass through and some don't

@erengy
Copy link
Owner

erengy commented Apr 1, 2024

AniList's API occasionally returns 500 Internal Server Error with the following response body:

{"error":{"status":500,"messages":["Bad request"]}}

This is different than what is described in the API docs (e.g. has an error object instead of errors), which is why Taiga is unable to handle it properly. Looks like the crash is caused by the JSON parser afterwards.

Note that this is unrelated to Taiga's recent v1.4.1 release, I was able to replicate the issue with v1.4.0 too.

@jesskitten
Copy link
Author

jesskitten commented Apr 1, 2024

Oh, that's interesting. The problem on my end coincided with the update from whatever version I used before (though it also coincided with the new anime season today), so I assumed it was due to that.

@erengy
Copy link
Owner

erengy commented Apr 1, 2024

Just saw other people on AniList's Discord server mentioning that they're getting Internal Server Error while using the website and the API. So this is likely due to AniList having server issues right now.

Note to self: We should eventually make the response handler more robust against cases like this.

@BJ-Hawk
Copy link

BJ-Hawk commented Apr 10, 2024

Any development on the issue? Just experienced this for the first time. Taiga crashes immediately on launch without any errors. Deleting the settings.xml allows the launch, but as soon as I set up my AniList account and hit Refresh, Taiga crashes again. Worked fine earlier today until I watched some anime, my guess is Taiga crashed as soon as it tried to update. I have Update on Launch enabled.

@erengy
Copy link
Owner

erengy commented Apr 10, 2024

Today's announcement from AniList:

We are currently experiencing some issues with our site due to server problems. Sorry for any inconvenience, we will try to have the issues resolved as soon as possible.

Their website was pretty much unusable today, but it's now back up again. I currently don't see any issues in Taiga either, but we'll see if it was a temporary fix or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants