Jump to content

Active Devices Appear to be Stuck in Dashboard


Recommended Posts

  • 1 month later...
Posted

Are you still running into this?

Posted

Yepp, same here on latest .29 server beta.

AndroidTV seems to handle it better than the other apps.

Posted
2 hours ago, Luke said:

Are you still running into this?

yeah

On 4/2/2023 at 11:08 PM, Bagul said:

@LukeNo news on this subject?

 

Posted
2 hours ago, neik said:

AndroidTV seems to handle it better than the other apps.

False alarm, unfortunately.
Just had such a case in the dashboard:

image.png.12c12494b772a9e1b92efc10434d6ef5.png

 

Posted
On 4/10/2023 at 3:51 PM, neik said:

False alarm, unfortunately.
Just had such a case in the dashboard:

image.png.12c12494b772a9e1b92efc10434d6ef5.png

 

Are you able to reproduce with the emby web app?

  • 4 months later...
Posted (edited)

@Luke

I also have the problem locally

image.png.8d748419621dfe986c173ec749080017.png

 

And I have the problem with the web application

Edited by Bagul
Posted
7 hours ago, Bagul said:

@Luke

I also have the problem locally

image.png.8d748419621dfe986c173ec749080017.png

 

And I have the problem with the web application

Hi, can we please look at a specific example?

Thanks !

Posted (edited)
4 hours ago, Luke said:

Hi, can we please look at a specific example?

Thanks !

Hello,

Yes of course, user "laura" was watching an episode (but this happens with movies too), and instead of going back to stop playback, she just turned off the Apple TV (I can reproduce the problem on iOS, web, android and Apple TV).
I think the websockets session is closed as I can no longer stop and pause playback from the dashboard.

When one of my users does this action of not going back to stop playback completely, the session on the Dashboard remains open and if playback required transcoding, this continues using unnecessary resources.

 

I send my server logs as soon as I can

Edited by Bagul
Posted

Are you still running into this?

Posted
2 hours ago, Luke said:

Are you still running into this?

Yes, I haven't had time to generate log files yet.

Posted
On 9/14/2023 at 3:30 PM, Bagul said:

Yes, I haven't had time to generate log files yet.

That would be great, thanks.

  • 4 weeks later...
Posted

I've sent you the logs by private message.
User: Thibault
Request sent to stop playback: 00:50 approx. and playback blocked

  • 2 weeks later...
Posted
On 10/15/2023 at 12:55 AM, Bagul said:

I've sent you the logs by private message.
User: Thibault
Request sent to stop playback: 00:50 approx. and playback blocked

@Luke

The user has only one simultaneous stream. He has just closed his computer and is watching on his TV (so he has 2 streams) and transcoding continues.

 

I have resent you the logs via private message

image.png.61517480b61ce2e394c8ee8c61110714.png

  • Thanks 1
  • 1 month later...
  • 6 months later...
NailClipper
Posted

It has been a few years, multiple threads has been opened on the same issues, many information asked were provided by the users, so can we get an attention on this? This is still an issue.

I have a few different devices (marked in red) which has been there for more than 1 day. The last 2 were there for at least 2-3 days. They can be cleared if I restart Emby. But can we get more efficient way to handle this? Probably an option to terminate the session?

 

Screenshot 2024-06-15 231343.png

ginjaninja
Posted (edited)

i am getting stuck sessions from time to time... in my case...restart the [beta] server clears them and the sessions dont come back...seen with Roku client.

Oddly if you use the stop session button on the server dashboard....the sessions dont disappear which i think is odd because i dont think its the client maintaining the session (as the session doesnt come back when restarting the server). if i had to make a wild guess the server seems to be 'stuck'.

and in any case, "stop session on the server" should be a sledgehammer that no session 'can defend against'...at the very least the session should disappear from dashboard and come back only IF the client requests something..i would have guessed.

I cant reproduce the problem so difficult to send a clean log..it just happens from time to time... Last time  it happened i did look at the log and i saw no activity even from hitting the stop button on dashboard or from the client requesting service...

edit

hazzarding another  wild guess...from memory i think there is always evidence of a 100% red bar on stuck sessions ie..the 'transcoding' red line...

 

Edited by ginjaninja
Posted

Hi, we’ll take a look at this. Thanks for reporting.

  • 4 months later...
NailClipper
Posted

Still an issue. Hoping for it to get fixed.

  • Thanks 1
  • 2 weeks later...
Posted

I almost always have a stuck session or two in my dashboard. I haven't kept a log, but it's usually from Roku devices. I assume Roku is not informing the app of user-exit and Emby server won't remove it from active. When this happens, the play/pause/stop buttons disappear as if the server knows it is an inactive session. Another funny aspect, is that when that device comes back online and streams something new, it will only show one box, but will oddly jump back and forth between displaying the old stuck session and the new active session. While it can be annoying and triggers my OCD to have stuck sessions, it doesn't seem to have a tangible effect on the servers ability to stream (except maybe over time it fills the transcoding-tmp folder), so it is a low priority for me, compared to other features I'd love to see implemented.

pwhodges
Posted

The Roku does not give the app a chance to inform the server if when the Home button is pressed.  Most problems with stuck sessions can be avoided if the playback is ended by using the back button.  I use a Roku every day, following this discipline, and don't get a stuck session more than maybe once a month or less.

Paul

Posted
12 hours ago, pwhodges said:

The Roku does not give the app a chance to inform the server if when the Home button is pressed.  Most problems with stuck sessions can be avoided if the playback is ended by using the back button.  I use a Roku every day, following this discipline, and don't get a stuck session more than maybe once a month or less.

Paul

Of course, but I'm not the problem. I try to inform my users, but they don't care to remember, and if it's solely to the benefit of my OCD, there's not much standing for me to force them to do it "the right way". This is reminiscent of the iPhone 4 "you're holding it wrong". And again, Emby server knows the user is no longer there, the buttons to control the session disappear, and yet it holds on for days, likely forever if I didn't reboot every now and then.

Posted

Can't the apps heartbeat back to the server and if the server doesn't hear a heartbeat in a while it removes it from the dashboard? I have this issue with Roku and Emby for Samsung TVs, and sometimes iPhone client.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...