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.

About: Ira Feldman

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 5 topics - 1 through 5 (of 5 total)
Topic Count Last Reply
s2stream local storage

By:  Ira Feldman in: Community Forum

voices: 3
replies: 10

3 years, 8 months ago  Cristián Lávaque

Double Problems – CDN

By:  Ira Feldman in: Community Forum

voices: 2
replies: 2

3 years, 9 months ago  Ira Feldman

S3 CDN Getting Started

By:  Ira Feldman in: Community Forum

voices: 3
replies: 10

3 years, 9 months ago  Ira Feldman

s2Stream short code URL problem?

By:  Ira Feldman in: Community Forum

voices: 3
replies: 11

3 years, 9 months ago  Jason (Lead Developer)

Securing Videos

By:  Ira Feldman in: Community Forum

voices: 3
replies: 5

3 years, 9 months ago  Cristián Lávaque

Viewing 5 topics - 1 through 5 (of 5 total)

Topics I've Started

Viewing 5 topics - 1 through 5 (of 5 total)
Topic Count Last Reply
s2stream local storage

By:  Ira Feldman in: Community Forum

voices: 3
replies: 10

3 years, 8 months ago  Cristián Lávaque

Double Problems – CDN

By:  Ira Feldman in: Community Forum

voices: 2
replies: 2

3 years, 9 months ago  Ira Feldman

S3 CDN Getting Started

By:  Ira Feldman in: Community Forum

voices: 3
replies: 10

3 years, 9 months ago  Ira Feldman

s2Stream short code URL problem?

By:  Ira Feldman in: Community Forum

voices: 3
replies: 11

3 years, 9 months ago  Jason (Lead Developer)

Securing Videos

By:  Ira Feldman in: Community Forum

voices: 3
replies: 5

3 years, 9 months ago  Cristián Lávaque

Viewing 5 topics - 1 through 5 (of 5 total)

My Latest Replies (From Various Topics)

Viewing 19 replies - 1 through 19 (of 19 total)
Author Replies
Author Replies
Posted: Saturday Apr 27th, 2013 at 6:18 pm #48595
Ira Feldman
Username: iradave

Hi Jason & Cristian,

Removing the MultiViews did the trick. Now, I can serve up media from both S3/CloudFront and from my local server.

Thanks,

Ira

Posted: Friday Apr 26th, 2013 at 12:01 am #48418
Ira Feldman
Username: iradave

Hi Cristian,

They referred me to the error message (in my original post) about MultiViews (whatever they are) are not allowed in the .htaccess file. I’m using whatever was installed by s2member. What are MultiViews? How do we check that it is correct?

Thanks,

Ira

Posted: Wednesday Apr 24th, 2013 at 4:25 pm #48307
Ira Feldman
Username: iradave

Hi Cristian,

Ah, got it now as to why it “worked” for you. I’ve sent you log in info via the Private Contact form.

The file video.mp4 is NOT in my S3 bucket since I want to serve it from my normal server and not S3. (Actually it is a much larger video file but this in one is a stand in for testing.) As mentioned above, the file video.mp4 is in /wp-content/plugins/s2member-files. This is where I would like to serve a file from.

Here is a draft post that I am trying to use the code in
http://www.bitsworkshop.org/premium/wp-admin/post.php?post=641&action=edit

Almost all of my other posts, have a video being delivered via S3/CloudFront.

Thanks,

Ira

Posted: Tuesday Apr 23rd, 2013 at 9:35 am #48192
Ira Feldman
Username: iradave

Hi Cristian,

Your reply doesn’t make sense on a few levels. Hopefully you will be able to help me figure out what is going on..

1. You shouldn’t be able to view the file since you haven’t logged in. (I didn’t see you having registered as a free account.)
2. When I try the non-rewritten URL above – and I’m not logged in, I receive the page that requests I register (as expected).
3. When I try the non-rewritten URL above and I’m logged in, it generates a Cloud Front request that results in this XML error file

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
< Code>NoSuchKey</ Code>
<Message>The specified key does not exist.</Message>
<Key>video.mp4</Key>
<RequestId>EC6C6B99D12B2BEF</RequestId>
<HostId>
fXAmb8d31vk5WIf/So7H41gZtSzSgEOAwU7anPSLznMHmaz4cxk5bXLtYgX8/7jS
</HostId>
</Error>

4. The httaccess I am using is the one supplied by S2member and it appears to do all the other rewrites correctly.

Would you kindly reverify your answer above?

Thank you,

Ira

Posted: Friday Apr 5th, 2013 at 10:45 am #46709
Ira Feldman
Username: iradave

