Jellyfin Forum
Playback issue but transcoding works - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Playback issue but transcoding works (/t-playback-issue-but-transcoding-works)

Pages: 1 2 3


Playback issue but transcoding works - Peronia - 2024-02-21

Hi, I'm using Jellyfin 10.8.13 via the repository on Debian 12.

When I try to play a video (no matter which) I see the background image with a loading circle (and after some time the screen went black, only on the Cromecast) but never a video. I see that the transcoding is working, files are created.
I don't know why Jellyfin isn't working anymore. I don't know when I watched the last video, but it works.

What I've recently changed:
  • Added new media into the libary -> I don't believe that this might the reason
  • Switched the transcoding path -> I reverted this change, now using the default path again
  • Uninstalled an obsolete email plugin -> I don't believe that this might the reason
  • Installed the plugin "Open Subtitles" -> I disabled it
  • Installed the pugin "Reports" -> I don't believe that this might the reason

Since I can see the server creates transcoding files, I assume I have no problems with permissions.
   

In the logs I can't see anything abnormal:
Jellyfin log
Transcoding log

I've tested the playback with my Android handy, 2 browser (Firefox and Chrome) and a Cromecast.

Thanks for helping me.


RE: Playback issue but transcoding works - TheDreadPirate - 2024-02-21

Are you using a reverse proxy? If so which one? I also see you are using a Published Server URI.


RE: Playback issue but transcoding works - Peronia - 2024-02-22

Hi, yes I am using a nginx reverse proxy, but not for Jellyfin. Jellyfin is internal only. What do you mean exactly with published server URI?


RE: Playback issue but transcoding works - TheDreadPirate - 2024-02-22

In Dashboard > Networking, go all the way to the bottom, there is a field called "Published Server URI". There are some log entries that indicate it is being used, but I'm not certain.

In a browser open the dev console and monitor that while you watch content that requires transcoding.


RE: Playback issue but transcoding works - Peronia - 2024-02-23

I configured no published server URI. I configured only HTTPS (with a valid Let's Encrypt certificate) and IPv4 only.

Thanks for the hint with the dev console, I got this (more than 10 times):
Code:
HLS Error: Type: networkError Details: fragLoadTimeOut Fatal: false main.jellyfin.bundle.js:2:97852
    _ https://example.com:8920/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    loadtimeout https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    loadtimeout https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    (Async: setTimeout handler)
    loadInternal https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    load https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onFragLoading https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEventGeneric https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEvent https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _loadFragment https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _fetchPayloadOrEos https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _doTickIdle https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    doTick https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    tick https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onLevelLoaded https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEventGeneric https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEvent https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _handlePlaylistLoaded https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _handleTrackOrLevelPlaylist https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    loadsuccess https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    readystatechange https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    (Async: EventHandlerNonNull)
    loadInternal https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    load https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    load https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onLevelLoading https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEventGeneric https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEvent https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    setLevelInternal https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    set https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    set https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    set https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    startLoad https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    startLoad https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    startLoad https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onManifestParsed https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEventGeneric https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEvent https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onManifestLoaded https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEventGeneric https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    onEvent https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    emit https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    trigger https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    _handleMasterPlaylist https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    loadsuccess https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    readystatechange https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2
    (Async: EventHandlerNonNull)
    loadInternal https://example.com:8920/web/4291.b963b8b61cf8a9570109.chunk.js:2

I read that this could be a browser bug, but I have the same behavior at the Cromecast...
I try to set the published server URI but this does not solve the problem, so I removed it again.


RE: Playback issue but transcoding works - TheDreadPirate - 2024-02-23

If you're using nginx to handle HTTPS, you do NOT need to also configure Jellyfin for HTTPS. Jellyfin's HTTPS implementation is a bit jank and we don't recommend using if you don't have to.

Can you share your nginx config with us? Censor any domains in the server_name and cert path.


RE: Playback issue but transcoding works - Peronia - 2024-02-23

As I said, I don't use a reverse proxy for jellyfin. I go directly to the server. Therefore I don't have a nginx config.


RE: Playback issue but transcoding works - TheDreadPirate - 2024-02-23

My bad. Mixed this thread up with another.

Did your cert expire?

Have you always used https?

Were you using https when Jellyfin was working?

If Jellyfin is internal only, why use https at all? I'm not sure if that is the cause, though.


RE: Playback issue but transcoding works - Peronia - 2024-02-23

No, my cert is still valid. I have overall certificates in my network. The warning when no one is set trigger me.
I use certificates for years, also with jellyfin. I watched the most time over https.
I tried it just over http with android. The video don't starts too.
Is this warning related to https?


RE: Playback issue but transcoding works - TheDreadPirate - 2024-02-23

Can you enable debug logging, replicate the problem, then share the new log on sourcebin?

https://jellyfin.org/docs/general/administration/troubleshooting/#debug-logging