Curl is getting timed out sometimes while running script every 2 minutes
M1r0zo opened this issue · 0 comments
M1r0zo commented
Uncaught Hitrov\Exception\CurlException: curl error occurred: Connection timed out after 10000 milliseconds, response: in /root/oci-arm-host-capacity/src/HttpClient.php:31
Stack trace:
#0 /root/oci-arm-host-capacity/src/OciApi.php(257): Hitrov\HttpClient::getResponse()
#1 /root/oci-arm-host-capacity/src/OciApi.php(101): Hitrov\OciApi->call()
#2 /root/oci-arm-host-capacity/index.php(95): Hitrov\OciApi->createInstance()
#3 {main}
thrown in /root/oci-arm-host-capacity/src/HttpClient.php on line 31
Should i tune down my cron to 3 or 5 minutes or is there a fix to it? Internet works 100% stable no problem