PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Error with Amazon S3 storage function in Newest Version

s2Member Plugin. A Membership plugin for WordPress®.

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 6th, 2011, 12:29 pm

You all did a very good job in the the support videos. I will be getting s2MemberPro
soon, and I wanted to know if I would lose my settings and everything from going to the free version?

Thanks for the KUDOS. We look forward to having you as a Customer. No, you won't lose any of your existing settings when you upgrade. s2Member Pro is an add-on module, and so it doesn't replace anything you're already using, it just adds new features/tools/possibilities.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby keywordcentrics » August 6th, 2011, 12:36 pm

Okay,

Understood. I guess how do I make the videos that I store on the Amazon S3
available to stream right away without it taking a long time for a person to watch.

I am trying to download my file from the link that you created for me, and it's
taking so long to just download that. I thought it was suppose to speed things up.

~Gary
User avatar
keywordcentrics
Registered User
Registered User
 
Posts: 8
Joined: August 6, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 6th, 2011, 12:43 pm

how do I make the videos that I store on the Amazon S3
available to stream right away without it taking a long time for a person to watch.

You will need an MP4 video player, such as JWPlayer, and then you'll need to read the instructions here regarding "inline" files served into media players like JWPlayer: viewtopic.php?f=4&t=2937&p=16662&hilit=s2member+jwplayer#p8949

I am trying to download my file from the link that you created for me, and it's
taking so long to just download that. I thought it was suppose to speed things up.

Well, Amazon S3 is fast. Download speeds are determined by both the server speed ( i.e. Amazon, which is VERY fast ), and also by your connection speed to the internet ( i.e. your ISP ). If you're having trouble with speed, I would suspect an issue on your side, though it's difficult to know for sure. You might try this site to test your speed: http://speedtest.net/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby keywordcentrics » August 6th, 2011, 1:12 pm

Jason,

Will I be able to upgrade to s2MemberPro without any problems,
meaning lost settings from the free version?

Secondly,
I don't know how you actually got the download link to work.
I am in the Basic Download area of s2Member, and I see the
?s2member_file_download=example-file.zip that I suspect you're talking about.

However, when I add the file name at the end of that, for instance,
http://batmantimes.com/batmantimes/?s2m ... l-file.zip
it doesn't work.

I know I have the files right now in Cloudfront for 'Distribution', but you were
able to get one of the files that I have in 'Cloudfront' to work, so I'm just curious
how you did that.

~Gary
User avatar
keywordcentrics
Registered User
Registered User
 
Posts: 8
Joined: August 6, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Cristián Lávaque » August 6th, 2011, 1:19 pm

About the upgrade question:

Just make sure you have enabled Deactivation Safeguards and you won't lose your settings when you update/upgrade. WP Admin -> s2Member -> General Options -> Deactivation Safeguards

Pro won't remove/change things you configured with s2Member, it'll just add new fields/features for you to use.

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Error with Amazon S3 storage function in Newest Version

Postby keywordcentrics » August 6th, 2011, 1:22 pm

Thank you very much.
User avatar
keywordcentrics
Registered User
Registered User
 
Posts: 8
Joined: August 6, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 6th, 2011, 1:28 pm

keywordcentrics wrote:I know I have the files right now in Cloudfront for 'Distribution', but you were
able to get one of the files that I have in 'Cloudfront' to work, so I'm just curious
how you did that.

Don't worry about CloudFront with protected files. You don't want to "Distribute" them, you want them protected. In fact, you should keep your protected files inside a separate Amazon S3 Bucket which is NOT distributed through CloudFront, otherwise, they'll all be publicly available to anyone who knows what they're doing. Instead, place your protected files inside the Amazon S3 Bucket that you configured s2Member to use. Then you can build links just like this:
http://yourdomain.com/?s2member_file_download=file.zip

The example link that I gave you works because the file IS inside your Amazon S3 Bucket. Perhaps the other is not? Or perhaps it's in a different Bucket?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby keywordcentrics » August 6th, 2011, 1:57 pm

It's working perfecting Jason. It is all in the file name. It must be lower-cased, and it cannot have any spaces in it at all. If it does, it will throw everything off.

Now, that part is behind me. I am wondering if these protected files can be streamed on the website somehow for the Level 1 and up members.

I am looking around in s2Member to see if there's something I missed. I am not sure where I can have it to be protected for downloads but also take that protected link and somehow make it streamable for the members who are logged in as 'Level 1' and higher.

~Gary
User avatar
keywordcentrics
Registered User
Registered User
 
Posts: 8
Joined: August 6, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 6th, 2011, 7:32 pm

Hi Jason,

I was missing the configuration s2Member -> Download Options -> Basic Download Restrictions, and got that corrected.

My download link now has

Code: Select all
<a href="http://s3.amazonaws.com/bucket-name/?s2member_file_download=file-to-download.zip" Download This...</a>


Should the path be
Code: Select all
http://s3.amazonaws.com/bucket-name/
or
Code: Select all
http://bucket-name.s3.amazonaws.com/


Either way does not work at this point. I am sending you a dashboard login. Thank you in advance.
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 7th, 2011, 11:57 am

Thanks for the follow-up.
Neither actually. You don't link directly to the files at Amazon. Instead, you need to give s2Member control over the authentication of your file downloads, because only s2Member knows who is allowed and who is not. Your links should look just like the examples provided in your Dashboard:
Code: Select all
http://yourdomain.com/path/to/wordpress/?s2member_file_download=file.zip
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby keywordcentrics » August 7th, 2011, 12:05 pm

