• Resolved jmcphillips

    (@jmcphillips)


    I searched but couldn’t find any related topics. Is it possible to use this plugin with GCP under S3 compatibility mode? I could not find any documentation on using GCP Cloud Storage buckets with W3TC.

    I don’t understand the purpose of the “API host” field. I already have a CNAME for my bucket and it redirects properly. It seems that the API host field entry is being appended to the CNAME, like static.example.com.auto. Any insight is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jmcphillips

    Thank you for reaching out and I am happy to help

    The API host: Host of API endpoint, compatible with Amazon S3 API. This can be set to auto. To be honest, there were not any inquiries in the past about this so I cannot confirm or deny that it works.
    Does the S3 Compatibility work with your setup and are the objects pointed to the CDN URL?

    Thanks!

    Thread Starter jmcphillips

    (@jmcphillips)

    Thanks for replying.

    When using “auto” it seems to append it to the whole domain, because the error shows this:
    ?Error: Unable to put object (S3Compatible::putObject(): [6] Could not resolve host: static.example.com.auto).

    In the “Bucket” and “Replace site’s hostname with” fields, I am using statc.example.com, which points to c.storage.googleapis.com (per GCP docs.) This is how I do it with AWS S3 buckets, but maybe this isn’t the correct method for GCP? Because the CNAME creation is different from AWS.

    The object links using my CNAME work, and the bucket is publicly readable. The interoperability keys I made are also correct.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jmcphillips

    Thank you for your feedback.
    We are working on improving the S3 Compatible feature. It has some issues and we have a ticket opened for this.

    Thank you for your patience.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GCP Cloud Storage Compatability’ is closed to new replies.