Home › Forums › Community Forum › Error 400 – unable to del Origin Access Iden
Tagged: cloudfront, origin access identity
This topic contains 22 replies, has 4 voices. Last updated by Jason (Lead Developer) 4 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Saturday Apr 14th, 2012 at 4:13 am #10785 | |
|
|
Latest version of S2member pro. When I try to get S3/Cloudfront auto-configure to work, I get this error msg: “Unable to auto-configure Amazon® CloudFront Distributions. Any ideas why this error msg is generated? J |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Saturday Apr 14th, 2012 at 7:33 am #10793 | |
|
|
Hi Tuhin, Are you trying to re-configure? I find it quicker and easier to first go into cloudfront via AWS console then disable and delete the distributions s2member set manually. Then when thats done 15mins approx, go back to your site and try and run auto-configure again, it sometimes take more than one attempt. |
|
Posted: Saturday Apr 14th, 2012 at 1:08 pm #10802 | |
|
|
I’m just trying to do the initial: “Yes, automatically configure my Amazon® CloudFront Distributions & Amazon® S3 ACLs for me. AWS Management Console shows no distributions at all in Cloudfront. And I’ve waited 12+ hours now. I still get the same error. Any ideas?
|
|
Posted: Saturday Apr 14th, 2012 at 1:38 pm #10805 | |
|
|
So this is the first attempt? Have you double checked the private key is correct and you have not used the public one and does your bucket name follow the naming convention |
|
Posted: Saturday Apr 14th, 2012 at 1:51 pm #10806 | |
|
|
Yes and yes. I even cut and pasted them all again (both S3 and Cloudfront settings) to make sure. I even watched the s2member video to make sure I was doing it correctly. I must say that I am puzzled why s2member is finding an origin access identity when there are no cloudfront distributions. |
|
Posted: Saturday Apr 14th, 2012 at 1:58 pm #10807 | |
|
|
Have you tried using a different bucket also don’t forgot to press the refresh button within cloudfront |
|
Posted: Saturday Apr 14th, 2012 at 2:06 pm #10809 | |
|
|
Refresh button in Cloudfront? There are no distributions in Cloudfront. What am I refreshing? I just created a new S3 bucket and changed the associated name in the S2member settings. Same error message. Is there an easy way to see the details of the API transaction between S2member and AWS? |
|
Posted: Sunday Apr 15th, 2012 at 2:55 pm #10848 | |
|
|
Its beyond me so I’ll leave it too a support rep to help. The only other thing I can think of is whether your installation of PHP is compiled with OpenSSL or something like that. Perhaps those links might help while your waiting http://www.primothemes.com/forums/viewtopic.php?f=4&t=15853 http://plugins.svn.wordpress.org/s2member/tags/111206/includes/classes/files-in.inc.php |
|
Posted: Sunday Apr 15th, 2012 at 4:39 pm #10856 | |
|
|
I installed the free version of S2member on localhost (using MAMP), and, using all the same credentials, everything worked perfectly. This suggests that the problem might have something to do with my ISP’s PHP configuration. It’s PHP 5.2.17 compiled with openssl and fopen URLs are turned on — is there anything else I need to look for? |
|
Posted: Sunday Apr 15th, 2012 at 4:52 pm #10861 | |
|
|
with cURL enabled and from what I understand ideally php 5.2.3+ |
|
Posted: Monday Apr 16th, 2012 at 12:38 am #10872 | |
|
|
Curl works great. I guess I’ll find out more when support opens tomorrow. |
|
Posted: Monday Apr 16th, 2012 at 10:25 am #10896 | |
|
|
BUMP- I’m still getting this error message: “Unable to auto-configure Amazon® CloudFront Distributions. Please help out with this…. |
|
Posted: Tuesday Apr 17th, 2012 at 4:27 am #10980 | |
|
|
Hi Tuhin. From what you say, there’s something different between your MAMP and webhost installations. It could be the server, or even WP. Did you install all the same plugins as well? If so, then it’s down to the server. The PHP version is fine, and from what you say the rest is fine too. Was this the video you watched? There could also be a problem with the Amazon account, as experienced before by another member who fixed the problem when the Amazon guys reset his account after all his tests. But it did work for you when using the MAMP server, so that’s probably not it. Here’s an old thread about a 400 error with CloudFront, although the error message is slightly different, please see if helps solve yours: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15853 Please let us know how it goes. :) |
|
Posted: Tuesday Apr 17th, 2012 at 10:05 am #10998 | |
|
|
Yes, I watched that video. But I know that I didn’t make any obvious errors because I used all the same credentials with the non-pro version of s2member on Localhost and it auto-configured fine. Next steps? |
|
Posted: Tuesday Apr 17th, 2012 at 10:18 am #10999 | |
|
|
So you don’t have any plugins installed? |
|
Posted: Tuesday Apr 17th, 2012 at 10:37 am #11001 | |
|
|
I have the latest versions of bbpress and “private blog” installed and activated. Obviously, bbpress is supported. I deactivated “private blog” but it made no difference. |
|
Posted: Tuesday Apr 17th, 2012 at 10:49 am #11002 | |
|
|
What happens when you connect s2member to S3 without using cloudfront? Is that working or are you also getting an error message
|
|
Posted: Tuesday Apr 17th, 2012 at 11:17 am #11005 | |
|
|
S3 works fine. A file like http://mysite.com/?s2member_file_download=somefile.zip redirects to S3 correctly and downloads. |
|
Posted: Tuesday Apr 17th, 2012 at 11:54 am #11008 | |
|
|
Is there a way to see the actual web services calls that s2member is sending to/from Amazon web services? I could hack the code, but surely there is some debug flag and/or logging mechanism (?) |
|
Posted: Tuesday Apr 17th, 2012 at 3:11 pm #11028 | |
|
|
Got it on the video and the plugins. Did you read the other forum thread I linked to? http://www.primothemes.com/forums/viewtopic.php?f=4&t=15853 |
|
Posted: Tuesday Apr 17th, 2012 at 3:29 pm #11029 | |
|
|
Hi Cristian, Yes, I know how to search forums. I am not using multisite. I have no existing Cloudfront distributions. Can you please provide complete details on how to log the back-and-forth between S2member and Amazon web services so I can see what the actual messages look like? Cheers |
|
Posted: Tuesday Apr 17th, 2012 at 9:02 pm #11052 | |
|
|
I emailed Jason to take a look at this thread, he’s the one who’d know about the logging you’re asking. I know you can search the forums, I just didn’t know if you had found/read that thread I linked to. Like this reply, seems important and may have a clue to what’s giving you trouble: http://www.primothemes.com/forums/viewtopic.php?f=4&t=15853#p52876 |
|
Posted: Thursday Apr 19th, 2012 at 8:07 pm #11295 | |
![]() |
|
Thanks for the heads up on this request for a debugging how-to. HTTP responses in WordPress can be logged with an MU plugin file. For example, this will record all HTTP communication, logging it inside /wp-content/debug.log for you. Create this directory and file:
Regarding s2Member’s communication with Amazon® Web Services. s2Member returns quite a bit of detail in it’s error reporting mechanishm within the Dashboard. However, if you’d like to dig deeper into the routines that s2Member implements, you might find it helpful to have a peek at this source file: /s2member/includes/classes/files-in.inc.php Methods in this PHP class file, are also documented here: |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.