Jump to content

Error 504 from my hostname. (Recently issue after 1year use)


Recommended Posts

Posted (edited)

Hello,

Some times I cannot access my server through the url "myhostname.com". And then a few hours later it works again. I have a 504 error with infinity loading

image.thumb.png.b9e50fb6447ebb5c27a4c0ea7d509cb2.png

But If I use the url: "myhostname.com:8920" it still works.

I use reverse proxy. I don't think that's the problem. Because I have the emby loading page and the reverse proxy has been in place for a long time without problem. And then the problem disappear and come back without doing anything. And no url problème from app. 

Another strange thing: If I use the local url: http://192.168.10.100:8096/ I have to choose which user to connect with. But in the list there is no admin account ... (maybe unrelated to the previous problem)

Thanks in advance for yours help.

Edited by thymon
Posted

Hi, yes this looks reverse proxy configuration related.

Posted

I use Nginx Proxy Manager

I haven't changed the configuration. And why would that be random?

Carlo
Posted

Have you tried looking at @pir8radio's nginx proxy setup?

Posted
On 6/8/2021 at 8:11 PM, cayars said:

Have you tried looking at @pir8radio's nginx proxy setup?

Where is it ?

pir8radio
Posted (edited)

Sorry, been working on some Burst/Signa mining pool stuff...   been away from emby 🙂        yea 504 is reverse proxy related..    make sure your proxy pass is using an IPv4 address if nginx is on the same box as emby use 127.0.0.1         do not use "localhost" it will pick the internal ipv6 address at times which causes intermittent issues..    Thats the first thing that comes to mind..    if you want to share your config...    Also your setup info..      so you have port 80 and 443 ( i assume) open on your firewall, pointing to nginx.  as well as 8920 pointing to emby..   and domain/port works, but domain---nginx---emby does not?

Edited by pir8radio
pir8radio
Posted
On 6/8/2021 at 12:59 PM, thymon said:

I use Nginx Proxy Manager

I haven't changed the configuration. And why would that be random?

So, you figure it out?

Posted

hello @pir8radio

Thanks for your interest.

I don't understand why I have this issue. I use Nginx Proxy Manager for 28 others proxy hosts without issue.

I have this randomly issue since I changed the Emby Container Docker. From binhex/arch-emby to linuxserver/emby. (No GPU transcoding with Binhex :( )

image.thumb.png.79fef9064536e0686f31e8f33992227e.png

image.png.f49b63b79bc21e19cd5f1d350990be52.png

image.thumb.png.70c81dbe34f5a2f1c487d17e7641c127.png

image.png.061e499578e79cee6cc768f8e13aa22a.png

 

image.thumb.png.9fc3b2921d0cd68601f47c7a2055792d.png

image.thumb.png.d3226caa924892734ed90297391bd438.png

 

 

Posted

Now my url works well. But tomorrow perhaps not...

pir8radio
Posted
15 hours ago, thymon said:

Now my url works well. But tomorrow perhaps not...

the proxy manager only enters a generic configuration that works with most sites..  Emby sometimes requires different headers to be passed.     Try changing your proxy from connecting to emby using HTTPS to HTTP (update port too)  you do not need https from proxy to emby if its on your local network, it can cause slowdowns and strange issues like this if you do not have your headers setup correctly.  and since you are using a proxy manager i would suggest using HTTP to the emby server from proxy.     HTTPS to your proxy from the internet is fine. 

Posted

it looks better since i unchecked "cache Asset" & "Block Common Explots"

 

image.png.4ef41454da8a2e725bf2f7bbc804816a.png

Posted

Thanks for the feedback.

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