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 Timeouts #579

Closed
brandoncorry opened this issue Apr 2, 2017 · 7 comments
Closed

504 Gateway Timeouts #579

brandoncorry opened this issue Apr 2, 2017 · 7 comments
Labels

Comments

@brandoncorry
Copy link

brandoncorry commented Apr 2, 2017

If HA-Bridge is not used for some time, the first attempts to use it seem to always fail with a 504 timeout. I thought it was Home Assistant that may have been the idle problem, but this morning I was able to narrow the issue down a bit.

I used fiddler to call Home Assistant directly and it worked without any issues. I then went into HA-Bridge UI, and clicked 'turn'on' for a light, and it throws the 504 error. It does do the retry that was added in 4.2.1 from issue #501, and fails. When I click turn-on a second time in the UI, it will work, but only if a long enough time hasn't passed.

I am currently running HA-Bridge on an RPi3 Model B if that helps with debugging.

image

@brandoncorry brandoncorry changed the title 504 Timeouts 504 Gateway Timeouts Apr 2, 2017
@bwssytems
Copy link
Owner

man, it looks like i lost something kn a merge as i was adding the capabililty to use persistent ip connections or not

@bwssytems
Copy link
Owner

Sorry, was thinking about TCP devices. So, I am not sure as the http call issue is coming from the Home Assistant end.

@bwssytems
Copy link
Owner

Is this still occurring?

@brandoncorry
Copy link
Author

Not as often as before; however, I just upgraded to 4.5.5 today, so i'll monitor it for a couple days and let you know.

@brandoncorry
Copy link
Author

Seeing a different error - but still have to execute my commands twice. If I try doing it through HomeAssistant dashboard first, it works, so HA is up and running, but first voice command fails. New error pasted below:

image

@bwssytems
Copy link
Owner

This is believed to be a protocol exception error. #671 has debugged this

@bwssytems
Copy link
Owner

closing as this as it is mostly related to #671

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants