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

[BUG] Query failed with status 500 Internal Server Error syning from Plex to Jellyfin #118

Open
1 of 4 tasks
JunkKnight opened this issue Nov 29, 2023 · 1 comment
Open
1 of 4 tasks

Comments

@JunkKnight
Copy link

JunkKnight commented Nov 29, 2023

Describe the bug
I'm trying to sync from Plex to Jellyfin but it errors out when actually running the sync.

To Reproduce
Steps to reproduce the behavior:
Set dryrun to false, and let it sync. Error occurs after it builds the list of items that need to be marked.

Logs

Movies: {}
[INFO]: Jellyfin: Updating watched for Jellyfin_Username in library TV Shows for show Agatha Christie's Poirot
[INFO]: Jellyfin: Updating watched for Jellyfin_Username in library Anime for show 86: Eighty Six
[MARK]: Jellyfin: 86: Eighty Six Season 1 Episode 1 Undertaker as watched for Jellyfin_Username in Anime
[ERROR]: Jellyfin: Query post /Users/57125e5594fa4570a29b3e109f401977/PlayedItems/07345be6a1dc6a475359d3d77825a8e1
Results None
Query failed with status 500 Internal Server Error
[ERROR]: Jellyfin: Error updating watched for Jellyfin_Username in library Anime, Query failed with status 500 Internal Server Error
[ERROR]: Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 128, in query
    raise Exception(
Exception: Query failed with status 500 Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 826, in update_user_watched
    await self.query(
  File "/app/src/jellyfin.py", line 144, in query
    raise Exception(e)
Exception: Query failed with status 500 Internal Server Error

[MARK]: Jellyfin: Agatha Christie's Poirot Season 1 Episode 1 The Adventure of the Clapham Cook as watched for Jellyfin_Username in TV Shows
[ERROR]: Jellyfin: Query post /Users/57125e5594fa4570a29b3e109f401977/PlayedItems/be4cbe3c161e6fb5a1821f70ac297d5e
Results None
Query failed with status 500 Internal Server Error
[ERROR]: Jellyfin: Error updating watched for Jellyfin_Username in library TV Shows, Query failed with status 500 Internal Server Error
[ERROR]: Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 128, in query
    raise Exception(
Exception: Query failed with status 500 Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 826, in update_user_watched
    await self.query(
  File "/app/src/jellyfin.py", line 144, in query
    raise Exception(e)
Exception: Query failed with status 500 Internal Server Error

[MARK]: Jellyfin: The Adjustment Bureau as watched for Jellyfin_Username in Movies
[ERROR]: Jellyfin: Query post /Users/57125e5594fa4570a29b3e109f401977/PlayedItems/44be74b5b381765458a69cc24316d242
Results None
Query failed with status 500 Internal Server Error
[ERROR]: Jellyfin: Error updating watched for Jellyfin_Username in library Movies, Query failed with status 500 Internal Server Error
[ERROR]: Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 128, in query
    raise Exception(
Exception: Query failed with status 500 Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/src/jellyfin.py", line 643, in update_user_watched
    await self.query(
  File "/app/src/jellyfin.py", line 144, in query
    raise Exception(e)
Exception: Query failed with status 500 Internal Server Error

Before this it shows in the logs a large list of episode names/numbers I've omitted since it's huge. I also censored my Jellyfin username, but it shows correctly in the logs.

Type:

  • Docker Compose
  • Docker
  • Unraid
  • Native

Additional context
It seems to correctly establish a connection to both servers, and dryrun=true passes with out any issues.

@luigi311
Copy link
Owner

Can you try the new updates, i removed async from jellyfin since it was causing issues and didnt really speed it up.

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

No branches or pull requests

2 participants