Page 2 of 3

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 12:29 pm
by Jason Caldwell
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.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 12:36 pm
by keywordcentrics
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 12:43 pm
by Jason Caldwell
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/

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 1:12 pm
by keywordcentrics
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 1:19 pm
by Cristián Lávaque
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. :)

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 1:22 pm
by keywordcentrics
Thank you very much.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 1:28 pm
by Jason Caldwell
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?

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 1:57 pm
by keywordcentrics
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 6th, 2011, 7:32 pm
by kangenwater
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.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 7th, 2011, 11:57 am
by Jason Caldwell
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 7th, 2011, 12:05 pm
by keywordcentrics
I guess there isn't away to stream our protected videos on our site because I haven't heard back.

~Gary

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 7th, 2011, 12:10 pm
by Jason Caldwell
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 8th, 2011, 2:41 am
by kangenwater
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.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 8th, 2011, 3:18 pm
by Cristián Lávaque
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 9th, 2011, 1:44 am
by kangenwater
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.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 9th, 2011, 9:05 pm
by Jason Caldwell
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!

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 10th, 2011, 2:28 am
by kangenwater
The DNS error seems to be coming from my ISP? I have cox.net

Here is the screen shot of the error message.

Image

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 10th, 2011, 2:23 pm
by Jason Caldwell
Have you tried this from another computer yet?
Please post a link to the file and we'll have a look for you.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 11th, 2011, 12:37 pm
by kangenwater
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 15th, 2011, 7:31 pm
by Jason Caldwell
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 15th, 2011, 7:42 pm
by kangenwater
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.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: August 15th, 2011, 7:50 pm
by Jason Caldwell
Great. I'm glad you got this figured out.
Certainly, I'll see what we can do.

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: December 21st, 2011, 1:21 pm
by multikernel2
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

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: December 23rd, 2011, 3:16 pm
by Raam Dev
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?

Re: Error with Amazon S3 storage function in Newest Version

PostPosted: December 31st, 2011, 7:50 pm
by Jordaninperson
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.