Home › Forums › Community Forum › Amazon s3 issues
This topic contains 30 replies, has 3 voices. Last updated by Bruce 3 years, 6 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Jun 21st, 2013 at 6:31 am #52322 | |
|
|
Hello, I just decided to put my protected videos on Amazon S3 + cloudfront. Here is the code I’m using:
So it can show up one time, then after refresh it will show the empty space. Then again after a few refresh, it could show the video again… Just to add that IF the video is showing up, then there are no issues with the streaming. Hope you could help! Thanks in advance! |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Friday Jun 21st, 2013 at 7:09 am #52329 | |
|
|
Thank you for reporting this important issue.I’d recommend turning on logging on your installation, and see if there is something causing a connection failure in your HTTP logs. See: Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration This isn’t something I’d heard of before, you might also check for JavaScript errors on the page that you’re using JW Player on by opening your browser’s console (f12 on most browsers). |
|
Posted: Friday Jun 21st, 2013 at 7:36 am #52333 | |
|
|
Hi Bruce, Thank you for your reply. Thanks again! |
|
Posted: Friday Jun 21st, 2013 at 11:09 pm #52357 | |
|
|
Thanks for the info. What you’re looking for is any 50* or 40* responses from Amazon’s connections. I’d be happy to take a quick look at what you’re getting back. Could you send that info here: s2Member® » Private Contact Form Let us know when you’ve done that so we can review it. |
|
Posted: Saturday Jun 22nd, 2013 at 4:58 am #52372 | |
|
|
Hello, Thanks a lot! I sent my credentials. You can find the issue on this post: http://www.tourdecartes.com/archives/16119 Best regards, |
|
Posted: Saturday Jun 22nd, 2013 at 11:43 pm #52404 | |
|
|
Thanks, got the email. I only see the YouTube player, not the JW Player, not even an empty space, although it’s there in the source code. I tried changing the post a bit and preview it, but no change is shown (probably a cache thing), so it’s hard for me to tell what’s preventing the player from being displayed. Could you please try all these? Knowledge Base » Common Troubleshooting Tips |
|
Posted: Sunday Jun 23rd, 2013 at 9:27 am #52438 | |
|
|
Hello, To see the JW player you will need to toggle down the “Resolution” window (by clicking on it). |
|
Posted: Monday Jun 24th, 2013 at 8:13 am #52458 | |
|
|
Hello again, Since I cannot troubleshoot properly the issue (I cannot disable all plugins, ect), I tried to set up Amazon again… Now I receive the error message: I followed the steps written here: http://www.s2member.com/kb/reset-the-amazon-s3-cloudfront-integration/ I would really appreciate help on this issue cause I need to put my tutorials on S3 asap for security reasons. |
|
Posted: Monday Jun 24th, 2013 at 6:34 pm #52474 | |
|
|
Sorry to hear that. Your error is coming from your CloudFront integration. Were you able to set up just Amazon s3 by itself okay? Try just integrating with your Bucket without CloudFront and see if you can download files reliably that way. I’m thinking perhaps it’s your server’s connections through CloudFront that’s causing your issues. |
|
Posted: Tuesday Jun 25th, 2013 at 4:24 pm #52552 | |
|
|
Hello, Thanks for your answer. |
|
Posted: Tuesday Jun 25th, 2013 at 4:37 pm #52553 | |
|
|
BTW I deleted the “crossdomain.xml” along with my previous bucket. Maybe that part of the issue? |
|
Posted: Tuesday Jun 25th, 2013 at 11:16 pm #52577 | |
|
|
I see. So the issue is probably not with CloudFront then, but just the connection to Amazon overall. Is it okay for me to run a few tests and check out your logs while you don’t have CloudFront set up? |
|
Posted: Wednesday Jun 26th, 2013 at 4:50 am #52583 | |
|
|
Please do :) |
|
Posted: Wednesday Jun 26th, 2013 at 4:54 am #52584 | |
|
|
Thanks.
I have the details you sent still. I’m going to take a look now. I’m not sure if I’m going to be able to find anything specific here, but I should be able to rule out any obvious stuff. If I can’t find the problem looking through your logs you’re going to have to ask your hosting company about why your connections to Amazon might be failing. I set up an S3 Bucket earlier today to test this out again, and it worked perfectly when I set it up so it doesn’t look like this is a widespread issue. Just a heads up: I’m also going to briefly install the s2Member® Server Scanner to see if that yields any information on why this might be happening. I’ll do this after I look at your logs, so let me know if there’s a problem with my doing that. :-) |
|
Posted: Wednesday Jun 26th, 2013 at 5:00 am #52585 | |
|
|
Hi, Not at all, please do what you need. I really needs this to work to start taking off youtube videos from my site. Thanks again!! |
|
Posted: Wednesday Jun 26th, 2013 at 5:11 am #52586 | |
|
|
Alright, thanks for your patience. I’m looking at your logs and it looks like when the video fails, it fails before a request for the video is ever made. Looking through the forums for JW Player, it looks like this is usually caused by a conflict with other things on your site, or invalid HTML around the player. I’m going to run the server scanner now and take a look at that before we move forward. |
|
Posted: Wednesday Jun 26th, 2013 at 5:14 am #52587 | |
|
|
Sorry, I’m attempting to connect via FTP and the credentials you gave me aren’t working. I’m failing to connect to the server with these credentials. Is there something else I need to do to connect, or can you send us the correct credentials? |
|
Posted: Wednesday Jun 26th, 2013 at 5:21 am #52588 | |
|
|
Hi I resubmitted my infos. Normally it should work now. |
|
Posted: Wednesday Jun 26th, 2013 at 5:22 am #52589 | |
|
|
Perfect, thanks! |
|
Posted: Wednesday Jun 26th, 2013 at 5:35 am #52590 | |
|
|
Okay, thanks for your patience. I ran the Server Scanner, all greens except for your memory which is just showing a Warning. You might consider upping your Memory (you can do that automatically if you run the scanner yourself here: s2Member® Server Scanner). At this point I’m thinking this likely has something to do with a conflict from another plugin/your theme that’s causing an error with JW Player. I’m going to have to ask you to put your site into a Maintenance Mode, like with this plugin, and disable all plugins except s2Member, and revert to a default WordPress theme to see if you can get JW Player to load up correctly that way. If that’s still not working, then it has to be something to do with your server’s connection to Amazon. Try that, then if you still can’t get it to work, contact your server provider and ask them what might be happening. It looks to me like you have s2Member set up correctly, and I can’t find any fault past that. I’m very sorry for the inconvenience and the time this has taken. |
|
Posted: Wednesday Jun 26th, 2013 at 5:50 am #52593 | |
|
|
If I turn off all plugins, Im talking the risk to lose some important data… And same goes with the theme, I might lose all my settings.. Is that right? |
|
Posted: Wednesday Jun 26th, 2013 at 5:52 am #52594 | |
|
|
Hm, I don’t think you would. You might consider backing up your site before you do so, though. This article that Cristian linked earlier goes over some of the best ways to debug your site for things like this. I’d strongly recommend reading this to find your issue here: |
|
Posted: Wednesday Jun 26th, 2013 at 5:53 am #52595 | |
|
|
Ok, I’ll do that and get back to you once done. Thanks a lot for the help :) |
|
Posted: Wednesday Jun 26th, 2013 at 9:03 am #52607 | |
|
|
Hello, I did troubleshoot it and apparently my theme was preventing the JW player to load properly. I tried creating a new bucket and cut/pasting all my files in the new bucket, then changed the name of the bucket in S2M but it still didn’t work. I don’t believe that it’s coming from a plugin because I turned everything off and it still had the same issue. It started happening once I tried to reset the integration. It didn’t happened at all the first time I set up amazon + cloudfront. Any idea? |
|
Posted: Thursday Jun 27th, 2013 at 2:59 am #52644 | |
|
|
Sorry about the delay in response.
Yes I agree this is probably not a problem with plugins. I’m glad to hear that you found the source of issue, now you’ll have to figure out what part of your theme is causing this. I’d contact your theme developer about it. As for your Amazon integration, I took another look at your integration, and it looks like you still have your Cloudfront information input here: Dashboard -› s2Member® -› Download Options -› Amazon® S3/CloudFront CDN Storage Did you fix the issue or is that an accident? That could be causing your issue. |
|
Posted: Thursday Jun 27th, 2013 at 3:47 am #52659 | |
|
|
Hello, I managed to fix the S3 issue. I then tried to add cloudfront but I got a error 400. Cloudfront still cannot integrate. Is there a way to reset my cloudfront straight on amazon? Regarding the displaying of JW player, the theme developers told me to add “.fluid-width-video-wrapper { position: static !important; }” in my css file. It does fix the JW player issue but then create a pb with all my youtube videos embedded on the site. – I know it’s not because of S2member but maybe you have an idea on how to fix that… |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.