502 Bad Gateway error
Our client gets 502 Bad Gateway error while connecting to API Gateway endpoint after a certain time
Most of the time our client gets 502 Bad Gateway error/takes a long time for the very first request to the API gateway after some time. However, it's working fine from the second request onwards.
So everyday morning our first request getting failed due to this 502 bad gateway error.
Note: We used custom cloud functions (to be used to validate JWT token) and HTTP back-end for this API Gateway configuration.
Any help regarding this issue?
Thanks in advance.
Version (include the version you are using, if applicable):