HTTP/1.1 504 Gateway Timeout
I am getting the same error message as described here:
https://forums.aws.amazon.com/thread.jspa?messageID=729094
However, in that case, they were trying to use a custom port number, and that was the cause of the problem. We are not trying to use a custom port number.
The error is:
{"message": "Network error communicating with endpoint"}
Yesterday I could run this query and it worked fine:
curl "https://api.heddy.com/lkapi/[email protected]&pass=xxx" -X GET --header 'Accept: application/json' --header 'x-api-key: xxx'
I would get back a JWT token and use it to make further queries.
Yesterday I created a new "resource", added it to our API, and then deployed that to our testing stage, which is "lkapi", which you can see in the URL above.
And since I've done that deploy, I can not get through the AWS API Gateway. I have no idea what I have done wrong.
Any thoughts about what I should check?
If I do the verbose version of "curl" I see the error is:
504 Gateway Timeout
This error typically happens if the upstream app is not running. But I know it is running. So what is left? Perhaps misconfigured port?