Under review

cloudconvert plugin - FileRun libcurl error, leads to API key always incorrect message

Rudhra 3 months ago updated 2 months ago 9

It seems FileRun never accepts the API key. I created a new API key 3 times already, carefully copy pasting the key (1100 characters). But when I try to convert something, I always get "Error: Invalid API Key!" the log shows an issue on line 185 of


log shows: - - [13/Jul/2021:13:29:23 +0000] "POST /?module=custom_actions&action=cloudconvert&method=requestConversion HTTP/1.1" 200 189 "https://files.obelix.cloud/?module=custom_actions&action=cloudconvert&_popup_id=popups_3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0",
[Tue Jul 13 13:29:25.421201 2021] [php7:error] [pid 454938] [client] PHP Fatal error: Uncaught GuzzleHttp\\Exception\\ConnectException: cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in :185\nStack trace:\n#0 /var/www/html/system/classes/vendor/GuzzleHttp/Handler/CurlFactory.php(149): GuzzleHttp\\Handler\\CurlFactory::createRejection(Object(GuzzleHttp\\Handler\\EasyHandle), Array)\n#1 /var/www/html/system/classes/vendor/GuzzleHttp/Handler/CurlFactory.php(102): GuzzleHttp\\Handler\\CurlFactory::finishError(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))\n#2 /var/www/html/system/classes/vendor/GuzzleHttp/Handler/CurlHandler.php(43): GuzzleHttp\\Handler\\CurlFactory::finish(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))\n#3 /var/www/html/system/classes/vendor/GuzzleHttp/Handler/Proxy.php(51): GuzzleHttp\\Handler\\CurlHandler->__invoke(Object(GuzzleHtt in /var/www/html/system/classes/vendor/GuzzleHttp/Handler/CurlFactory.php on line 185, referer: https://files.obelix.cloud/?module=custom_actions&action=cloudconvert&_popup_id=popups_3, - - [13/Jul/2021:13:29:25 +0000] "POST /?module=custom_actions&action=cloudconvert&method=getStatus HTTP/1.1" 500 185 "https://files.obelix.cloud/?module=custom_actions&action=cloudconvert&_popup_id=popups_3" 
Under review

Not sure if it is the actual cause, but you might want to fix the logged SSL problem: https://docs.filerun.com/php_configuration#httpsssl_support

But I use the docker version, the html folder or its subfolders do not contain a php.ini file.

If I change this within the container, it will not be persistent.

Also, I cannot easily find php.ini even within the container, the instructions provided at the bottom of the page won't work for docker volumes.

even this did not provide any result:

find / -type f -name httpd.conf

I mean

find / -type f -name php.ini

Are you sure your Docker container networking settings allow it to connect to a third-party website?

I have configured bit.ly successfully. Also I can ping other sites from the container terminal.

I can also use curl from the terminal in the container to download a textfile from github (https). 

I think my first issue is, I don't know where to find the php.ini file that is mentioned here:


Other plugins I use do not use cURL/API (not sure about bit.ly) so you could still be right about the ssl issue. But the documentation does not state where to find or create the php.ini file.


Running the latest FileRun Docker image, I experience no problems using the CloudConvert plugin. I don't think the PHP configuration is where you should look.

Thanks, then the issue must be with me. I'll figure it out or start with a new container and empty my html persistent volume.