roblav96 1 Posted June 12, 2019 Posted June 12, 2019 (edited) I have the http route redirect to https with a reverse proxy, Since I'm on the https of 'https://app.emby.media' the client sends a request to: 'http://foobar.media:8096/emby/system/info/public' which results in a 'Connection Failure'. It should automatically default to https, not http when calling the 'system/info/public' route. Edited June 12, 2019 by roblav96
Luke 40074 Posted June 12, 2019 Posted June 12, 2019 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.
roblav96 1 Posted June 12, 2019 Author Posted June 12, 2019 (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. 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 June 12, 2019 by roblav96
Luke 40074 Posted June 12, 2019 Posted June 12, 2019 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.
roblav96 1 Posted June 12, 2019 Author Posted June 12, 2019 (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 June 12, 2019 by roblav96
Luc. 0 Posted June 19, 2019 Posted June 19, 2019 Same problem here. I can't add my server although it's accessible directly via its url or IP address from outside my network.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now