An unexpected error has occured

Server Version#:1.15.0.659 on QNAP (Intel/AMD 64 bits)

Hello,

I still have “An unexpected error has occured” when going to “Live TV & DVR” > Channels > Films" (since the previous version). Every other menu works correctly.
When I installed this version, it worked for a few days and the stopped working.
This is quite annoying, as I cannot check the channels programs to schedule recordings…

What can I do, is there any solution to this issue ?

Edit : the strange thing is that it worked this morning, I browsed the Films to schedule some recordings, and I got the error after a few minutes, while browsing the Films category !

Thanks,
Apsalar.

Try updating to the latest Plex Pass release 1.15.1.707.

There were SEVERAL DVR related fixes in it.

Hello,

Thanks for your answer :slight_smile: But unfortunately, I still get the same error with this new version.
At first it worked, and while I was browsing the “Movies” category (after 2 or 3 minutes), I got the “unexpected error”. I do not get this error in the other categories though, that’s weird…
I think it worked flowlessly until version 1.13.8.5395 or 1.13.9.5456, I’ll try to reinstall them and check.
I’ll let you know.

Thanks!
Aps.

Hello there,

I downgraded multiple versions, and found one that works for me : 1.13.8.5395.
I tried version 1.14.0.5468 but it did not work, I got the error.
I even removed my DVR and re-created it, but I still got the error (with the latest versions of course).

I hope this can help pinpoint the issue, because if I can’t upgrade to the latest versions of Plex, I’m gonna be very sad… :slight_smile:

Thanks,
Aps.

Due to the amount of changes in the build processes, etc., we would need debug logs from the 1.15.x builds that are having the dvr issues to track down the issues.

Hello,

Sure, I upgraded again to version 1.15.1.707, I ticked “Enable Plex Media Server debug logging” and “Enable Plex Media Server verbose logging” and tried again.
At first it worked, I browsed a long time the movies, no error. I closed my browser, came back 30 minutes later, opened my browser again, and there was the error again. I even have it now on the “Live TV and DVR” tab !
I closed my browser, opened it again, and I saw again the movies, but when changing from the Movies tab to another one and coming back, I got the error again.
I could almost think that it comes from the browser (Firefox).

One last thing, not sure if it’s relevant, but I have another Plex Media Server running on a Synology box (version 1.13.2.5154 as I cannot upgrade it anymore), but I don’t think the error could come from this…

I attach the logs here : (removed)

Thanks again,
Aps.

Please only do debug. Verbose generates too much data that normally we don’t need. I will look at them later this morning.

Hi,

Ok, here is with DEBUG only : Plex Media Server.log (428.9 KB)

I closed the browser (while being in the Movies section in error), opened it again, I did not have the error, got back a few pages on my browser, then clicked again to the “Live TV and DVR > Movies” section, and I had the error again.

I hope this helps (even though I do not see much to go by in the logs)…

Thanks again for all your help,
Aps.

Ok… I am having a little bit of a hard time following exactly what you are doing.

  1. What client are you using (web browser, Roku, shieldtv, etc.)??
  2. What is your DVR Source (HDHomerun, etc.)?
  3. What are the exact steps you are doing (click here, click there, etc.)

Also with Debug logs enable ONLY, please stop and restart Plex on the QNAP, let it settle from the restart, then reproduce the issue. Then click go into the Plex console and click Server > Settings > Troubleshooting > Download logs and upload the zip file please.

Hello,

Yes, sorry, I’ll do it like you say.

What client are you using : web browser
What is your DVR Source : HDHomerun Quattro
What are the exact steps you are doing :

  • restart Plex Media Server on QNAP
  • I click on Live TV & DVR > Live TV & DVD and then I click on Movies : OK
  • I hit back a few pages in Firefox
  • I click on Live TV & DVR > Movies : Unexpected error

When I try to download the logs, I never get the “Save As” window, so I copied the logs one by one from the server : Plex DLNA Server.log (16.6 KB)
Plex Media Server.log (666.1 KB)
Plex Tuner Service.log (2.3 KB)

Edit: indeed I messed up with the logs, they were copied : Plex Media Server Logs_2019-02-25_09-27-48.zip (3.8 MB)

I’ll do it again, to be sure I did not mess up…

Apsalar.

Ok, so I tried it with IE in Windows 10.

  • Stop Plex Media Server on QNAP
  • Start PMS
  • Launch IE
  • click “Live TV & DVR > Movies” : Unexpected error.

I could donwload the logs with IE : Plex Media Server Logs_2019-02-25_09-49-18.zip (3.4 MB)

Thanks,
Apsalar.

PS : I have a Shield on my network, but I don’t use it.

PS 2 : when I have the “unexpected error”, I close my browser and start it on the same page where I had the error, and it works. But if I “go back a few pages” on the browser, then click “Live TV & DVR > Channels > Movies” again, I have the error.

Ok… I am seeing a few things.

I see a few NW/Connection related items for various IPs,

