Hi Forum
I started my first plex server (after many different systems through time)
Plex Server - Version 1.19.1.2645 - Ubuntu18.04
I have 2 TVheadend servers ( one on Ubuntu16.04 one on 18.04)
All in the same subnet 172.16.20.0/24
I have installed the plugins LiveTVH on the PLex server and tvhProxy on each TVHeadend Server - I can see the tvhProxy is running on each TVH server.
$ netstat -tang |grep 5004
tcp6 0 0 :::5004 :::* LISTEN
When I connect to the server - I cannot see any channel or scanning for channels.
In Danish it means there was a problem when downloading channels
In Plex media Server log I’m getting this:
Apr 11, 2020 10:18:48.635 [0x7fe2fd7fa700] INFO - Grabber: The device was already discovered at http://172.16.20.101:5004, updating URI
Apr 11, 2020 10:18:48.660 [0x7fe31247f700] ERROR - Error issuing curl_easy_perform(handle): 60
Apr 11, 2020 10:20:41.155 [0x7fe2feffd700] INFO - Grabber: The device was already discovered at http://172.16.20.101:5004, updating URI
Apr 11, 2020 10:20:41.176 [0x7fe2c3fff700] ERROR - Error issuing curl_easy_perform(handle): 60
On the tvHeadend Server I’m finding this in my syslog:
Apr 11 12:28:27 maincore rc.local[1014]: 2020-04-11 12:28:27.602 [ ERROR] http: 127.0.0.1: HTTP/1.1 GET (1) /api/channel/grid -- 403
Apr 11 12:28:27 maincore python[804]: [2020-04-11 12:28:27,604] ERROR in app: Exception on /lineup.json [GET]
Apr 11 12:28:27 maincore python[804]: Traceback (most recent call last):
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/venv/local/lib/python2.7/site-packages/flask/app.py", line 2447, in wsgi_app
Apr 11 12:28:27 maincore python[804]: response = self.full_dispatch_request()
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/venv/local/lib/python2.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Apr 11 12:28:27 maincore python[804]: rv = self.handle_user_exception(e)
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/venv/local/lib/python2.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Apr 11 12:28:27 maincore python[804]: reraise(exc_type, exc_value, tb)
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/venv/local/lib/python2.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Apr 11 12:28:27 maincore python[804]: rv = self.dispatch_request()
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/venv/local/lib/python2.7/site-packages/flask/app.py", line 1936, in dispatch_request
Apr 11 12:28:27 maincore python[804]: return self.view_functions[rule.endpoint](**req.view_args)
Apr 11 12:28:27 maincore python[804]: File "/home/tvh/tvhProxy/tvhProxy.py", line 54, in lineup
Apr 11 12:28:27 maincore python[804]: for c in _get_channels():
Apr 11 12:28:27 maincore python[804]: TypeError: 'NoneType' object is not iterable
Apr 11 12:28:27 maincore python[804]: ::ffff:172.16.20.80 - - [2020-04-11 12:28:27] "GET /lineup.json HTTP/1.0" 500 445 0.006806
Or like this
Apr 11 12:33:01 maincore python[2224]: ::ffff:172.16.20.80 - - [2020-04-11 12:33:01] "GET /discover.json HTTP/1.0" 200 406 0.000884
Apr 11 12:33:01 maincore python[2224]: ::ffff:172.16.20.80 - - [2020-04-11 12:33:01] "GET /lineup_status.json HTTP/1.0" 200 205 0.000726
Apr 11 12:33:04 maincore python[2224]: ::ffff:172.16.20.80 - - [2020-04-11 12:33:04] "GET /discover.json HTTP/1.0" 200 406 0.000755
Apr 11 12:33:04 maincore python[2224]: ::ffff:172.16.20.80 - - [2020-04-11 12:33:04] "GET /lineup_status.json HTTP/1.0" 200 205 0.000696
I have the TVHeadned servers running - watching TV through KODI - so the TVHeadend server are working - But really strange that I cannot make the connection and se the different channels from the TVHeadend server