Jump to content

Emby library loading but video not playing on 2nd HDD


Recommended Posts

Posted

@Carlo, thank you for the response! I think it was up to date for the duration of my problems--I assumed there was an update released in the time I haven't had it open on the (previously) troubled computer. I also haven't changed anything between a few weeks ago and now, so it's still a mystery why it wasn't working. 🤷‍♂️ All the permissions seem to be in order because I was using Emby on another computer and accessing the same media.

  • Thanks 1
  • 2 weeks later...
Posted

There was no playback in the log file you provided.

Please try playback again and upload a new log right after the test.

Posted
5 hours ago, Carlo said:

There was no playback in the log file you provided.

Please try playback again and upload a new log right after the test.

Ah thank you Carlo, my bad! Attaching what I think should be something? It's just my opening Emby, attempting to play something, and then giving up after a few minutes of the loading circle.

embyserver.txt

Posted

You have a lot of errors in the log due to automatic port napping requests, which your router doesn't support,
Go to the network menu on the server dashboard and uncheck this option "Enable automatic port mapping".
Restart Emby server.
Wait 1 minute to let all Server features load and settle.
Go to logs menu/settings tab and turn on debug mode.

Try playback again
Wait 1 minute after test and upload server log
Turn off debug mode,

Thanks

Posted
11 hours ago, Carlo said:

You have a lot of errors in the log due to automatic port napping requests, which your router doesn't support,
Go to the network menu on the server dashboard and uncheck this option "Enable automatic port mapping".
Restart Emby server.
Wait 1 minute to let all Server features load and settle.
Go to logs menu/settings tab and turn on debug mode.

Try playback again
Wait 1 minute after test and upload server log
Turn off debug mode,

Thanks

Thank you for your time! I've done that and server log is attached.

embyserver 10-13.txt

Posted


2024-10-13 10:16:01.013 Info Server: http/1.1 Response 200 to host1. Time: 42537ms. POST http://192.168.0.248:8096/emby/Items/2679/PlaybackInfo?UserId=d9958c6f7b0e4bcfa014e7f1794ca5cf&isplayback=false&maxstreamingbitrate=41000000&starttimeticks=00000000

That's showing an initial 42 second wait time to start loading the video

then you get this error

2024-10-13 10:17:00.860 Info Server: http/1.1 POST http://192.168.0.248:80
    Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.

Here's a 47 second request
2024-10-13 10:25:43.387 Info Server: http/1.1 Response 500 to host1. Time: 47350ms. POST http://192.168.0.248:8096/emby/Items/2679/PlaybackInfo?UserId=d9958c6f7b0e4bcfa014e7f1794ca5cf&isplayback=false&maxstreamingbitrate=41000000&starttimeticks=00000000

It would appear there is something wrong with HDD or setup that is causing these long wait times.
Is this a USB drive by any chance?
Is the drive spinning down which would require it to spin up on use taking quite a long time?

Have you run a test on the drive to check for errors?
 

Posted
On 10/14/2024 at 11:11 AM, Carlo said:


2024-10-13 10:16:01.013 Info Server: http/1.1 Response 200 to host1. Time: 42537ms. POST http://192.168.0.248:8096/emby/Items/2679/PlaybackInfo?UserId=d9958c6f7b0e4bcfa014e7f1794ca5cf&isplayback=false&maxstreamingbitrate=41000000&starttimeticks=00000000

That's showing an initial 42 second wait time to start loading the video

then you get this error

2024-10-13 10:17:00.860 Info Server: http/1.1 POST http://192.168.0.248:80
    Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.

Here's a 47 second request
2024-10-13 10:25:43.387 Info Server: http/1.1 Response 500 to host1. Time: 47350ms. POST http://192.168.0.248:8096/emby/Items/2679/PlaybackInfo?UserId=d9958c6f7b0e4bcfa014e7f1794ca5cf&isplayback=false&maxstreamingbitrate=41000000&starttimeticks=00000000

It would appear there is something wrong with HDD or setup that is causing these long wait times.
Is this a USB drive by any chance?
Is the drive spinning down which would require it to spin up on use taking quite a long time?

Have you run a test on the drive to check for errors?
 

Thank you for your help on this.

It is very possible there could be something wrong with the setup! It is not a USB drive, it's an internal HDD that I installed but it was also my first time doing that so there's plenty of room for error. However, no actual errors found with chkdsk and it is not spinning down (I believe. From what I can tell, that's a setting I would have proactively changed?).

I have Emby running on another computer pulling media from the drive and it seems to work fine, however looking at the logs there are errors? If it is helpful to compare, I went through and did the same process suggested earlier with this other computer. The difference is that video plays easily from this setup.

 

Thank you again!

2024-10-16 - embyserver - laptop.txt

Posted

I don't really see anything that stands out.

I do see a network PrivadoVPN_Wireguard adapter being picked up by Emby.
While unlikely, you could try turning that off, restart Emby and see if that makes any difference.

Posted (edited)
12 hours ago, Carlo said:

I don't really see anything that stands out.

I do see a network PrivadoVPN_Wireguard adapter being picked up by Emby.
While unlikely, you could try turning that off, restart Emby and see if that makes any difference.

Hmm thank you, good to know that setup is working at least! I have indeed tried with the VPN off, restarting etc. It was previously working with it on, as well. What's really getting me is that is that I didn't change anything and it started working, and again no change then it stopped. I can't think of any factors that may have affected it.

 

The only other thing I can think of is to look at the logs from when it was working, but I may have missed out on that window as the logs I can see are only going back to the 12th, and I need Oct 2-9. Probably not, but are older logs stored anywhere I could find?

Edited by bordor
correct month
Posted
Quote

Probably not, but are older logs stored anywhere I could find?

No, they get cleared out after three days.

Have you updated to Emby Server 4.8.10?

Posted
4 hours ago, Luke said:

No, they get cleared out after three days.

Have you updated to Emby Server 4.8.10?

I believe it was automatically updated, yes.

update.png

Posted

Hi again!

So it is back to working, again without any network or settings changes on my end. I grabbed a log with debugging on from a successful play and I'm hoping that can shed some light on the issue when nothing else is seeming to? Thank you to anyone who takes a look.

2024-10-22 - embyserver.txt

Posted

Glad things are working again.

Posted (edited)
On 10/22/2024 at 9:52 PM, Carlo said:

Glad things are working again.

Thank you, me too! Does the log look clean?

I'm kind of dying at the seemingly arbitrary nature of when it chooses to work, though. I am thinking I'll be back in a week or two lol--I can't stress enough that I haven't done anything either time to make it work

Edited by bordor
Posted

Logs are squeaky clean. :)

Posted
On 10/26/2024 at 5:47 PM, Carlo said:

Logs are squeaky clean. :)

Wonderful, thank you! Fingers crossed they stay that way.

 

  • Thanks 2
Posted

Everything still good?

  • 1 month later...
Posted

Hello, apologies for the delay! Yes, everything is still working well! Kind of surprised, honestly lol. I still haven't pinned down what it might have been though. Thank you all for the help!

  • Thanks 1

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...