Got an unexpected keyword argument 'emulatePartialCNP'

Server Version#: 1.23.2.4656

Hi.

I have this message in logs (com.plexapp.system.log) on my server:

2021-06-15 23:32:31,517 (80323f500) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-85f0adf5b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
TypeError: do_proxy() got an unexpected keyword argument 'emulatePartialCNP'

2021-06-15 23:32:31,520 (80323f500) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2021-06-15 23:32:31,520 (80323f500) :  DEBUG (runtime:924) - Response: [500] 513 bytes

and a black page in my browser.
It was working fine before the last PlexServer update.

Any suggestions?

Anyone from Plex Employees?? This is kind of critical for me!

Do you have any plugins installed?

Have you seen the discussions about LD_LIBRARY_PATH? In your rc script, is that environment variable being set?

Server settings unavailable - #93 by elKuno

If that doesn’t help, please share logs and more information about your system. Is it FreeBSD, TrueNAS, jails? How was Plex installed?

Hi Volts.
Thanks for reply.
LD_LIBRARY_PATH is set by rc.d script in my case (line was there already, default installation).
I am running PMS on FreeBSD (13.0-RELEASE-p1), no Jail, I do not have any plugins installed, PMS installed from ports collection. Issue is identical on two of my servers (one on LAN, second - physical machine colocated in datacenter). Logs attached.
Logs.zip (845.8 KB)

Once again thanks for your help.

I’ve got no idea, but I also don’t have a FreeBSD 13 system in arm’s reach. I’ll set up a VM and see if I can reproduce.

Your post is the only hit on the Internet for emulatePartialCNP and emulateCNP. :slight_smile:

It might be worth trying the latest Plex Pass version.

Or a 12.2 jail, in case it’s a runtime environment issue.

I installed a FreeBSD 13 vm with default everything.
I changed the pkg src from Quarterly to Latest.
I did pkg install plexmediaserver.
It starts and works.
No emulate in the logs.

Since this is a 3rd-party binary port/pkg, I can’t imagine how using the port would make a difference.

Is yours a fresh install, or a previous system that has been upgraded?

Anything else that might be notable?

At a bit of a loss. I’d be curious if the Plex folks speak up about those messages. Part of me wonders if it’s a 3rd-party making requests to the Plex interface - I can trigger the same error if I send an HTTP request to the same URI.


Updating to 13.0-RELEASE-p2 now…
… no changes.


Nuking the pkg, fetching the ports tree now…
… no changes.
(Which makes sense, the results appear to be bit-identical.)

Hi @Volts, thanks for all the suggestions and help. Sorry for delay but I finally figured out what causes this error in PMS logs. Error only appears when I am trying to access https://plex.tv/web/tv/opera from my old Sony TV (KDL-48W605B) - there was a Plex app in Opera store for this Sony TV but now Opera store (it is actually Vewd App Store now - https://www.vewd.com/products-services/vewd-app-store/) is not available for my Sony TV so I was accessing this https://plex.tv/web/tv/opera link from browser on my tv and it has been working perfectly fine until last update.

I have actually upgraded my PMS to the latest ( 1.23.4.4712) version few days ago - but problem persists.

Maybe someone from plex support could help?

Oh! Thanks for the additional info.

Yeah, I’ve got nothing. Hopefully somebody can speak to that /opera URL.

I wonder if you’ve gotten to the point that ancient TVs just aren’t going to work any more.