Jump to content

Bad Request (Invalid host)


rhodges

Recommended Posts

rhodges

I am using pfsense and haproxy. SSL is terminated on pfsense and proxies over http to the backend.

 

The proxy backend is pointing to 192.168.1.5:8096 and when I put that in my web browser, that works just fine. I have 192.168.1.5 also under advanced, "bind to local network address". Everything works fine going to http://192.168.1.5:8096 in a browser on my network.

 

When I try to access it thru the proxy, it returns "Bad Request (Invalid host)". If, in Emby, I remove the "bind to local network address" and let it bind to everything (there are a couple ip addresses assigned to the single network card) it works just fine.

 

I am 100% sure that haproxy is configured correctly. It is using 192.168.1.5.

 

Emby is running on a Windows 2012 R2 server and it is version 3.1.78.0. I don't access Emby remotely a lot, so I don't know if it started at the same time I enabled the "bind to local network address" option, of it started failing in a later version.

 

There is nothing in the server logs.

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