Applicable to:
- SolusVM
Symptoms
API requests to SolusVM, like removal of a VPS, exceed timeouts and end up in error.
Tuning of SolusVM webserver does not help.
Cause
Insufficient values for curl timeouts on the client side.
Resolution
Review the API call code and make sure that values for the following parameters have sufficient values:
CONFIG_TEXT: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
Set it as 0 for unlimited values:
CONFIG_TEXT: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 0);
Comments
0 commentsPlease sign in to leave a comment.