Project

General

Profile

Bug #6027

Persistant auth issue with reverse proxy

Added by Łukasz Dymek 29 days ago. Updated 16 days ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2021-03-20
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.3-1886~g51a4c5b
Affected Versions:

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

#1

Updated by saen acro 29 days ago

Are you shure about port?
TVH use :9981 by default.

#2

Updated by Łukasz Dymek 29 days ago

This is reverse proxy, configured to pass 9981 to https 443

#3

Updated by Łukasz Dymek 29 days 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.

#4

Updated by Łukasz Dymek 29 days 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

#5

Updated by Łukasz Dymek 29 days 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]

#6

Updated by Flole Systems 16 days ago

  • Status changed from New to Invalid

Also available in: Atom PDF