The server "X" does not have a valid connection for casting. Check that the server is claimed

Hi freeazrod168

At the moment I’m running Version 1.9.3.4290.
But I have given up getting it working on Windows… Too unstable an inefficient for use.
I suspect that the only solution left is to reset Windows to Factory Default and start all over again.

Fortunately I’ll get my hands on a proper fullblood bare-metal server with powerful hardware in a few days which I will refurbish and install Ubuntu Server on.
I have already tested it with Ubuntu Desktop on an old laptop. Works just fine, (except that the laptop doesn’t have the CPU power I need) so I will move everything over to the server, delete Windows PLEX and start over with new libraries on Linux PLEX.

Rofz’s fix kind of worked for me (I could cast to the chromecast finally), but what I think was the true fix (that got it playing normally and responsive) was that I realised that using the local IP wasn’t the normal way to access the Plex media Server. I was using http://127.0.0.1:32400/web/index.html#!/server/ to get the plex server up, which I must have read to do from somewhere, but once I instead used http://app.plex.tv/desktop?secure=0# then it worked flawlessly, after also following Rofz’ instructions of course.

FINALLY!

Thank you so much ferrazrod168! Your tips worked for me. I have no idea why :slight_smile:

@ferrazrod168 said:
I ended up solving it by fiddling with some settings (Show Advanced button):

Settings/Web/General/Allow Fallback to Insecure Connections: changed from ‘On same network as server’ to ‘Always’
Settings/Server/Network/Secure connections: changed from ‘Preferred’ to ‘Disabled’
Settings/Server/Network/List of IP addresses and networks that are allowed without auth: just removed my local LAN and left this field blank
Settings/Server/Network/Enable HTTP Pipelining: unchecked it

After changing this and manually restarting Plex Media Server processes, by running ‘systemctl restart plexmediaserver’, the error went away.

BUT: after changing every setting back to their defaults, and restarting plexmediaserver, just to reproduce the problem and locate wich specific setting was the culprit, the error had not returned. 8-O

My guess is that something was changed in Plex Web Client Version 3.20.5 that messed with authentication. Even after logging off and on again with my Plex username the problem kept happening. But only with Chrome on Windows. Unfortunately I did not have the chance to find out specifically which setting “solved” it.

Things are still not 100%, as they were previously with version 1.7.*, every now and then I’m getting errors related to ‘can’t play this media’ or something on Chromecast. Despite the errors, I have been successfully streaming movies to my Chromecast v1 from Windows.

I hope someone else could investigate this further.

Everytime I update Plex Media Server for Windows 10 I discover new and exciting bugs.
After upgrading to 1.13.2.5154 Plex Server stops to work with Chromecast Ultra.
I performed a reset of Chromecast, then the router, then I wiped out and installed again Windows 10 in my PC. Nothing worked, I had the same issue: “The server … does not have a valid connection for casting. Check that the server is claimed”.
Luckly I found out the ferrazrod168 workaround and it worked.

Plex programmers: what will be the next bugs you will give us?

I was able to solve my Chromecast-related problems following a hint from @tinu1212 in Fehlermeldung bei Verbindung von Plex Android App mit Chromecast

I just had to add “plex.direct” as an exception in my router’s “DNS rebinding protection”.

You can find some information regarding “DNS rebinding” issues in https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/

Exemplified, for my “Fritz!Box” router there is a German tutorial how to solve these issues at https://avm.de/service/fritzbox/fritzbox-7590/wissensdatenbank/publication/show/663_DNS-Auflosung-privater-IP-Adressen-nicht-moglich/

Be sure that you do not have a browser based VPN turned on (like TunnelBear), otherwise the Plex Server won’t broadcast properly on your home network.

Same here

Same here… deleting this awful app and getting a cable

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