Chromecasting from Plex App fails

When casting any video from the iOS Plex App to my 4K Sony Bravia ATV3 fails (has built in chromecast). This is a direct play since its all locally happening on my LAN. One point of interest is that my content is encoded in HEVC. But transcoding or direct play is not an issue in this scenario from what I can tell. I can easily play the media on my phone with the Plex app or through other means across multiple devices.

I am able to connect successfully with chromecast on the TV. All of the content for the files is pulled from my Plex server correctly. But when attempting to cast the video, it just spins and then fails.

Let me know if this is a known issue or if you may want a peak at some logs.

Server 2016, totally up to date is what my Plex instance is running on.

The iPhone is an XR that is totally up to date as well.

Server Version#: 1.18.8.2527
Player Version#: iOS App 6.9

Casting 4K onyl works with specific codecs and containers. Please look at Chromecast Ultra cannot stream 4K which had a similar situation. I believe the built-in CC in your Sony TV is equivalent to the CC Ultra.

That seems strange to me, it has been working before just a week or so ago. The problem linked in this thread is much older.

My content itself isn’t 4K, just the TV is 4K. The content is mostly 1080P HEVC encodes.

When you said hevc, I assumed 4k. I don’t know how well casting 1080 hevc works. You’d think if it can handle 4K it should handle 1080p, but that’s not the case. If you can recreate the issue, then get me the log from the iOS app and from your PMS, I can take a look.

It’s really strange it was working great, but now I can’t do any chromecasting. I have tried my 1080p HEVC and even 720p x264 video encodes, all fail.

Here is the iPhone debug information.

Retracted

Here is the server logs.

Retracted

Let me know what you think.

I’m seeing lots of network related errors in your logs. Have you tried restarting all your network equipment?

1 Like

Your right, now that I look through the logs, I do see quite a few network issues. I will try resetting my router.

Thank you.

I will let you know if that helps the situation.

So restarted the router. Cleared my Plex media server logs, I just wanted to get a look at a much cleaner log.

I have narrowed the incident down to this interesting snippet of the log.

Mar 18, 2020 17:38:05.667 [7692] DEBUG - NetworkServiceBrowser: Parsing SSDP schema for http://IPx.xxx.xx.11:8008/ssdp/device-desc.xml
Mar 18, 2020 17:38:05.667 [7692] DEBUG - HTTP requesting GET http://IPx.xxx.xx.11:8008/ssdp/device-desc.xml
Mar 18, 2020 17:38:05.667 [7692] ERROR - Error issuing curl_easy_perform(handle): 7
Mar 18, 2020 17:38:05.667 [7692] WARN - HTTP error requesting GET http://IPx.xxx.xx.11:8008/ssdp/device-desc.xml (0, No error) (Failed to connect to IPx.xxx.xx.11 port 8008: Bad access)
Mar 18, 2020 17:38:05.667 [7692] ERROR - SSDP: Error parsing device schema for http://IPx.xxx.xx.11:8008/ssdp/device-desc.xml

Mar 18, 2020 17:39:06.644 [7692] DEBUG - NetworkServiceBrowser: Parsing SSDP schema for http://IPx.xxx.xx.11:52323/MediaRenderer.xml
Mar 18, 2020 17:39:06.644 [7692] DEBUG - HTTP requesting GET http://IPx.xxx.xx.11:52323/MediaRenderer.xml
Mar 18, 2020 17:39:06.653 [7692] ERROR - Error issuing curl_easy_perform(handle): 7
Mar 18, 2020 17:39:06.653 [7692] WARN - HTTP error requesting GET http://IPx.xxx.xx.11:52323/MediaRenderer.xml (0, No error) (Failed to connect to IPx.xxx.xx.11 port 52323: Bad access)
Mar 18, 2020 17:39:06.653 [7692] ERROR - SSDP: Error parsing device schema for http://IPx.xxx.xx.11:52323/MediaRenderer.xml

This IP: IPx.xxx.xx.11 is actually my Sony Bravia TV’s IP address. When chromecasting the server attempts to access chromecast functionality initial through port 8008 and eventually works down to 52323.

I am going to look into reseting my TV, because their appears to be network errors coming from the TV.

That seems to have revived my issue, it looks like it wasn’t Plex. It was the Sony Bravia’s chromecast being goofy. Changing the IP address of the TV brought it out of its funk.

I appreciate you pointing me in the right direction MovieFan.Plex!!

1 Like

Glad you figure it out.

I have the same error when chromecasting some video.
I tryied now, stream from my computer to chromecast and my log says:
Error issuing curl_easy_perform(handle): 7
HTTP error requesting GET http://192.168.0.1:5431/dyndev/uuid:52c33313-c2c7-4bc4-85f2-9584ed3951f9 (7, Couldn’t connect to server) (Failed to connect to 192.168.0.1 port 5431: Connection refused)
SSDP: Error parsing device schema for http://192.168.0.1:5431/dyndev/uuid:52c33313-c2c7-4bc4-85f2-9584ed3951f9

192.168.0.1 is my modem/gateway… not my computer with plex nor chromecast.

And imediatelly chrome cast show me the error: Sorry! Something went wrong

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