Jump to content

Certain quirky things when viewing dashboard thru secure reverse proxy


Dreakon13
Go to solution Solved by darkassassin07,

Recommended Posts

Dreakon13

Hi, this has been a minor issue forever now but just wanted to make a thread and get your thoughts on it.

When I log into my admin user and view the dashboard through http://192.168.whatever.whatever:8096 ... little things like seeing a library scan in progress, or seeing the progress bar moving on any Now Playing items works fine, as expected.

When I log in through https://emby.blahblahblah.com/ ... those same things don't seem to move until I refresh the page.  For instance a family member is watching something, it's at 21:06 / 25:11 and it just sits there like it's paused.  I refresh the page and see it's actually at 22:52 / 25:11.  If a library scan is running, it looks like it isn't moving until I refresh the page and realize it's actually done.

These are very minor things, but I'm getting increasingly curious if there's a reason why that happens or if there's anything I can do about it.

Not sure if an embyserver log would help since everything is working fine, just isn't refreshing automatically when viewing the dashboard through the HTTPS (but works fine through HTTP/localhost).  Let me know if there's anything I can provide that would help?

Edited by Dreakon13
Link to comment
Share on other sites

Hi, have you compared your reverse proxy settings to this:

Even if you're not using nginx, most reverse proxies have a similar set of options.

Link to comment
Share on other sites

Dreakon13

@LukeThanks for the quick response.  It's all set up through a lot of Synology's automated processes so I think it would be hard to compare to that tit for tat.  But I can take a look.

 

EDIT: I took my phone off the network and the Android app wasn't refreshing either.  Put it back on my network and it worked fine.  Guessing it probably is a setting somewhere in my reverse proxy.  I'll mess with it a bit more tomorrow following that HOW TO when people aren't watching stuff.

Edited by Dreakon13
  • Thanks 1
Link to comment
Share on other sites

  • Solution
darkassassin07

Look for settings enabling web socket connections.

 

In an nginx config it's the lines: 

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;

 

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

Dreakon13
6 hours ago, darkassassin07 said:

Look for settings enabling web socket connections.

 

In an nginx config it's the lines: 

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;

 

Wow, I think all I had to do was go into my reverse proxy settings and click Create > WebSocket...

 image.png.46328ba79b03de15ca4d4e4f677cb4dd.png

 

It added those two lines and my HTTPS looks like its refreshing that info as expected now.

Thank you!

Edited by Dreakon13
  • Like 1
  • Thanks 1
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...