Project

General

Profile

Actions

Bug #2252

closed

Authentication issue

Added by Sebastian Brings over 10 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2014-08-24
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.1330
Affected Versions:

Description

This may be a duplicate of 2221 ?
With both 3.9.1330 and 3.9.1353 I fail to log in into web interface. What I try to do to fix this is:
- stop tvheadend
- sudo i to root account, then "su - hts" to hts account
cd /home/hts/.hts/tvheadend ; rm r accesscontrol
run "tvheadend C" to recreate all open access
-
> now I can access the webinterface and do configuration. I add apersonal account there.
- stop tvheadend by "^C" (note, this often gives a segmentation fault:
...
2014-08-24 18:49:53.977 [ INFO] mpegts: 418 in KMS (0xd37070) - deleting
2014-08-24 18:49:53.977 [ INFO] mpegts: 130 in KMS (0xb62688) - deleting
2014-08-24 18:49:53.977 [ INFO] mpegts: 578 in KMS (0xd360b8) - deleting
Segmentation fault

...

Then start tvheadend via sudo /etc/init.d/tvheadend start. ps -ef shows:

hts 23663 1 1 18:50 ? 00:00:09 /usr/bin/tvheadend -f -u hts -g video -c /home/hts/.hts/tvheadend/

content of /home/hts/.hts/tvheadend/accesscontrol:
ls al /home/hts/.hts/tvheadend/accesscontrol/
total 16
drwx-----
2 hts hts 4096 Aug 24 12:13 .
drwx------ 13 hts hts 4096 Aug 24 12:11 ..
rwx----- 1 hts hts 318 Aug 24 12:13 8df33234830f4e7fba3bfb04a9445bc1
rwx----- 1 hts hts 328 Aug 24 12:12 b1891cd836b09b09dd05962b925ca9c9

content of files:
root@raspberry03:/home/hts/.hts/tvheadend# cat /home/hts/.hts/tvheadend/accesscontrol/* {
"index": 1,
"enabled": true,
"username": "sebas",
"password2": "VFZIZWFkZW5kLUhpZGUtKg==",
"prefix": "0.0.0.0/32",
"streaming": true,
"adv_streaming": false,
"dvr": false,
"dvrallcfg": true,
"webui": true,
"admin": true,
"tag_only": false,
"channel_min": 0,
"channel_max": 0,
"comment": "New entry"
} {
"index": 2,
"enabled": true,
"username": "*",
"password2": "VFZIZWFkZW5kLUhpZGUtKg==",
"prefix": "0.0.0.0/0,::/0",
"streaming": true,
"adv_streaming": true,
"dvr": true,
"dvrallcfg": false,
"webui": true,
"admin": true,
"tag_only": false,
"channel_min": 0,
"channel_max": 0,
"comment": "Default access entry"
}

Still I now can not log into web interface, invalid username is reported by browser. I tried to add other accounts with different username/passwod configs but it stays all the same. Messages in daemon.log are simply:

Aug 24 19:06:37 raspberry03 tvheadend23663: HTTP: 192.168.2.100: /extjs.html -- 401

Any idea?


Files

Actions

Also available in: Atom PDF