S3 Wasabi Error

Hi Everybody

I try to send a file following the s3 tutorial but on wasabi storage

I have put : https://s3.eu-central-1.wasabisys.com as endpoint
and i have receice the following message , any idea ?

{“code”:0,“file”:"/var/www/clients/client1/web12/web/dmxConnectLib/aws/Aws/WrappedHttpHandler.php",“line”:195,“message”:“Error executing “PutObject” on “https://mylovelyplanet.https//mylovelyplanet/FHISL010%20header_1.jpg”; AWS HTTP error: cURL error 6: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)”,“trace”:"#0 /var/www/clients/client1/web12/web/dmxConnectLib/aws/Aws/WrappedHttpHandler.php(97): Aws\WrappedHttpHandler->parseError(Array, Object(GuzzleHttp\Psr7\Request), Object(Aws\Command), Array)\n#1 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(203): Aws\WrappedHttpHandler->Aws\{closure}(Array)\n#2 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(174): GuzzleHttp\Promise\Promise::callHandler(2, Array, Array)\n#3 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/RejectedPromise.php(40): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}(Array)\n#4 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/TaskQueue.php(47): GuzzleHttp\Promise\RejectedPromise::GuzzleHttp\Promise\{closure}()\n#5 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run()\n#6 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick()\n#7 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute(true)\n#8 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()\n#9 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()\n#10 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()\n#11 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()\n#12 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()\n#13 /var/www/clients/client1/web12/web/dmxConnectLib/aws/GuzzleHttp/Promise/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()\n#14 /var/www/clients/client1/web12/web/dmxConnectLib/aws/Aws/AwsClientTrait.php(58): GuzzleHttp\Promise\Promise->wait()\n#15 /var/www/clients/client1/web12/web/dmxConnectLib/aws/Aws/AwsClientTrait.php(86): Aws\AwsClient->execute(Object(Aws\Command))\n#16 /var/www/clients/client1/web12/web/dmxConnectLib/modules/s3.php(122): Aws\AwsClient->__call(‘putObject’, Array)\n#17 /var/www/clients/client1/web12/web/dmxConnectLib/lib/App.php(174): modules\s3->putFile(Object(stdClass), ‘putFile1’)\n#18 /var/www/clients/client1/web12/web/dmxConnectLib/lib/App.php(138): lib\App->execSteps(Object(stdClass))\n#19 /var/www/clients/client1/web12/web/dmxConnectLib/lib/App.php(108): lib\App->execSteps(Array)\n#20 /var/www/clients/client1/web12/web/dmxConnectLib/lib/App.php(73): lib\App->exec(Object(stdClass))\n#21 /var/www/clients/client1/web12/web/dmxConnect/api/files/upload.php(8): lib\App->define(Object(stdClass))\n#22 {main}"}

Wasabi seems like a great choice, one price is easy to understand and cheaper than aws. Thanks for tip

I use it for 2 years, its quit fast for web also

1 Like

Ok, i have the answer then i can tell you, first the secretkey was wrong … second remove the https and left only s3.eu-central-1.wasabisys.com for the endpoint

It could be good to have a test button to test the access key …

Fabrice

2 Likes

Wasabi is now available as S3 provider in Wappler

This topic was automatically closed after 46 hours. New replies are no longer allowed.