I guess there isn't away to stream our protected videos on our site because I haven't heard back.

~Gary
User avatar
keywordcentrics
Registered User
Registered User
 
Posts: 8
Joined: August 6, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 7th, 2011, 12:10 pm

keywordcentrics wrote:I guess there isn't away to stream our protected videos on our site because I haven't heard back.

~Gary

Yes, please see the post I made earlier, regarding JWPlayer:
viewtopic.php?f=4&t=10054&p=30075#p30017
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 8th, 2011, 2:41 am

Ok. I now have a link that uses the format:

Code: Select all
http://yourdomain.com/path/to/wordpress/?s2member_file_download=file.zip


It so happens that my wordpress installation is on the root of the domain.

Now I am getting a different error:

DNS Error


Please advise. Thank you.
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Cristián Lávaque » August 8th, 2011, 3:18 pm

kangenwater wrote:It so happens that my wordpress installation is on the root of the domain.


Then try http://yourdomain.com/?s2member_file_download=file.zip
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 9th, 2011, 1:44 am

Hi Cristian,

That was what I meant - I have:

http://yourdomain.com/?s2member_file_download=file.zip

and I am getting the DNS Error message now. Previously I was getting S3 access denied type messages.

I am not sure if this is progress in the right direction.
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 9th, 2011, 9:05 pm

A DNS error would normally indicate a problem with your domain name. Is the DNS error coming from your browser, from Amazon S3, your hosting company? Please attach a screenshot if you can too. Thanks!
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 10th, 2011, 2:28 am

The DNS error seems to be coming from my ISP? I have cox.net

Here is the screen shot of the error message.

Image
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 10th, 2011, 2:23 pm

Have you tried this from another computer yet?
Please post a link to the file and we'll have a look for you.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 11th, 2011, 12:37 pm

Hi Jason,

I do not have access to another internet source. I tried this on another computer from the same network and had the same problem.

I created a link(s) at this page - http://networkmarketingunderground.com/ ... y-download

Also, I created a Level 1 membership with username="jasoncaldwell" and password="jason@s2member.com"

Thanks.

Adrian
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 15th, 2011, 7:31 pm

Thanks for the follow-up.
I was able to reproduce the error you reported. Very strange, I am redirected to this URL:
Code: Select all
http://http//s3.amazonaws.com/nmunderground/.s3.amazonaws.com/seopower.zip

( notice the double HTTP in the URL, very strange )

What is your Amazon S3 bucket configured as with s2Member?
Can you send us a screenshot of that please?
It should be set to just:
Code: Select all
nmunderground
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby kangenwater » August 15th, 2011, 7:42 pm

I had the S3 bucket as the long string

Code: Select all
http://s3.amazonaws.com/nmunderground/


I changed it to just -

Code: Select all
nmunderground


and now it works.

I knew that there was something wrong - the instructions and examples were not specific enough. Would have been great if there is a video to walk us through the set up.

Thanks.
User avatar
kangenwater
Registered User
Registered User
 
Posts: 8
Joined: July 31, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jason Caldwell » August 15th, 2011, 7:50 pm

Great. I'm glad you got this figured out.
Certainly, I'll see what we can do.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Error with Amazon S3 storage function in Newest Version

Postby multikernel2 » December 21st, 2011, 1:21 pm

Is there an tutorial or video to configure S2member with Amazon S3? I've reviewed all the forum threads and still can't make it work. I think i'm close but i still keep getting the access denied error message:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<RequestId>FC8FF9A78503FE48</RequestId>
<Expires>2011-12-21T18:06:22Z</Expires>
<HostId>
7Fk3uoINXK5cztnUvGMeY06Xu97auDAhvreVlSRFlKwcNxpVpWCIZWix10FdSQSi
</HostId>
<ServerTime>2011-12-21T18:06:26Z</ServerTime>
</Error>

The browser address is like this:
http://mybucket.s3.amazonaws.com/myfile ... WVhD900%3D

Please help
User avatar
multikernel2
Registered User
Registered User
 
Posts: 1
Joined: December 20, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Raam Dev » December 23rd, 2011, 3:16 pm

Hi multikernel2,

There is no Amazon S3 tutorial video yet. Have you double-checked all your Amazon S3 settings? Also, I noticed the message of that error says "Request has expired". Are you testing with an old URL that may have expired?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Error with Amazon S3 storage function in Newest Version

Postby Jordaninperson » December 31st, 2011, 7:50 pm

Hey Guys!

I thought I could add my 2 cents, I spent 6 hours today trying to get this to work... so hopefully my little tip will grant me a pro membership! hehe.

BE SURE your bucketAND your media or links inside your bucket are entirely lowercase with no spaces or special characters. Even if you have (e.g. you+sneaky+mom.jpg), there will be an error message. You must change your file name within S3 (by right clicking) to (e.g. yousneakymom.jpg).

Additionally, on your download option panel in s2Member, under Amazon S3, your bucket name should be ONLY that. Your bucket name. My bucket is called ( cheapochurch ),so that is all that is required in that field.

I hope that helps a couple of you.
User avatar
Jordaninperson
Registered User
Registered User
 
Posts: 4
Joined: December 31, 2011

PreviousNext

Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron