Hi,
Can you clarify what is this "proxy_connect_timeout" setting is for? It is under "/opt/nginx/conf.d/0-default.conf". Is that the connection health check time interval that router does on MP? Also that looks like it is not a configurable option.
Solved! Go to Solution.
As @API-Evangelist mentions, this corresponds to the nginx proxy connect timeout, which is how long nginx will wait to establish a new connection with the upstream proxied service, in this case, the Apigee message processor. As you note, the default is 5 seconds.
Only private cloud customers can adjust this, and it can be done by editing (create if it does not exist) file:
/opt/apigee/customer/application/router.properties
And adding attribute:
conf_load_balancing_load.balancing.driver.connect.timeout=3s
Which as an example would set this timeout value to be 3 seconds.
To take effect, restart the router:
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
It is highly recommended to test this setting thoroughly in a lower-level/non-prod environment before adjusting in a production system.
Looks like nginx module setting but will wait for internal insights from experts.
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
Just my understanding ..It should be router(which is nginx) to mp default connection (simple terms nginx to upstream which in this case possible mp if it doesn't connect with in the defined limit it may not be happy ) and looks like default is proxy_connect_timeout 50ms;
But few timeout's can be adjusted following
https://docs.apigee.com/how-to-guides/configuring-io-timeout-best-practices
Thanks for the reply, while I understand the setting in nginx context, i am trying to confirm the meaning in Apigee and why it is 5s and no way to update it
As @API-Evangelist mentions, this corresponds to the nginx proxy connect timeout, which is how long nginx will wait to establish a new connection with the upstream proxied service, in this case, the Apigee message processor. As you note, the default is 5 seconds.
Only private cloud customers can adjust this, and it can be done by editing (create if it does not exist) file:
/opt/apigee/customer/application/router.properties
And adding attribute:
conf_load_balancing_load.balancing.driver.connect.timeout=3s
Which as an example would set this timeout value to be 3 seconds.
To take effect, restart the router:
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
It is highly recommended to test this setting thoroughly in a lower-level/non-prod environment before adjusting in a production system.
Thanks. That works. the setting i cannot find any doc line.
conf_load_balancing_load.balancing.driver.connect.timeout