Android App Unable to Connect - David James - 2025-03-27
I have jellyfin installed and finally reachable via browser with a reverse proxy setup. (jellyfin.mysite.com) I am able to load the GUI just fine. I can edit my settings, go to the different folders, favorite items etc etc. BUT if i want to play a movie, forget about it. FATAL ERROR every time.
I am using cloudflare for which I got an SSL cert from it and loaded that into NPM.
NPM Setup:
http 192.168.1.17 8096
All Checked off on the bottom
SSL: Loaded my custom SSL Cert that I use on all my other domain names.
Cloudflare:
Cname jellyfin @ 60 Proxied
When I try to load into the android app, i get nothing but error that they are unreachable.
My router forwards ports 80,443,8096,8080,4443
Where in my setup am I going wrong?
Code: Request URL:
https://jellyfin.movies.io/videos/a08bcd13-9ac3-3651-6b0c-310842c2fa87/hls1/main/-1.mp4?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEzNC4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NDMwMzQ3NTE5MjA1&MediaSourceId=a08bcd139ac336516b0c310842c2fa87&VideoCodec=av1,hevc,h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=7256998&AudioBitrate=1446167&MaxFramerate=23.976025&PlaySessionId=719bc0d124534d83b262c9724f771c5c&api_key=ea30a325abac4f1685072249b3ebb12b&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=488d66fbd1c12b4439b546ef6da2c052&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&av1-profile=main&av1-rangetype=SDR,HDR10,HLG&av1-level=19&vp9-rangetype=SDR,HDR10,HLG&hevc-profile=main,main10&hevc-rangetype=SDR,HDR10,HLG&hevc-level=183&hevc-deinterlace=true&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=0
Request Method:
GET
Status Code:
401 Unauthorized
Remote Address:
104.21.23.74:443
Referrer Policy:
no-referrer
alt-svc:
h3=":443"; ma=86400
cf-cache-status:
BYPASS
cf-ray:
926aed0a0aca1895-EWR
content-length:
0
date:
Thu, 27 Mar 2025 00:56:05 GMT
nel:
{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to:
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=zJLKnCFZSw56VXaFkAb8xB3ygzfR2lCMNc0%2F4LxA6ILjZnGx%2FQFXEn9B8VpSrA1o42Ev2rEt7mvlqDA%2BdSmG9YBvEfc2PB26cF1WRRJtS5Bq4MxhNEUubcyBjw9W%2FLeHr28pIf8%3D"}],"group":"cf-nel","max_age":604800}
server:
cloudflare
strict-transport-security:
max-age=63072000;includeSubDomains; preload
vary:
Accept-Encoding
x-response-time-ms:
1.0419
:authority:
jellyfin.movies.io
:method:
GET
:path:
/videos/a08bcd13-9ac3-3651-6b0c-310842c2fa87/hls1/main/-1.mp4?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEzNC4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NDMwMzQ3NTE5MjA1&MediaSourceId=a08bcd139ac336516b0c310842c2fa87&VideoCodec=av1,hevc,h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=7256998&AudioBitrate=1446167&MaxFramerate=23.976025&PlaySessionId=719bc0d124534d83b262c9724f771c5c&api_key=ea30a325abac4f1685072249b3ebb12b&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=488d66fbd1c12b4439b546ef6da2c052&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=True&h264-level=41&h264-videobitdepth=8&h264-profile=high&av1-profile=main&av1-rangetype=SDR,HDR10,HLG&av1-level=19&vp9-rangetype=SDR,HDR10,HLG&hevc-profile=main,main10&hevc-rangetype=SDR,HDR10,HLG&hevc-level=183&hevc-deinterlace=true&h264-rangetype=SDR&h264-deinterlace=true&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=0&actualSegmentLengthTicks=0
:scheme:
https
accept:
*/*
accept-encoding:
gzip, deflate, br, zstd
accept-language:
en-US,en;q=0.9
cookie:
cf_clearance=9jcqTfgYk3gjrP8UF7azapKal86LjGPbeW8kwfxjzao-1743036935-1.2.1.1-Gpx_MOwtxWP91FS3WxG8xVJrjA4YaYtc59hOJf88d3DPIveGXkKZDCqQYEeN_lZh9uzuqdMdt5p2i5ta5iM987CtvHZaEd7HXkSrnbuUjQ6Zm11Tzvhyis14LWsLgjm56fQZsZCdKzmxjde1n2TI_p3JD96jIiTFNcXdeNseDYZdXjubPHNwuda0tOfwwn9rwJMaT5S2Q4pAKomyc7Pk77B6vIBCcjTPP_JgFLIT441ZOrDuQos47zpntEFOR9xItnheCrDQ5D5PwpI7ZjRkXoZlCDKCIpc.UR2Fhv.wVX4uitUfPpB0GKPdKxwltEnDGolDRTmO4N3_ULo7M4k8QpFk6xVvylJ0FGXDm.PqWMd2uj0qwpzDrx1LgKdirnj.dDFA7PuMZPeNZtngWlF0UrxGN1nS6pQnmKg19T3P_nM
dnt:
1
priority:
u=1, i
sec-ch-ua:
"Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134"
sec-ch-ua-arch:
"x86"
sec-ch-ua-bitness:
"64"
sec-ch-ua-full-version:
"134.0.6998.166"
sec-ch-ua-full-version-list:
"Chromium";v="134.0.6998.166", "Not:A-Brand";v="24.0.0.0", "Google Chrome";v="134.0.6998.166"
sec-ch-ua-mobile:
?0
sec-ch-ua-model:
""
sec-ch-ua-platform:
"Windows"
sec-ch-ua-platform-version:
"15.0.0"
sec-fetch-dest:
empty
sec-fetch-mode:
cors
sec-fetch-site:
same-origin
user-agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
RE: Android App Unable to Connect - TheDreadPirate - 2025-03-27
Turn off cache assets in NPM. It has no benefit for video streaming and massively increases memory usage. Also turn off proxying in Cloudflare. It is against their TOS to stream video and audio through their proxy AND it can often cause problems, like you've described.
|