Jump to content

Cannot play movies with HTTPS


eraser8

Recommended Posts

eraser8

Hi all,

 

I tried to search for an existing topic about this specific situation but have not find anything.

 

The problem is I cannot play movie using an external connection by HTTPS. BUT sometime it works and sometime not, depending with which device/browser you connect. For example:

 

External ip (HTTPS) --> Google Chrome on windows machine --> Can connect and can play movies

External ip (HTTPS) --> Google Chrome on samsung android cell phone --> Can connect but cannot play movie. It return me an error "There was an error playing the video".

 

FYI: I don't added any SSL Certificat (use emby default) and I tried with both check/uncheck on the option "Report https as external address".

 

I can send you the "faulty" log if you want. It seems to do an error using the certificate...

 

Thanks in advance!

Edited by eraser8
Link to comment
Share on other sites

eraser8

Thanks for your answer.

 

I tried using your link but it seems the need to run Linux or to a an IIS server? Do you have an easy way of using it?

 

Thanks

Link to comment
Share on other sites

JunkStar

It was no way easy but since my emby runs on WHS2011 i already had an IIS running i just needed to reconfigure it all

Link to comment
Share on other sites

Happy2Play

It was no way easy but since my emby runs on WHS2011 i already had an IIS running i just needed to reconfigure it all

I just used my custom whs2011 Godaddy certificate.

Edited by Happy2Play
Link to comment
Share on other sites

Untoten

You can use nginx, tomcat, apache, iis or wahtever you wish.  All you need to do it configure a reverse proxy with all traffic being tunneled through https using a cert from a CA.  Do not use self-signed certs.  I use namecheap and it's about $12/year for a domain + CA signed SSL cert.

Link to comment
Share on other sites

eraser8

Hi guys,

 

Thank you for all your inputs. The question I'm thinking is..... why does it work with Chrome in windows and it doesn't work with chrome on android... I know the user agent is different, but all in all, is it a problem with the server or with the client?

 

Thanks

Link to comment
Share on other sites

The browser will reject the self-signed cert and you need to override that in the browser itself.

Link to comment
Share on other sites

eraser8

Do you get the same behavior using http?

 

No, it works flawlessly using http but I prefer using https over the net.

Link to comment
Share on other sites

Happy2Play

Since it is a self signed certificate issue you could google Add self signed SSL certificate to Android.

Link to comment
Share on other sites

Happy2Play

Sure you are using Chrome by they are two different OSes so everything isn't going to be identical.

 

Maybe higher security settings on the mobile device?

Edited by Happy2Play
Link to comment
Share on other sites

yes it does explain it. you have to override it on the client device so you'll need to find where that is.

Link to comment
Share on other sites

eraser8

Ok I understand that both can have different security level configured.... BUT the weird thing is I can connect to the server. The error appear only when I press play button on a movie... Is this a possible case depending on the security level?

 

Thanks guys

Link to comment
Share on other sites

When you try to play a movie, it is then an external component (the Video player) that is hitting the URL.  So, yes, it can be different.

Link to comment
Share on other sites

eraser8

When you try to play a movie, it is then an external component (the Video player) that is hitting the URL.  So, yes, it can be different.

 

Ok good to know. Is the player built-in in Google Chrome? This could explain why he doesn't like the HTTPS...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...