Hi Jason & Bruce,

Thanks for the follow-up on the linked item. I just updated to v130404 and it looks like the problem has gone away.

Thanks,

Ira

Posted: Friday Apr 5th, 2013 at 10:42 am #46708
Ira Feldman
Username: iradave

Hi Jason,

Thanks for the follow-up. I just updated to v130404 and it looks like the problem has gone away.

Thanks,

Ira

Posted: Saturday Mar 30th, 2013 at 1:22 pm #46149
Ira Feldman
Username: iradave

Hi Jason,

On a hunch, I tried removing the patch you provided in http://www.s2member.com/forums/topic/s2stream-short-code-url-problem/. My S3 now appears to be working correctly. (Of course now I will have a problem with the shortcode…) Perhaps, in fixing the shortcode problem the call to S3 got broken?

Would you kindly check into this ASAP? I really need to get things working and it is taking far too long to sort through these issues.

Thanks,

Ira

Posted: Friday Mar 29th, 2013 at 10:45 am #46063
Ira Feldman
Username: iradave

Hi Jason & Cristian –

I figured out how to turn on logging on S3. So, looking into the logs here is what I see:

"-" "Bucket Explorer" -
39f82f3961cdb3abd03419f709c2fb348a7fca8e292012d36112ab35becd31fa iratest [29/Mar/2013:06:28:36 +0000] 75.XX.XX.XX 39f82f3961cdb3abd03419f709c2fb348a7fca8e292012d36112ab35becd31fa 4730DE52C4E5B504 REST.GET.OBJECT doof.png "GET /doof.png?AWSAccessKeyId=AKIAJANGYGY62F2G6JWA&Expires=1364799569&Signature=oETy3teoXNthFs2uG%2BcrGmTqkhc%3D HTTP/1.1" 200 - 114318 114318 17 14 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22" -

39f82f3961cdb3abd03419f709c2fb348a7fca8e292012d36112ab35becd31fa iratest [29/Mar/2013:06:28:38 +0000] 75.XX.XX.XX - D459C46B92C87F83 REST.GET.OBJECT favicon.ico "GET /favicon.ico HTTP/1.1" 403 AccessDenied 231 - 11 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22" -

39f82f3961cdb3abd03419f709c2fb348a7fca8e292012d36112ab35becd31fa iratest [29/Mar/2013:06:29:23 +0000] 75.XX.XX.XX 39f82f3961cdb3abd03419f709c2fb348a7fca8e292012d36112ab35becd31fa D72F0729EF534CAC 
REST.GET.BUCKET - "GET /?response-cache-control=no-cache%2C+must-revalidate%2C+max-age%3D0%2C+post-check%3D0%2C+pre-check%3D0&response-content-disposition=attachment%3B+filename%3D%22copyright.png%22&response-content-type=image%2Fpng&response-expires=Fri%2C+22+Mar+2013+06%3A28%3A39+GMT&AWSAccessKeyId=AKIAJANGYGY62F2G6JWA&Expires=1364624919&Signature=5JgSLSIFdcuU6p7RuF%2BUmbl6KPI%3D HTTP/1.1" 200 - 3412 - 227 226 "http://www.bitsworkshop.org/wordpress/2013/02/28/session-6-and-at-the-wafer-level-2/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22" -

(New lines added for readability, IP Address redacted & I *WILL* change my AccessKeys when we are done debugging.)

The first access for doof.png was using a URL generated by Bucket Explorer. (I added a second item with the name doof.png to make it easy to find.)
The middle item appear something random.
The third item is using http://www.MYDOMAIN.org/wordpress/?s2member_file_download=/copyright.png via WordPress / s2Member.

