Question

Getting error when config spaces cdn with wordpress

Connection is not established. : Error executing “PutObject” on “https://test.txt”; AWS HTTP error: cURL error 6: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

How to fix this ?

Subscribe
Share

Hey there @ismaelhaider365,

We’re going to need more information to dive into what’s happening here - do you have the code you are running when this error occurs?

If possible, could you also provide the full request & response data (such as a HAR)?

- Matt.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you want to use Spaces with CDN with wordpress there are two things you need. First is to integrate spaces with Wordpress and then to enable the CDN on your spaces bucket.

To integrate Wordpress with Spaces you can read the full write up here: https://www.digitalocean.com/community/tutorials/how-to-store-wordpress-assets-on-digitalocean-spaces

And to enable the CDN on spaces you can get the info here: https://www.digitalocean.com/docs/spaces/how-to/enable-cdn/