product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

Need to configure the timeout value for the client listener level - Microgateway 3.2.0

Open Sumudu-Sahan opened this issue 3 years ago • 1 comments

Describe your problem(s)

Cannot configure the timeout value for the client listener level in the Microgateway 3.2.0.

Describe your solution

Need to provide configuration to change the default client listener timeout (2 minutes) through the micro-gw.conf file.

Sumudu-Sahan avatar Jan 18 '22 05:01 Sumudu-Sahan

Hi there, I am looking to increase client listener timeout to be more than 2 minutes as well.

At the moment, microgateway is failing after waiting for 2 minutes and giving below error.

HTTP/1.0 408 Request Timeout content-length: 58 content-type: text/plain connection: close server: ballerina, 58B Idle timeout triggered before initiating outbound response

"timeoutInMillis" of "advanceEndpointConfig" in x-wso2-production-endpoints seem to be within this upper limit of 2 minutes. Is there a work around to increase it beyond 2 minutes ?

Any help would be greatly appreciated. Thank you.

harish516 avatar Nov 27 '22 08:11 harish516