Secure Connections and Chromecast

chromecast

#12

So as I have mentioned above. This is no longer an issue on Chromecast's side. I worked extensively with both parties to figure it out. Make sure that Plex and Chromecast are the latest versions.

As a workaround you can set the Secure Connections to Preferred.

I have tested with multiple Chromecasts and Android devices that this bug has been fixed.

Sounds like an iOS issue. With that I would start a new thread.


#13

sigh
Plex Media Server Version 0.9.12.8
Android Version 4.8.1.390(c98c53aa)
Settings > Server > Network > Secure Connections > Required!, not working!

Sorry to say, setting it to "Preferred" is not a workaround it is Unsecured.

Please specify versions that are working, because I just get a "unable to cast" on the screen.


#14

@shad0wman There are numerous reports of problems of stuttering with secure connection enabled even on Android (https://forums.plex.tv/discussion/174054/lagging-with-the-new-plex-for-android-release). And now this is enabled by default people have to turn off all secure connections to get Chromecast to work. It seems some more work is needed - on Plex or Google side I do not know - else it needs disabling again in Plex.


#15

It would make sense to just make connections to the chromecast SSL disabled or at least have a toggle to choose on or off so that no other plex app that uses SSL is affected because of this horrendous bug that seems like it will never be fixed.


#16

There was a fantastic individual on Google+ that mentioned removing the secured connection to make Chromecast support 1080p+ streams like before! However, I agree, this needs to be somewhat of a selection choice. I have to now DISABLE SSL in order to have the Chromecast stream properly. I would prefer secure connections across the board and then have Chromecast NOT have the SSL if it struggles.

In case it matters for anyone else looking, I have not been able to get a stream at 8Mbps 1080p to work at all, only dropping to 4Mbps 720p worked or lower. I usually had zero issue on any device or computer, meaning only the Chromecast was struggling with 1080p. Of course, I blamed it on the Chromecast, even though 1080p YouTube and more worked fine.

This change has rectified the problem and Chromecast is the super streamer it used to be again!


#17

I have SSL disabled but still get a lot of stuttering. On 0.9.12.13.


#18

make a new thread, video stuttering when SSL is disabled is a different issue than this thread.

This thread is for "not being able to cast" when SSL is ENABLED

If you have lag there are many other factors that can cause that


#19

Is this still an issue? I've ordered a few Chromecasts 2nd gen. and one Chromecast audio.


#20

I have a related thread going where I discovered this was my issue in not being able to cast. I'm wondering if I changed a setting or performed an update which suddenly made this problem appear. My current workaround is to change Settings->Network->Secure Connections setting to "Preferred". I'm not happy with it, but it's all I've got at the moment.


#21

Woops, link to the related thread:

https://forums.plex.tv/discussion/comment/1109306


#22

I recently installed Plex, this is the first annoying issue I discovered, PLEX + TLS + Chromecast = problems. For my case, it leads to an error in the logs "WARN - [Chromecast] Media element error code: 2" and an error message in my screen "There was a problem playing this item". It happens randomly, it can play for 5mins or 40 mins but it will error out always.

Disabling security completely allows for uninterrupted playback without errors but of course security goes down the drain. So many months and these issues still persist apparently.


#23

@charlie2alpha said:
I recently installed Plex, this is the first annoying issue I discovered, PLEX + TLS + Chromecast = problems. For my case, it leads to an error in the logs "WARN - [Chromecast] Media element error code: 2" and an error message in my screen "There was a problem playing this item". It happens randomly, it can play for 5mins or 40 mins but it will error out always.

Disabling security completely allows for uninterrupted playback without errors but of course security goes down the drain. So many months and these issues still persist apparently.

Yeah, it so depressing ;D

So what I did is opted out of signing in altogether since I don't need to access Plex outside my home network...

Just a tip, if you're like me and don't need to use Plex outside your home network and sign out of plex also uncheck Enable local network discovery (GDM) in Settings > Network and just to be on the safe side uncheck Enable the DLNA server in Settings DLNA.

This way, I feel, and I could be wrong, that your plex media server cannot be pinged from outside your home network, of course that means you have to manually connect your plex media server (for iOS and Android apps that you use to cast) using your plex media server IP address (that is probably set vis your router based on your PMS mac address)

Sigh thats the best I could come up with as far as security goes!


#24

There is hope! https://security.googleblog.com/2016/03/securing-web-together_15.html


#25

I dont mean to dig up such an old post, but recently I cannot seem to cast from any device (iOS or Android) when security is set to Required.
Plex Server: Version 1.3.3.3148
iOS device is on latest version of OS and Plex App
Android is 6.0.1 with latest Plex App version (5.3.2.632)
Tried with a fully updated Chromecast v1 and v2
Rebooted phones, chromecasts and PMS many times

Is this still an issue with the Chromecast not being able to ‘cope’ with SSL?


#26

This is still my finding. As of a couple weeks ago, at least.


#27

Still doesn’t work for me, plex server 1.7.5; plex app (on Android) 6.1.1.656; Chromecast 2 firmware 1.25.90308.
Set “Secure connections” to preferred and it works, leave it on required and it doesn’t.

Update: I can cast from chrome on my PC to the same Chromecast device with “Secure connections” set to required.

So it appears that it is a problem with the Android client.

Doing a bit of packet sniffing on the server I can see that the Chromecast hits the server with an unencrypted OPTIONS request, then it drops the connection.

Ooh, new version of the Plex app (6.1.2.812): no, still doesn’t work.


#28

Just to note I have the same problem. With “required” I can cast from chrome on the desktop, but have to lower it to “prefered” to cast from Android phone. Everything is updated as of 26.07.2017, using the chromecast ultra device.


#29

@yaytay said:
Still doesn’t work for me, plex server 1.7.5; plex app (on Android) 6.1.1.656; Chromecast 2 firmware 1.25.90308.
Set “Secure connections” to preferred and it works, leave it on required and it doesn’t.

Update: I can cast from chrome on my PC to the same Chromecast device with “Secure connections” set to required.

So it appears that it is a problem with the Android client.

Doing a bit of packet sniffing on the server I can see that the Chromecast hits the server with an unencrypted OPTIONS request, then it drops the connection.

Ooh, new version of the Plex app (6.1.2.812): no, still doesn’t work.

I’ve got the same behavior with plex server 1.8.2.4209, plex android app 6.4.1.1644, and chromecast 2 firmware 1.26.92486.
I will not lowered security access to my server, please fix this issue.


#30

it works since 1.9.0.4252 plex server version


#31

I tried it - and it still does not work. I was asked if I’d accept a fallback to an insecure connection, but setting the encryption to “forced” gave an error.