increase cURL timeout - in smartdocs_service cURL calls

sanjaynegi
Participant II

We are using the following module from Apigee, to publish API documentation on Developer Portal through command line:

https://github.com/apigeecs/smartdocs_service

When making a cURL call to render a model, e.g.:

curl -v -X POST -u 'foo@foobar.com:XXXXXXX' http://FQDN_OF_DEVELOPER_PORTAL:8080/smartdocs/apis/models/MY-MODEL_1_0/render

we get the following error:

HTTP/1.1 500 Internal Server Error : An error occurred (28): Operation timed out after 30001 milliseconds with 0 out of -1 bytes received

Is there a way to increase this timeout from 30 seconds to a higher value?

1 0 147
0 REPLIES 0