Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 Gateway Timeout with reverse proxy #6138

Closed
ransom3910 opened this issue Feb 21, 2017 · 1 comment
Closed

504 Gateway Timeout with reverse proxy #6138

ransom3910 opened this issue Feb 21, 2017 · 1 comment
Labels

Comments

@ransom3910
Copy link

Home Assistant release (hass --version):
0.38.3
Python release (python3 --version):
Python 3.4.2

Description of problem:
I am using apache as a reverse proxy to HA. It was working fine until the last upgrade to .38.3 from .34
Now I am occasionally getting a 504 Gateway Timeout error when going through the reverse proxy. I did a TCP dump from the proxy and can see it is taking to HA during the issue. It is intermittent. Any thoughts on what might be causing this would be appreciated.

Apache Info
Server version: Apache/2.4.18 (Ubuntu)
Apache Config

<VirtualHost *:80>
ProxyTimeout 30 - I added this line to see if it would help. I have tried high and low times outs with no luck.
ProxyPreserveHost On
ProxyRequests Off
ServerName site.mydomain.com
ProxyPass /api/websocket ws://192.168.20.5:8123/api/websocket
ProxyPassReverse /api/websocket ws://192.168.20.5:8123/api/websocket
ProxyPass / http://192.168.20.5:8123/
ProxyPassReverse / http://192.168.20.5:8123/

@robbiet480
Copy link
Member

Closing in favor of #5954, please search issues next time before opening a new one, thanks!

@home-assistant home-assistant locked and limited conversation to collaborators Jun 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants