Skip to content

Jikan/MyAnimeList 504 Time-out #49

Description

@Akamaru

It seem the Jikan API can't connect to MyAnimeList:

2026-07-10 23:00:02,185 (71ce040fcb38) :  INFO (myanimelistagent:34) - [MyAnimeList.net] Searching for Anime
2026-07-10 23:00:02,185 (71ce040fcb38) :  DEBUG (myanimelistagent:62) - [MyAnimeList.net] No .match file found
2026-07-10 23:00:02,185 (71ce040fcb38) :  INFO (jikan:48) - [MyAnimeList.net] Searching on Jikan for name: 'Ushiro no Shoumen Kamui-san'
2026-07-10 23:00:02,185 (71ce040fcb38) :  DEBUG (common:99) - [MyAnimeList.net] Requesting response from 'https://api.jikan.moe/v4/anime?q=Ushiro+no+Shoumen+Kamui-san'
2026-07-10 23:00:02,357 (71ce040fcb38) :  ERROR (common:112) - [MyAnimeList.net] Error getting response 'HTTP Error 504: Gateway Time-out'
2026-07-10 23:00:02,358 (71ce040fcb38) :  CRITICAL (agentkit:1018) - Exception in the search function of agent named 'MyAnimeList.net', called with keyword arguments {'openSubtitlesHash': '431d0211aed0b05a', 'episode': '1', 'name': None, 'episodic': '1', 'show': 'Ushiro no Shoumen Kamui-san', 'season': '1', 'plexHash': 'fca536b554719e2b4c2fa2124dfd4eb95c2a9157', 'filename': '%2Fhome%2Fakamaru%2FFestplatten%2FRizeros%2FAnime%2FUshiro%20no%20Shoumen%20Kamui-san%2F%5BKSM%20Anime%5D%20Ushiro%20no%20Shoumen%20Kamui-san%20EP01%2Emkv', 'year': None, 'duration': '720032', 'id': '2010125'} (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cd55560bb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search
    agent.search(*f_args, **f_kwargs)
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/MyAnimeList.bundle/Contents/Code/__init__.py", line 44, in search
    self.MYANIMELIST.search(results, media, lang, manual, self.TYPE)
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/MyAnimeList.bundle/Contents/Code/utils/myanimelistagent.py", line 64, in search
    self.JIKAN_UTILS.search(title, results, lang)
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/MyAnimeList.bundle/Contents/Code/utils/jikan.py", line 52, in search
    searchResult = JSON.ObjectFromString(self.COMMON_UTILS.getResponse(searchUrl))
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cd55560bb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 96, in ObjectFromString
    check_size(string, max_size)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-cd55560bb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 22, in check_size
    if len(data) > max_size:
TypeError: object of type 'NoneType' has no len()

I know you can't fix this. I just want to inform other users looking for this issue.
There is already an open issue at the Jikan Repo: jikan-me/jikan-rest#610

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions