We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

I got the bug of amazon S3 probably [To Test] | Forum

Xavi
Xavi Sep 27 '13
I have followed the official docs to set S3 function,but OW failed to upload images to S3 .I found that some others have the same issue after  searched the forum.

Finally ,I got the key:

OW  don't allow the S3 bucket name to be images.mydomain.com for example, the name can't contain "."  which is allowed by S3 bucket naming rules.

However,we need to set S3 bucket name to be a subdomain to costomize S3 urls for many advantages,in particularly,we can't use cloudfornt without subdomain name I guess.

So,I hope OW could support  subdomain naming for S3 bucket name.

Regards,

Xavi

The Forum post is edited by Alia Oct 11 '13
Alia Team
Alia Sep 30 '13
Xavi, can you paste here or PM me what you currently have in you config.php (withih /ow_includes/ folder), part with amazon settings in particular?
Xavi
Xavi Oct 7 '13
Quote from Aliia Xavi, can you paste here or PM me what you currently have in you config.php (withih /ow_includes/ folder), part with amazon settings in particular?

Sorry for late reply,I didn't receive  the emil notification.I have sent PM to you already.
Alia Team
Alia Oct 7 '13
Xavi, we have tested and subdomains worked with S3.
Xavi
Xavi Oct 7 '13
Quote from Aliia Xavi, we have tested and subdomains worked with S3.

Have  you tried to upload photos?

It could only read existed images,can't upload files to S3 by my test

The Forum post is edited by Xavi Oct 7 '13
Xavi
Xavi Oct 7 '13
debug error if bucket name is subdomain :

Unable to communicate securely with peer: requested domain name does not match the server's certificate.

Oxwall Accessories
Oxwall Accessories Oct 10 '13
you have to change the permissions of the images on s3. 
Oxwall Accessories
Oxwall Accessories Oct 10 '13
Let me know if you need a hand I just went through this


Xavi
Xavi Oct 10 '13
Quote from OxwallAccessories you have to change the permissions of the images on s3. 

I don't think that's the problem.

Non-subdomain bucket worked very well and  creat directories automatically for new bucket without any extral setup,and also I have tried to grant all  permissions to subdomain bucket for everyone but no effect.

I have tested it on centos locally too, I'm sure that there is some bug with subdomian.

Xavi
Xavi Oct 10 '13
The most strange is ,it will show debug error  immediately " requested domain name does not match the server's certificate" if the bucket name is subdomain and both dev_mod and debug_mod are enabled.
Alia Team
Alia Oct 11 '13
Xavi, let me recheck this once more to make sure.
Will get back to you at the begining of next week.
Xavi
Xavi Oct 21 '13
Quote from Aliia Xavi, let me recheck this once more to make sure.
Will get back to you at the begining of next week.

Allia,I found this discussion may got the key:  
https://drupal.org/node/1673888

Hope there will be a perfect solution.

BTW,does oxwall's S3 supports temporary security credentials?

It seems the IAM Roles need that to increase security,here are related pages:

 http://docs.aws.amazon.com/IAM/latest/UserGuide/role-usecase-ec2app.html

http://docs.aws.amazon.com/AmazonS3/latest/dev/AuthUsingTempSessionToken.html

beyondherd
beyondherd Aug 24

Are you ready to elevate your artificial intelligence experience to unprecedented levels? Dive into the revolutionary world of Amazon GPT-44X and explore the cutting-edge technology that's transforming industries and shaping the future. GPT-44X represents the pinnacle of AI innovation, offering unparalleled capabilities in natural language understanding, generation, and interaction.

Post Minder
Post Minder Oct 9
Dedicated to wanderers with a love for sustainable luxury, Là Fuori nurtures a community of 'creative souls' devoted to preserving and promoting the world’s diverse artisanal cultures. La Fuori