Jump to content

nginx reverse proxy: fix for video seek issue!


x-cimo

Recommended Posts

I was having issue with seeking (forward/backward) in a video stream (it was either slow, or not working).

 

I found in the android client a bunch of REFUSED_STREAM error..  then I found https://github.com/square/okhttp/issues/2506

 

Which point to a bug in nginx with HTTP 2.0 (I think Emby just moved to HTTP 2 in 3.1.0 ?).

 

On ubuntu 16.04 fully patch the latest version of nginx is 1.10, for which the issue is not resolved..

 

You can get the latest version 1.11.7 by doing the following (found on http://www.ubuntumaniac.com/2016/05/install-nginx-1110-on-ubuntu-1604.html)

 

sudo add-apt-repository ppa:chris-lea/nginx-devel

sudo apt-get update

sudo apt-get upgrade

 

Hope it helps someone else.

 

  • Like 1
Link to comment
Share on other sites

Good to know, I swear it was fine before, but I just put in place nginx a couples days ago so maybe it was always there.

 

nginx is receiving HTTP/2.0 from my phone (android client). Which triggered the issue on nginx itself.

 

thanks for clarifying

Link to comment
Share on other sites

  • 3 years later...

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