Plex throwing "500 Internal Server Error" after update to 1.41.7.9799

I have plex running on debian (64bit).

previously with 1.41.6.9865 everything was running smoothly.

After update to 1.41.7.9799 plex throws the error “500 Internal Server Error” in browser when
trying to access via domain or public ip (not nat) .
Plex is not reachable via any client or the app.plex.tv website too

Locally on the server plex can be opened and playback works.

The error 500 comes definitely from plex’s internal webserver and not from the reverse proxy.

Plex error log shows “Exception parsing request: bitset test argument out of range

When I revert to 1.41.6.9865 the plex is immediately reachable and everything works.

1 Like

What happens if you tack on /web to your direct URL?

Same error.

I also tried a complete plex uninstall and reinstalling the new version. Throws the same error as well.

Installing the old version after a complete uninstall - everything is working like before.

You can try adding
proxy_force_ranges on;
To your nginx config

Thanks for the suggestion. Unfortunately it throws the same error.

By the way I have seen that some people with plex server on windows have the same error 500 issue since the update.

Hello, I have exactly the same problem with an error 500 and the log “ERROR - Exception parsing request: bitset test argument out of range” when trying to access the server with my domain, using a reverse proxy. It was working before the upgrade.

When I access directly the server (local or with public IP with NAT), it’s working. I tried in HTTP instead of HTTPS and to modify headers but I see no difference.

Thanks in advance for your help.

1 Like

The same error: ‘Exception parsing request: bitset test argument out of range’. I access Plex through a Traefik reverse proxy.

Would it be possible to get a set of server DEBUG logs which capture this so I can writeup and give to Engineering?

Yes, where I can send you the debug logs?

1 Like

Hi there, I have exactly the same issue on my install. It’s on Fedora 41 using the container image provided by you running under Kubernetes.
I’m also using a reverse proxy (HAProxy), so I guess this is the common denominator. All the traffic is meant to pass through the reverse proxy in my case, no “direct” access using the port and the IP directly.
Here are the logs in debug + verbose mode:
Plex Media Server.log (872.1 KB)
Unfortunately, I did not see much more info, so you guys will need to test with a reverse proxy on your side :confused:

As soon as I installed this update my Win 11 Plex App could not make contact with my WD Cloud EX NAS - had to revert to the previous version and it’s working OK again.

1 Like

Recommend folks consider temporarily downgrading to 1.41.6.

There are issues with 1.41.7 one of which is a fairly massive DB bloat problem.
The DB bloat problem causes PMS to become non-responsive.

Re-evaluate at 1.41.8

3 Likes

Is this still an issue with 1.41.7.9799 or 9823?

Edit. Actually I see my 9799 db is 5x it’s size again. So I guess so.

I don’t think the Beta (Dolby fix) includes anything for the database.

That said, yes I expect the DB to continue growing and requiring constant reducing.

So the beta was pushed into public with the database growth bug still remaining?

From what I read internally,

Chris had to fix the Dolby transcoding problem as that was actually higher priority.

While not minimizing the DB growth problem, I think it “ONLY” (ducks for cover) impacts those transcodes for users not using a Plex account (which I think ALSO includes managed users – or Guest users)

– AGAIN, I’m not fully briefed on what feeds the growth but I do see how it manifests in the DB. Please forgive me if I’m not 100% knowledgable.

I think they are targeting PMS 1.41.8 to finally fix the DB growth problem.

I also saw internal discussion where testing was showing the DB was shrinking on its own without any manual intervention.

If you need remedy, DBRepair will reduce the DB for you but it might take time and will shutdown PMS for the duration.

If you want the previous 1.41.6, I can and will get it for you.

1 Like

It’s odd. I did the delete rows/vacuum tip and the size didn’t reduce. I then did a dump of the db then recreated the db from the dump and it finally went back to a normal size.

I have the same error after updating my WD my cloud installation - I can access the library from the apps but can’t update it from the server

2 Likes
1 Like

The issue has been resolved in version 1.41.7.9823