Jump to content

[BUG] app.emby.media Insecure Content Blocked


Recommended Posts

Posted

Hi, what you need to do is configure your advanced server settings so that the https address is displayed as the remote address on your emby server dashboard.

Posted (edited)

Hi, what you need to do is configure your advanced server settings so that the https address is displayed as the remote address on your emby server dashboard.

 

5d01758e33e4c_ScreenShot20190612at55658P

 

It's a browser javascript error, this method here in 'connectionmanager.js' needs to take into account the 'window.location.protocol' so it doesn't attempt an impossible request to an http url from an https url, that the browser will block.

function normalizeAddress(address) {
	return address = address.trim(),
	0 !== address.toLowerCase().indexOf("http") && (address = "http://" + address),
	address = replaceAll(address, "Http:", "http:"),
	address = replaceAll(address, "Https:", "https:")
}
Edited by roblav96
Posted

Ok you're referring to the attempt on the local address. Yes you're right. When the browser protocol is https, we should skip requests to http urls because we already know they'll fail. Thanks.

Posted (edited)

Ok you're referring to the attempt on the local address. Yes you're right. When the browser protocol is https, we should skip requests to http urls because we already know they'll fail. Thanks.

 

No worries friend, glad to help =] 

Edited by roblav96
Posted

Can you try this again? thanks.

Posted

Same problem here. I can't add my server although it's accessible directly via its url or IP address from outside my network.

Posted

@@luc why do you feel it's the same problem?

  • 4 weeks later...
Posted

Thanks for the feedback.

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...