Jaroslav Kysela wrote:
It looks like you enter wrong username/password.
Definitely not. I've triple checked it, fetching cmd line from shell history I just remove "/special/srvid2" part and it works. If you look into #5391, it seems there are other people experiencing this issue, too.
Trace "wget http://127.0.0.1:9981/special/srvid2 --user=<myadminuser> --pass=<mypass>" (wget from localhost):
Dec 11 13:26:17 TVHserver tvheadend[16985]: http: HTTP/1.1 GET /special/srvid2{{User-Agent=Wget/1.18 (linux-gnueabihf),Accept=*/*,Accept-Encoding=identity,Host=localhost:9981,Connection=Keep-Alive}}
Dec 11 13:26:17 TVHserver tvheadend[16985]: access: 127.0.0.1:<no-user> [ ], conn=0:s0:r0:l2, profile=ANY, dvr=ANY, exclude tag=ANY, tag=ANY
Dec 11 13:26:17 TVHserver tvheadend[16985]: http: 127.0.0.1: HTTP/1.1 GET (1) /special/srvid2 -- 401
Dec 11 13:26:17 TVHserver tvheadend[16985]: http: HTTP/1.1 GET /special/srvid2{{User-Agent=Wget/1.18 (linux-gnueabihf),Accept=*/*,Accept-Encoding=identity,Host=localhost:9981,Connection=Keep-Alive,Authorization=Digest}}
Dec 11 13:26:17 TVHserver tvheadend[16985]: access: admin:<no-user> [ ], conn=0:s0:r0:l2, profile=ANY, dvr=ANY, exclude tag=ANY, tag=ANY
Dec 11 13:26:17 TVHserver tvheadend[16985]: http: 127.0.0.1: HTTP/1.1 GET (1) /special/srvid2 -- 403
Trace (Firefox from remote host):
Dec 11 13:41:11 TVHserver tvheadend[16985]: http: HTTP/1.1 GET /special/srvid2{{Host=192.168.XXX.XXX:9981,User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0,Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,Accept-Language=de,en-US;q=0.7,en;q=0.3,Accept-Encoding=gzip, deflate,DNT=1,Authorization=Digest,Connection=keep-alive,Upgrade-Insecure-Requests=1}}
Dec 11 13:41:11 TVHserver tvheadend[16985]: access: admin:admin [SATWRELDF *], conn=0:s0:r0:l2, matched, profile='pass','audio','copy-for-recording-matroska','htsp','matroska','webtv-h265-aac-matroska', dvr=ANY, exclude tag=ANY, tag=ANY
Dec 11 13:41:11 TVHserver tvheadend[16985]: http: 192.168.YYY.YYY: HTTP/1.1 GET (1) /special/srvid2 -- 403
HTH,
/HXZ