Bug #6027
Persistant auth issue with reverse proxy
0%
Description
Hello,
I am facing issue when try to redownload playlist using external m3u client, like android tivimate. I have to constantly redownload playlist with it to got updated channels. I tried manually to fetch the playlist using whet and received this error (I've changed private data like domain and authkey to generic):
wget https://tvh.home/playlist/auth?auth=[auth_key]
--2021-03-20 20:55:16-- https://tvh.home/playlist/auth?auth=[auth_key]
Resolving tvh.home (tvh.home)... 192.168.97.15
Connecting to tvh.home (tvh.home)|192.168.97.15|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /playlist/auth/channels?auth=[auth_key] [following]
--2021-03-20 20:55:16-- https://tvh.home/playlist/auth/channels?auth=[auth_key]
Reusing existing connection to tvh.home:443.
HTTP request sent, awaiting response... 200 OK
Length: 57913 (57K) [audio/x-mpegurl]
Saving to: ‘auth?auth=[auth_key].39’
auth?auth=[auth_key] 100%[=================================================>] 56.56K --.-KB/s in 0.004s
2021-03-20 20:55:16 (12.9 MB/s) - ‘auth?auth=[auth_key]’ saved [57913/57913]
wget https://tvh.home/playlist/auth?auth=[auth_key]
--2021-03-20 20:55:17-- https://tvh.home/playlist/auth?auth=[auth_key]
Resolving tvh.home (tvh.home)... 192.168.97.15
Connecting to tvh.home (tvh.home)|192.168.97.15|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /playlist/auth/channels?auth=[auth_key] [following]
--2021-03-20 20:55:17-- https://tvh.home/playlist/auth/channels?auth=[auth_key]
Reusing existing connection to tvh.home:443.
HTTP request sent, awaiting response... 302 Found
Location: unspecified
ERROR: Redirection (302) without location.
History
Updated by Łukasz Dymek over 3 years ago
This is reverse proxy, configured to pass 9981 to https 443
Updated by Łukasz Dymek over 3 years ago
Found a temporary or permament solution, waiting for developer confirmation about this url
when url is changed to:
https://tvh.home/playlist/channels/auth/auth?auth=[auth_key]
playlist can de downloaded without error shown in first post.
Updated by Łukasz Dymek over 3 years ago
the playlist above is without persistant auth key, so playback endings with 401 error, when I change to:
https://tvh.home/playlist/auth/auth/channels?auth=[auth_key]
the auth key appears in playlist items
Updated by Łukasz Dymek over 3 years ago
Łukasz Dymek wrote:
the playlist above is without persistant auth key, so playback endings with 401 error, when I change to:
https://tvh.home/playlist/auth/auth/channels?auth=[auth_key]
the auth key appears in playlist items
typo:
correct one: https://tvh.home/playlist/auth/channels?auth=[auth_key]