Fail to grab Live TV EPG Guide

Hi, it has been 4 or 5 days now that plex doesn’t update the live tv. If I choose a channel anyway it is working ok.

I entered on live tv setup and forced a refresh, this is what I got on the log:

Aug 17, 2018 20:48:12.459 [0x7fb417ffe700] DEBUG - Activity: updated activity f98c1517-fd71-450c-a766-11a3a6b378a3 - completed 1% - Refreshing guide data
Aug 17, 2018 20:48:12.473 [0x7fb417ffe700] DEBUG - JSON parse error: Missing a closing quotation mark in string. (3645291)
Aug 17, 2018 20:48:12.492 [0x7fb417ffe700] ERROR - EPG: JSON parse error. Wrote JSON data to “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Diagnostics/EPG-onconnect-02ad76c7-71eb-4bbe-a3d8-35c4a21852db.json”

Attached is the EPG-onconnect-02ad76c7-71eb-4bbe-a3d8-35c4a21852db.json file.

EPG-onconnect-02ad76c7-71eb-4bbe-a3d8-35c4a21852db.json.gz (414.7 KB)

Plex Media Server version is 1.13.5.5291. It’s running on Ubuntu Linux 16.04 and the EPG source is “Claro TV” from Brazil (ZIP code is 13600).

Thanks

May we also have the PMS logs (debug level only) for that please?

Hello!! I have enabled debug logs and tried to refresh the guide again. Attached are the logs.

Thanks

Plex Media Server Logs_2018-08-17_21-26-57.zip (4.3 MB)

Is this in a VM, Container, or other LXC ?

Nope, plex is on real hardware (Intel® Pentium® CPU G3260 @ 3.30GHz), Ubuntu 16.04.

Thanks

What is UFW configured as? Active? Have you opened the required Plex ports if it is?

I am having difficulty understanding why it is referring to your loopback adapter as WAN. This should never happen.

renato@rbrserver:~$ sudo ufw status
Status: inactive

On my /etc/hosts, my host name (rbrserver) is set for 127.0.1.0.

Could this be the cause? (Anyway, I didn’t touched any of these settings in months, but Live TV was working a week ago).

I’m changing the IP 127.0.1.0 to my internal IP… I’ll let you know if works.

Your host’s IP must have an RFC1918 address.
This is anything on your LAN of the form which matches what the modem should be giving you in the address blocks (192.168.x.x, 10.x.x.x, or 172.16.x.x -> 172.31.x.x)

Changing the IP address of “locahost” will cause chaos every time.

The address should ALWAYS be 127.0.0.1 and never changed unless you have experience in creating an alias IP …

The problem persists, still a JSON parse error on logs:

Aug 17, 2018 22:17:59.850 [0x7fc87fbff700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 17, 2018 22:17:59.852 [0x7fc87fbff700] DEBUG - Activity: updated activity 5bb9b942-4d0d-4270-b17a-9cc39e36cb4a - completed 1% - Refreshing guide data
Aug 17, 2018 22:17:59.867 [0x7fc87fbff700] DEBUG - JSON parse error: Missing a closing quotation mark in string. (3780958)
Aug 17, 2018 22:17:59.895 [0x7fc87fbff700] ERROR - EPG: JSON parse error. Wrote JSON data to “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Diagnostics/EPG-onconnect-e8369839-b4db-44dc-acde-bdd2e8aeb1fd.json”
Aug 17, 2018 22:17:59.895 [0x7fc87fbff700] WARN - EPG[onconnect]: Failed to load EPG.

My /etc/hosts is:

127.0.0.1 localhost
192.168.25.22 rbrserver.lan rbrserver

Thanks

have you rebooted the host?

Also, since I don’t know DVR, that error may be harmless.

I do have a thought. In event this is a regression, have you tried with a different PMS version?

It has been a couple of weeks since I don’t reboot it, I’ll try it later. But from the error on the logs, it’s very clear that it’s failing to update the guide because a parse error on the JSON file.

I don’t know from where plex gets it, but couldn’t the problem be with who is generating this JSON? I don’t know how many Brazilian plex users are, but I think it’s not much (using Live TV).

About the regression, I’l try to back to a previous version and then reboot the server, but it has been almost a month since I last updated PMS and this JSON Parse problem started in less than a week ago.

Thanks

The question I must determine is: Did the source json change or did PMS change.

I will ask the developer for feedback.
However, from your logs, Error 28 is a Timeout error. This implies directly that the remote did not respond completely and more data is expected.

This is what I will try to answer.

Ok!! I don’t think the source URL for the JSON data is available on the logs. If so I could try to directly download it from another computer.

I’ll wait for the feedback from the developer.

Thank you!!!

I’ve reached out directly to the dev. His private chat is marked as Holiday. I do not know if this means he will return this coming monday or later. please be aware it may take time to get the answer

Hello,

I don’t know if this is relevant to the problem, but I noticed the following warnings on my router’s logs:

dnsmasq[7157]: possible DNS-rebind attack detected: 192-168-25-22.0151382c2558428e9678474398b2dec0.plex.direct

This repeats a lot of times and it coincides with the date/time that I requested a Guide’s Refresh.

Thanks

It’s not related. I have whitelisted plex domain on DNS Rebind Check and still can’t refresh guide (it reached 20% when failed this time):

Aug 18, 2018 10:15:55.430 [0x7f7cbe7ff700] ERROR - Error issuing curl_easy_perform(handle): 56
Aug 18, 2018 10:15:55.452 [0x7f7cbe7ff700] ERROR - EPG: JSON parse error. Wrote JSON data to “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Diagnostics/EPG-onconnect-c0ec276f-2ef8-440e-92c8-0a19baa29c67.json”
Aug 18, 2018 10:15:55.453 [0x7f7cbe7ff700] WARN - EPG[onconnect]: Failed to load EPG.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.