2024-11-01, 01:27 AM
(This post was last modified: 2024-11-01, 01:30 AM by hugefinfan. Edited 1 time in total.)
(2024-11-01, 12:49 AM)TheDreadPirate Wrote: Using cloudflare to stream video is against their TOS and could be a contributing factor.
For your local devices, are they using your domain address to connect?
Correct about cloudflare; I'm not using CloudFlare Tunnels; just their proxy and DNS services. My understanding is that it is the CDN that is against streaming ToS:
https://www.cloudflare.com/service-speci...work-terms
For devices on my network, no, they are connecting to the public-facing domain name and my browser is not pointed directly at the local server.
Here's a thought; I'll try streaming internally and see if the error persists there. In the meantime here is another firefox console of another crash:
Code:
Requesting url without automatic networking: https://sub.domain.tld/Sessions/Playing/Progress 3 node_modules.jellyfin-apiclient.bundle.js:2:14622
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736
Requesting url without automatic networking: https://sub.domain.tld/Sessions/Playing/Progress 3 node_modules.jellyfin-apiclient.bundle.js:2:14622
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736
Requesting url without automatic networking: https://sub.domain.tld/Sessions/Playing/Progress 3 node_modules.jellyfin-apiclient.bundle.js:2:14622
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736
HLS Error: Type: networkError Details: fragLoadError Fatal: false main.jellyfin.bundle.js:2:69163
hls.js response error code: 502 main.jellyfin.bundle.js:2:69369
Requesting url without automatic networking: https://sub.domain.tld/Sessions/Playing/Progress node_modules.jellyfin-apiclient.bundle.js:2:14622
Requesting url without automatic networking: https://sub.domain.tld/Sessions/Playing/Progress node_modules.jellyfin-apiclient.bundle.js:2:14622
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server.
I think we may be on the right track with investigating proxy or gateway as the 502 error (again above) seems to point to that:
https://en.wikipedia.org/wiki/HTTP_502
but I am unsure why losing connection from the server for a few seconds (or in all likelihood even a few milliseconds) would cause video to crash if there is tens of minutes buffered already. If that were the case I imagine many people would experience this error with great frequency causing this software to be basically unusable.