hitrov / oci-arm-host-capacity

This script allows to bypass Oracle Cloud Infrastructure 'Out of host capacity' error immediately when additional OCI capacity will appear in your Home Region / Availability domain.
MIT License
899 stars 449 forks source link

Curl is getting timed out sometimes while running script every 2 minutes #136

Open M1r0zo opened 1 month ago

M1r0zo commented 1 month ago
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