latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

I've found compatibility issue with S3/CF

Home Forums Community Forum I've found compatibility issue with S3/CF

This topic contains 4 replies, has 4 voices. Last updated by  Jason (Lead Developer) 3 years ago.

Topic Author Topic
Posted: Tuesday Dec 10th, 2013 at 6:39 am #61792
Boris Diadus
Username: borisd

I’ve found a reason why s2m can’t perform CF configuration in some cases.
How I can inform s2m developers about that? I’ve found no issue tracker here or any other way to inform the problem

Thanks.

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Tuesday Dec 10th, 2013 at 8:12 am #61793
JAMES HALL
Username: jhall_3rd

I would love to hear the details!

Posted: Tuesday Dec 10th, 2013 at 4:25 pm #61798
Boris Diadus
Username: borisd

The problem is in the c_ws_plugin__s2member_utils_urls::remote() method.
In my cases caller was c_ws_plugin__s2member_files_in::amazon_s3_auto_configure_acls().

remote() encounters the trouble in case when Amazon tries to redirect the request.
In this case response will be like:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>TemporaryRedirect</Code>
  <Message>Please re-send this request to the specified temporary endpoint.
  Continue to use the original request endpoint for future requests.</Message>
  <Endpoint>johnsmith.s3-gztb4pa9sq.amazonaws.com</Endpoint>
</Error>

And remote() will consider that as an error instead of resending the request to required host.

In case of amazon_s3_auto_configure_acls() user will see:

Error code: 307. Error Message: Unable to update existing Amazon® S3 ACLs. 
Unable to acquire existing Amazon® S3 Bucket ACLs. Temporary Redirect
Posted: Thursday Dec 12th, 2013 at 8:35 am #61873

Thank you, Boris. I’ll forward this to Jason for review. :)

Posted: Thursday Dec 12th, 2013 at 8:24 pm #61893
Staff Member

Please see: https://github.com/WebSharks/s2Member/issues/35
This update will come in the next maintenance release. Thanks for reporting this important issue.

Viewing 4 replies - 1 through 4 (of 4 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.