Long load times for guide data when using plex-for-channels container

Clients get no guide data and take forever to connect ...
Logs have been submitted as f402573f-3dbf-4d3f-bb9e-b3c550d9c70e

Client Diagnostics also sent.

Also moving around the web page is very slow

Version

2024.02.17.0155

2024/02/17 07:07:05 [Recovery] 2024/02/17 - 07:07:05 panic recovered:
write tcp 192.168.50.68:8089->192.168.50.116:58832: wsasend: An established connection was aborted by the software in your host machine.
github.com/gin-gonic/[email protected]/render/json.go:58 (0x942b55)
github.com/gin-gonic/[email protected]/context.go:899 (0x948573)
github.com/gin-gonic/[email protected]/context.go:942 (0x19fff9d)
github.com/fancybits/channels-server/http_device.go:419 (0x19fff53)
github.com/gin-gonic/[email protected]/context.go:169 (0x1985782)
github.com/fancybits/channels-server/http_device.go:410 (0x19856c8)
github.com/gin-gonic/[email protected]/context.go:169 (0x1984f1a)
github.com/fancybits/channels-server/http_device.go:110 (0x1984e57)
github.com/gin-gonic/[email protected]/context.go:169 (0x1978152)
github.com/fancybits/channels-server/http.go:411 (0x1977e59)
github.com/gin-gonic/[email protected]/context.go:169 (0x1977dc6)
github.com/fancybits/channels-server/http.go:388 (0x1977db4)
github.com/gin-gonic/[email protected]/context.go:169 (0x944c2a)
github.com/fancybits/channels-server/http.go:363 (0x1977a8b)
github.com/gin-gonic/[email protected]/context.go:169 (0x1977677)
github.com/fancybits/channels-server/http.go:325 (0x1976d12)
github.com/gin-gonic/[email protected]/context.go:169 (0x950f19)
github.com/gin-gonic/[email protected]/recovery.go:107 (0x950f07)
github.com/gin-gonic/[email protected]/context.go:169 (0x9500fd)
github.com/gin-gonic/[email protected]/logger.go:240 (0x9500c0)
github.com/gin-gonic/[email protected]/context.go:169 (0x944c2a)
github.com/gin-contrib/[email protected]/sessions.go:54 (0x197a73c)
github.com/gin-gonic/[email protected]/context.go:169 (0x944c2a)
github.com/gin-contrib/[email protected]/gzip.go:47 (0x197a9c4)
github.com/gin-gonic/[email protected]/context.go:169 (0x1a09b02)
github.com/fancybits/channels-server/http.go:587 (0x1a09af0)
github.com/gin-gonic/[email protected]/context.go:169 (0x94f25a)
github.com/gin-gonic/[email protected]/gin.go:598 (0x94eeed)
github.com/gin-gonic/[email protected]/gin.go:554 (0x94ea31)
net/http/server.go:2938 (0x4f8d4d)
net/http/server.go:2009 (0x4f4773)
runtime/asm_amd64.s:1650 (0x234680)

Having same issue after updating to latest pre-release last night 2024.02.17.0155

Yeah all my clients are useless right now have to use the HDHR APP to watch TV because it has guide data.

Can you re-run the diagnostics with the Resource Intensive tests and submit again? Also, if you could fire up one of your clients and while it's hanging, submit diagnostics from the DVR, that would be helpful in tracking down what is going on with the slow guide loads for you.

Logs have been submitted as 744a6b59-0b26-4115-a667-23302ddad56c

Also submitted Client logs.

BTW took a long time to gather the logs.

@eric @jeffg @jgomez177

The problems appears to be with the Plex Docker ... I recently added Plex to see .. but there is nothing that interests me so I will keep it removed.

This is what caused the Problem ...

docker run -d --network=host -e PLEX_PORT=9081 --name plex-for-channels jgomez177/plex-for-channels

That was it but strange it was working before ... maybe I had too many Channels ?

It appears that parsing the XMLTV guide was taking a long time to complete. It's surprising that it would have been causing you issues, and the guide data is cached in-memory once it is accessed after a fetch, so it's surprising you would continue to have issues.

How large is the XMLTV guide file when you download it?

Same. Added Plex for channels last week and was working before last nights update.

The last change in XMLTV guide data parsing was in September, so at first glance the issue does not appear to be a change in our processing. Very odd...

If I remember correctly it was 573 Chanels and everything was working before update. I am sure you will soon hear from others when they start using Channels DVR.

I've updated the title to reflect the situation.

Were you running the latest version released 2 days ago?
https://github.com/jgomez177/plex-for-channels

Plex Playlist v1.03
Last Updated: Feb 11, 2024

1 Like

Current version: 1.05 (Feb 15, 2024)

I see I have to get the image from github not the one from Docker hub ... Everything is working ok right now without Plex so I will leave it for now.

You sound like me. I don't need another 500+ channels, I have too many already.

A suggestion would be to pull the EPG data from i.mjh.nz/Plex/us.xml until I resolve the issue the docker container is having. The way I am pulling does take some time so will need to break it down some.

1 Like

The issue isn’t in the time it takes for the DVR to download the XML. It is downloaded and then in a separate step it is processed. It’s the processing that appears to be taking the long time.