Jump to content

Using http/2 instead of http/1.1 possible?


Schleudertrauma

Recommended Posts

Schleudertrauma

Hi there,

i've used the search but found nothing related to my question.

Is it possible to let emby use http/2 as standard instead of http/1.1 and if it is possible where can i change the settings?

 

Greetings

Schleudi

Link to comment
Share on other sites

Happy2Play

Ensure you are only connecting via https.

Network setting

image.png.fdbbc1aca72236b7509ca19b673b3998.png

But obviously local connections will not be WAN connections.  But all these network gurus will possibly have some more advice.

Link to comment
Share on other sites

Schleudertrauma

Thank you but this setting is already set but all remote clients (Smartphones, TVs, Browsers etc.) are still shown with http/1.1 connections no matter if they're using emby apps or not. I have a hardware firewall with pfsense installed on in front of my network with haproxy running that listens to incoming requests on the frontend and then sends them to the backend machines.

I use emby only on its https port so that connections from outside the lan and between haproxy and emby are ssl only. In fact of that i want emby to switch to http/2 but someone needs to point me in the right direction or maybe emby does not support http/2 in its latest releases?

I am not that network pro and it's truly possible that my ssl settings are not right and that it's not an emby related problem. I don't know. :D

 

Greetings

Schleudi

Link to comment
Share on other sites

Happy2Play

I will guess the exact same discussion as here wanting LAN to be SSL only.

 

  • Like 1
Link to comment
Share on other sites

Schleudertrauma

No i think that's not my point and my connection is already secured. Remote clients connecting to my emby server are connected via http/1.1 although the whole line is secured (from the client to my reverse proxy and same from the reverse proxy to the internal emby server). Emby is showing me the right remote ip's of the clients in the overview so everything seems to work correctly except http/2.

 

Greetings

Schleudi

Link to comment
Share on other sites

Q-Droid

As far as I know Emby does use http/2 when TLS is enabled. It would seem that your reverse proxy might be the problem here if the clients are connecting with http/1 to the reverse proxy. If the problem was Emby then you would have the client -> proxy connections as http/2 and proxy -> Emby downgraded to http/1.

 

  • Like 1
Link to comment
Share on other sites

Quote

As far as I know Emby does use http/2 when TLS is enabled.

Hi, yes this is correct.

Link to comment
Share on other sites

Schleudertrauma

Thank you guys. I have to test and fix that in a development environment so that the productive emby server can run further. I really need to get deeper in that network stuff, there is too much going on that i don't get at the moment. I will give you feedback in here when i'm ready. :D

Link to comment
Share on other sites

Let us know how you get on. Thanks.

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