I have an issue with Socket Hang Up when using Express Gateway. When express gateway making requests to a backend service, I often encounter a 502 error even though the backend service is in a normal state. Do I need to configure settings like proxyTimeout / timeout?
I assume this is a timeout issue when making requests to the service. Which one is correct to use for configuring the timeout when requests are sent from Express Gateway to the backend service, is it timeout or proxyTimeout?
I have an issue with Socket Hang Up when using Express Gateway. When express gateway making requests to a backend service, I often encounter a 502 error even though the backend service is in a normal state. Do I need to configure settings like proxyTimeout / timeout?
message:
[EG:policy] warn: socket hang up
gateway.config.yml
I assume this is a timeout issue when making requests to the service. Which one is correct to use for configuring the timeout when requests are sent from Express Gateway to the backend service, is it
timeout
orproxyTimeout
?