-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Hey!
I experience a weird behaviour when having long running requests in my service connected to the gateway.
I run a PHP-based service behind the gateway, that sometimes needs up to 45s to return the response. In 90% of the cases the response is not returned by the gateway and instead I get a Socket hang up back.
I already enabled the Limits plugin and put this there
{
"name": "limits",
"config": {
"max-response-time": "120s",
"max-request-bytes": 1000000
}
}This removes the initial reached timeout error message, but still I have the problem that the connection between the gateway and the service somehow gets lost.
I am 100% sure, that the response is correct and is returned by the (backend) service properly. When calling the GraphQL endpoint of the backend service directly, there is no issue at all.
Does that somehow sound familiar to you or any hint where to look?
Thanks!