Three items that stand out right off the bat on the s2member access:
1. It is a REST.GET.BUCKET instead of REST.GET.OBJECT like the first one.
2. The file name is not at the beginning of “GET /” but is a parameter buried unlike “GET /doof.png”
3. Whatever response-requires is it expired a week ago (3/22) instead of today (3/29). (I did these tests last night.

How do we track this down on the s2member side?

Thanks,

Ira

PS: Jason, I have the patch you provided in http://www.s2member.com/forums/topic/s2stream-short-code-url-problem/ in place right now. I don’t know if you test this issue with the patch or the “regular” code.

Posted: Friday Mar 29th, 2013 at 12:47 am #46026
Ira Feldman
Username: iradave

Hi Jason,

Via BucketExplorer (www.bucketexplorer.com), I was able to generate this signed URL

http://iratest.s3.amazonaws.com/copyright.png?AWSAccessKeyId=AKIAJANGYGY62F2G6JWA&Expires=1364540393&Signature=o4jDUzWknhf39zkCzXa4Qi6ETs8%3D

which worked just fine. So, I suspect there may be an issue with s2member and how it is generated a signed URL or doing a mod_rewrite.

How do we sort this out?

Thanks,

Ira

Posted: Friday Mar 29th, 2013 at 12:17 am #46024
Ira Feldman
Username: iradave

Hi Jason,

I just double checked. My bucket is not readable and I have removed all policies. Only access granted is to me. And the link http://iratest.s3.amazonaws.com/copyright.png results in Access Denied. (As noted above.)

Is there a way to see the URL that s2member is generating either from s2member or in a log somewhere? I’m afraid if I can get support from AWS (without being a paid support user) they will simply say we are generating the authenticated URL wrong.

Thanks,

Ira

Posted: Wednesday Mar 27th, 2013 at 10:02 pm #45943
Ira Feldman
Username: iradave

Hi Cristian,

I tried the wipe of the Amazon integration per the hack provide. Reset fine. And then I did the reset of only the S3 portion. (I didn’t do the CloudfFront portion.) I still get the same error XML. For yucks, I checked it on Firefox (same thing) and on Safari (same thing but no pretty XML formatting).

What’s next? How do we get to the bottom of this quickly? Does Jason want to login to my site or is there a log file that might tell us (either on s2member or Amazon)?

Thanks,

Ira

Posted: Wednesday Mar 27th, 2013 at 9:46 pm #45935
Ira Feldman
Username: iradave

Hi Cristian,

The XML file is an error message say “access denied”. I will try the wipe right now but creating a new bucket should have the same effect.

Yes, kindly ask Jason ASAP. I’m really falling behind in getting this working so any help would be great.

Thanks!

Ira

Posted: Wednesday Mar 27th, 2013 at 1:28 am #45846
Ira Feldman
Username: iradave

Bruce,

Thanks. I understand the use of conditionals which help restrict who can get to it in the first place.

And thanks for the update on not being able to hide the URL. So this points to Amazon Cloudfront as the way to go then… I’d suggest an enhancement request for either obscuring the URL further or perhaps a one time URL if the player can’t be called without one visible…

Thanks,

Ira

Posted: Tuesday Mar 26th, 2013 at 11:00 am #45784
Ira Feldman
Username: iradave

Hi Cristian,

Thank you for the clarification on the download key, I was confused about the functionality there.

s2member does control access to the file depending on if the member is logged in at the right level. What I would like to prevent is to keep the MEMBER who can view the video via JW Player from downloading the file itself. I realize that this may not be 100% achievable. However, I would prefer it to not be so easy as to grab the URL from the page source which is currently the case.

Yes, Amazon may be an option which I am researching further. But is there a simple way of hiding the URL of the source file as a starter? Or is there a way to make the video (in the file) unplayable after a certain time?

Thanks,

Ira

Posted: Saturday Mar 16th, 2013 at 12:29 am #44886
Ira Feldman
Username: iradave

Jason – Many thanks! I will give it a go shortly (over the weekend). I’m assuming it is fixed and will only reply if it doesn’t work or I find something else. Thanks again!

Posted: Friday Mar 8th, 2013 at 1:15 pm #44103
Ira Feldman
Username: iradave

Cristian,

Without the short code, what is the correct “long code” to call the JW Player? I didn’t see that anywhere in the documentation.

Thanks,

Ira

Posted: Friday Mar 8th, 2013 at 1:02 pm #44097
Ira Feldman
Username: iradave

Hi Cristian,

I’m fairly confident that the PHP/html code will work fine once the %2F is corrected. (The URL alone works fine.) What I need is a workaround so I can simply generate the correct code in my WordPress pages without writing all the PHP to load the player completely from scratch. I have almost 40 video files that I need to post.

Thanks,

Ira

Posted: Thursday Mar 7th, 2013 at 11:49 am #43967
Ira Feldman
Username: iradave

Cristian,

Thanks! Any feedback yet? I still need a work around (other than not protecting specific files by membership level).

Thanks,

Ira

Posted: Friday Mar 1st, 2013 at 6:33 pm #43539
Ira Feldman
Username: iradave

Oh and for clarity sakes accessing a PDF in the access-s2member-level1 directory works fine like this:

http://www.DOMAINNAME.org/wordpress/wp-content/plugins/s2member-files/s2member-file-stream-no/s2member-file-inline/access-s2member-level1/pool.pdf

I just can’t get the video to play – so I suspect it is the rewrite of the video URL.

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

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.