p-hueber / prefetcharr

Let Sonarr fetch the next season of a show you are watching on Jellyfin/Emby/Plex.
Other
39 stars 1 forks source link

Plex Session Problem #57

Open DerChris119 opened 4 hours ago

DerChris119 commented 4 hours ago

Hello,

i am so sry. But i cant get it to work. I think there is not much what i could do wrong. But i am looking so much forward for your Contributions so i ll have to ask again.

I think it gets a connection but i have this Error now:

2024-10-30T16:14:58.621361Z  INFO prefetcharr: prefetcharr 0.8.0

2024-10-30T16:14:58.623379Z  INFO prefetcharr: Start watching Plex sessions

2024-10-30T16:19:38.662780Z ERROR prefetcharr::media_server: cannot fetch sessions from media server: error sending request for url (http://x.x.x.x:32400/status/sessions)

Do you have an Idea?

p-hueber commented 2 hours ago

Maybe temporary connection problems? There's an initial connection check for Plex that would show a different error, so things seem to be fine at first. If you keep it running, does the error message repeat after your configured polling interval?

DerChris119 commented 2 hours ago

I turned down the Polling to 20 and is see nothing in the Log. Uselly there should be the Series that get watched.

# Polling interval in seconds
 - INTERVAL=20 

I mean even that the first Log shows after 5 min makes no sense when i have polling to 20s

p-hueber commented 37 minutes ago

I mean even that the first Log shows after 5 min makes no sense when i have polling to 20s

That just means that requesting the session list from Plex takes 5 minutes until it ultimately fails. Sounds like some sort of timeout to me. Try setting RUST_LOG=trace and attach the log as a file. Maybe we can learn more from that.

DerChris119 commented 15 minutes ago

Thank you for you answer here is my Trace Log _prefetcharr_logs.txt