2024-08-27, 08:08 PM
2024-08-27, 08:16 PM
It does the same for me on a Sony Android TV. If i force the app to stop, after it's not doing it till next time Jellyfin is launched but otherwise it also keeps connecting and disconnecting. I'd like to know how to prevent it if someone has the solution.
2024-09-06, 05:03 AM
(This post was last modified: 2024-09-06, 05:07 AM by jellyhorse. Edited 2 times in total.)
Ok, I thought maybe I had a reverse proxy misconfiguration so attempted just hosting jellyfin locally on my desktop (windows 11) and connecting to it from my 2019 shield via IP. Still having the same issue!! Here are the logs I was getting on my server with debug logs enabled.
Also I can reproduce this every time by leaving the jellyfin app open on my shield and not playing any media. Code: [2024-09-04 16:49:18.463 -04:00] [DBG] [3] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets.
2024-09-06, 05:07 PM
I'm getting this too. I'm remote at the moment and using a Fire TV stick and Caddy as the reverse proxy. To stop the constant connect/disconnects I have to force stop Jellyfin on the Fire Stick. I'll try it out locally soon.
I tend to check my activity all the time and this is the first time I've ever seen this.
Jellyfin1 - 10.10.1 (Docker) Synology NAS (transcoding off)
Jellyfin2 - 10.10.1 Minix ZX100-0db MiniPC, Intel N100 (transcoding on) Storage - x3 Synology NAS (22TB) Reverse Proxy - Caddy v2 running on a Pi3b+
2024-10-06, 12:01 AM
I posted an issue on Github and it was closed with the comment that this is normal behavior. I did come up with a workaround (for Ubuntu). I created a crontab that executes a script every 15 minutes and deletes these logs from the database.
Create a script and make it executable (chmod +x /path/to/script.sh) with the following contents: #!/bin/bash sudo sqlite3 /var/lib/jellyfin/data/jellyfin.db "delete from ActivityLogs where name like '%has disconnected from%' or name like '%is online from%';" Run 'sudo crontab -e' and add this to the bottom: */15 * * * * /bin/bash /path/to/script.sh |
|
|