Home › Forums › Community Forum › Error 400
This topic contains 32 replies, has 6 voices. Last updated by Cristián Lávaque 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Feb 8th, 2012 at 12:22 pm #4478 | |
|
|
Hi, “Unable to auto-configure Amazon® CloudFront Distributions. I tried everything I found in this forum… without success… The Amazone S3 Bucket name is just the bucket, without http or the amazon domain stuff, right? Sorry… I am new in this amazon s3 stuff…. |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Feb 14th, 2012 at 12:52 am #5005 | |
|
|
Well… amazon S3 is working…. but the auto configuration for the cloud front still fails. |
|
Posted: Tuesday Feb 14th, 2012 at 12:31 pm #5043 | |
|
|
You might want to double check that the spelling of your bucket on S3 matches what you have entered in the fields for Cloudfront/S3 config within s2member. I had problems similar to this and realized that my bucket wasn’t named exactly the same as what I entered in the configuration. There was a slight mispelling on my bucket name. Not sure if that helps.. |
|
Posted: Wednesday Feb 15th, 2012 at 3:43 am #5206 | |
|
|
thanx for your advice, luisrosario! is there anything I have to setup in my amazon configuration to prepare cloud front for connecting with s2member? maybe I missed something…. Greetings |
|
Posted: Wednesday Feb 15th, 2012 at 8:15 am #5221 | |
![]() |
|
Hi Bendix, thanks for your inquiry. What version of Apache do you have in your server? |
|
Posted: Wednesday Feb 15th, 2012 at 9:24 am #5223 | |
|
|
Hey Eduán, thx for your post. Server version: Apache/2.2.16 (Debian) s2Member Version 120213 + s2Member Pro v120213 greetings |
|
Posted: Thursday Feb 16th, 2012 at 2:51 am #5324 | |
|
|
Hi Bendix. Could you double check that you copied your CloudFront Key Pair ID and Private Key exactly? And did you enable Auto-Configure? [hilite path]WP Admin -> s2Member -> Downloads Options -> Amazon S3/CloudFront[/hilite] Remember to click the “Save All Changes” button at the bottom after any changes for them to be applied. |
|
Posted: Thursday Feb 16th, 2012 at 3:04 am #5328 | |
|
|
Hi Christiàn, I already tried 10 times, with different key pairs :( Auto config is enabled before clicking the save all button. The options are savable when unchecking both checkboxes with entered key pair ID and private key. Is there a way to use the cloud front setup without auto configuration? |
|
Posted: Friday Feb 17th, 2012 at 2:11 am #5459 | |
|
|
Got it. Could you check out this thread and see if you find something there that helps you with this? http://www.primothemes.com/forums/viewtopic.php?f=4&t=15853 Also, what version of s2Member are you using? |
|
Posted: Friday Feb 17th, 2012 at 3:10 am #5469 | |
|
|
After more investigating I realized that I am getting the html fallback and not the rtmp stream.. I had some wrong code inserted and the player fell back to html and i was still able to play the video. Below is the current output of the code that i copied from the page source, it seems the rtmp url is not generating properly??? .. With this current code, I’m now getting stream not found, any thoughts?: /* First try real-time streaming with Flash® player. */ /* Else, try an HTML5 video tag. */ /* Else, this is a safe fallback. */
|
|
Posted: Monday Feb 20th, 2012 at 9:15 am #5686 | |
|
|
Thx for your replys! I am using just a single site installation. I tried everything I found. Is there a chance somebody tries to setup auto-config using another amazon s3 source? On this way we may find out, if this is a problem of my wordpress installation or maybe my amazon s3 cloud front. what do you think? |
|
Posted: Tuesday Feb 21st, 2012 at 1:50 am #5832 | |
|
|
Jason posted a new video where he talks about the Amazon integration. Maybe it helps you find what’s wrong? [video playlist="BD496E5F2CCAB12A" width="663" height="400" start="0" show_etag="yes" /]
|
|
Posted: Tuesday Feb 21st, 2012 at 2:30 am #5833 | |
|
|
Hey Christian, thx. I was watching the new video yesterday. Congratulations for your great support and these tons of videos you made :) It is amazing that you all can share this great support while developing s2member at the same time. But for me, this could not solve my problem :( Looks like a server configuration is wrong or it has to do with being in germany… don’t know… greetings |
|
Posted: Thursday Feb 23rd, 2012 at 3:40 am #6086 | |
![]() |
|
Hi there. Thanks for the follow-up.
Sorry. I’m not sure what you mean. Can you please elaborate just a bit further? |
|
Posted: Thursday Feb 23rd, 2012 at 3:55 am #6092 | |
|
|
Oh sorry :) This is my php info file: maybe you can share your ideal php configuration. this might be a way for me to find out differences… |
|
Posted: Friday Feb 24th, 2012 at 6:47 pm #6354 | |
|
|
Does this article help? http://www.s2member.com/forums/topic/ideal-server-configuration-for-s2member/ |
|
Posted: Monday Feb 27th, 2012 at 10:09 pm #6619 | |
![]() |
|
Hi Bendix. Yes, this article talks about the ideal server configuration for s2Member. I took a quick look at your PHP configuration, that looks good. If you continue to have trouble, please post a copy of your .htaccess file also, and/or any other Apache configuration options you’re running. |
|
Posted: Thursday Mar 1st, 2012 at 2:04 pm #6912 | |
|
|
I’ve read many threads that tries to deal with this 400 error – and tried everything I can think of. On a clean install, I try to set up CloudFront and also get the following error: Unable to auto-configure Amazon® CloudFront Distributions. I’ve triple checked the keys – copied directly without additional spaces. I still get this error. Jason, since you’ve asked another member, here is my htaccess file: RewriteEngine On # END s2Member GZIP exclusions # BEGIN WordPress RewriteEngine On # END WordPress Any additional help would be greatly appreciated as we can not use S2 without this working. |
|
Posted: Friday Mar 2nd, 2012 at 2:24 am #7011 | |
|
|
Hi Mark. Have you watched Jason’s videos on Amazon’s integration? Video » s2Member® File Downloads (Amazon S3/CloudFront/JW Player) |
|
Posted: Friday Mar 2nd, 2012 at 12:27 pm #7084 | |
|
|
I absolutely have watched the videos (great to have) – and followed it exactly. And I get that error – just as others have. On a side note, one thing that it doesn’t mention is that if you haven’t entered in default download limits the video will not be displayed. I figured that one out after a bit, and at least now shows the window. But when you click play, it can’t find the video the download link works – but it’s using the S3 link rather than the CloudFront one. The steps are rather simple: copy and paste the S3 settings, copy and paste the CloudFront settings, click the checkbox to auto-configure. That’s it. When that fails, it leaves us with a very frustrating “what next” feeling.
|
|
Posted: Friday Mar 2nd, 2012 at 4:29 pm #7099 | |
|
|
Right, I can understand you’d feel like that. I’ll mention your observation on default download limits to Jason. So you followed every instruction and it doesn’t work? Could you please post the code your using for the player? |
|
Posted: Tuesday Mar 6th, 2012 at 10:25 am #7451 | |
|
|
Sure thing. Here is the code from the player page:
Depending on the settings, it will display:
The link works just fine (it references http://www.thenewtyt.com/?s2member_file_download=/video.mp4 – which does download). The JW javascript can be directly accessed just fine by going to: However, the jw-container DIV tag is of course no where references (there is no CSS file that it references). Where is that suppose to come since we manually installed the JW player per your instructions? When I did finally get the video window to display, when you click START it errors saying the video cannot be found. |
|
Posted: Thursday Mar 8th, 2012 at 4:00 pm #7649 | |
![]() |
|
Thanks for the follow-up. I tested your code sample in our lab and it’s working properly. Have you tried this on a clean installation of WordPress, with no other plugins except s2Member, and using the default theme for WordPress? Here are some other things that come to mind: 1. Perhaps the code is being mangled by the WordPress editor, or by your theme? Right-click on the page and choose “View Source”. Please post a copy of the resulting HTML produced by the code snippet you posted earlier. This may shed light on the issue. 2. Are you running s2Member v120301 or higher? You’ll need s2Member v120301 or newer for that code sample to work properly. s2Member v120301 introduced a bug fix related to the storage parameter. See: s2Member® Unified Changelog » v120301 |
|
Posted: Thursday Mar 8th, 2012 at 4:53 pm #7655 | |
|
|
Hi Jason! OK – backed up WP, installed new clean install, but I left the database intact. That might have been a mistake though, as after I installed S2member again as the only plugin using the generic theme, I got the same exact error:
I can try it again, this time with a new database. |
|
Posted: Thursday Mar 8th, 2012 at 5:03 pm #7657 | |
|
|
Nope. new install – new database. Same exact issue. I added the S3 bucket no problem – but the CloudFront fails with the same exact error on a new install/new database. Now what? Also, we’re running the most recent version as this is a brand new install (and we’ve never used the system before). I’ll supply the admin U/N P/W on the form. |
|
Posted: Friday Mar 9th, 2012 at 5:19 am #7706 | |
|
|
Hey Mark, where are you from ? I am in Europe – Germany |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.