571 Feb 25, 2019 09:47:12.772 [0x7f37cae6b700] WARN - HTTP error requesting GET https://192-168-10-48.4294fa7c511d483e8a9ccf675c29e19c.plex.direct:32400 (0, No error) (Could not resolve host: 192-168-10-48.4294fa7c511d483e8a9ccf675c29e19c.plex.direct)
586 Feb 25, 2019 09:47:12.803 [0x7f3821ad4700] WARN - HTTP error requesting GET https://192-168-0-30.0f0bb68e9e23400f84ea6ed99cf87f3e.plex.direct:32400 (0, No error) (Could not resolve host: 192-168-0-30.0f0bb68e9e23400f84ea6ed99cf87f3e.plex.direct)
588 Feb 25, 2019 09:47:12.803 [0x7f37cb447700] WARN - HTTP error requesting GET https://192-168-49-1.0f0bb68e9e23400f84ea6ed99cf87f3e.plex.direct:32400 (0, No error) (Could not resolve host: 192-168-49-1.0f0bb68e9e23400f84ea6ed99cf87f3e.plex.direct)
590 Feb 25, 2019 09:47:12.804 [0x7f37cb735700] WARN - HTTP error requesting GET https://192-168-49-1.4294fa7c511d483e8a9ccf675c29e19c.plex.direct:32400 (0, No error) (Could not resolve host: 192-168-49-1.4294fa7c511d483e8a9ccf675c29e19c.plex.direct)

What is your subnet mask setting and how do you have your QNAP configured for IP setup?

Seeing some issues related to the EPG data. It appears that the EPG provider isn’t finding a match for some of the information.

760 Feb 25, 2019 09:47:14.390 [0x7f384abf6700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (c9ce7037-ffb1-4874-b0b3-1e7be7688682, expected b6dca1db-9df1-4939-9e24-9b22f0a4b431)
761 Feb 25, 2019 09:47:14.446 [0x7f3820f1c700] DEBUG - EPG: Found a dupe show 'Météo' with a different GUID.
762 Feb 25, 2019 09:47:14.449 [0x7f384abf6700] DEBUG - EventSource: Got event [data] '<Message address="88.190.166.136" port="12600" asyncIdentifier="c478ad8c-c0fe-4184-ba12-0e0144da7a33" connectivity="1" command="notifyConnectivity"/>'
763 Feb 25, 2019 09:47:14.449 [0x7f384abf6700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (c478ad8c-c0fe-4184-ba12-0e0144da7a33, expected b6dca1db-9df1-4939-9e24-9b22f0a4b431)
764 Feb 25, 2019 09:47:14.450 [0x7f382288f700] DEBUG - Request: [34.248.59.52:44088 (WAN)] GET /identity (16 live) TLS Signed-in Token (Apsalar)
765 Feb 25, 2019 09:47:14.451 [0x7f384a908700] DEBUG - Completed: [34.248.59.52:44088] 200 GET /identity (16 live) TLS 0ms 385 bytes (pipelined: 1)
766 Feb 25, 2019 09:47:14.464 [0x7f3820f1c700] WARN - OnConnect: No match for detailed movie version: 16529681 MV012330390000
767 Feb 25, 2019 09:47:14.475 [0x7f3820f1c700] WARN - OnConnect: No match for detailed movie version: 8350132 MV007459960000

I also am seeing some HDHomerun related errors.

1760 Feb 25, 2019 09:47:25.768 [0x7f3820c2e700] WARN - HTTP error requesting GET http://192.168.0.24:80/discover.json (0, No error) (Failed to connect to 192.168.0.24 port 80: No route to host)
1761 Feb 25, 2019 09:47:25.806 [0x7f3820c2e700] ERROR - DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/1230FE86, marking as dead.

What version of HDHomeRun firmware is your Extend on?

Hello,

My QNAP’s IP address is 192.168.0.18, netmask is 255.255.255.0.
192.168.0.30 is my Shield.
I don’t have anything on 192.168.49.1 or 192.168.10.48.

My HDHomeRun Quattro (HDHR5-4DT) is with the latest firmware 20180817.

Regards,
Apsalar

Did you make 13 qvs0 (192.168.0.18) (loopback: 0) the default interface in settings/network?

And if not, please do, and restart PMS from AppCenter afterwards

Hello,

Yes, it is the only interface configured on my qnap, so it’s the default.

Thanks and regards,
Apsalar.

How many NW cables do you have connected on the back of your QNAP?

Not so

From your log:

Network interfaces:
* 1 lo (127.0.0.1) (loopback: 1)
 * 11 docker0 (10.0.5.1) (loopback: 0)
 * 12 lxcbr0 (10.0.3.1) (loopback: 0)
* 13 qvs0 (192.168.0.18) (loopback: 0)

Hello,

I have 1 cable plugged to the qnap.
These are the virtual adapters used by qnap.
But I only “go out” from my qnap with the virtual adapter 192.168.0.18.
(https://www.qnap.com/en/how-to/tutorial/article/how-to-use-and-set-up-your-network-virtual-switch)

Regards,
Apsalar.

PS : I just removed the two unused virtual switches from my qnap, I’ll see how that goes. Thanks !

1 Like

Strongly recommend a reboot of your QNAP after that

Those vSwitches are used by container station. Agree on reboot after removing them.