Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on getting git setup for my application on Elastic Beanstalk. I've been following the instructions provided by amazon. After pushing the changes I get this error

git aws.push

error: The requested URL returned error: 403 while accessing https://<Access Key Removed>
fatal: HTTP request failed

Here's my .config file

git config -l

credential.helper=osxkeychain xxxxxxxxxx
core.ignorecase=true!.git/AWSDevTools/aws.elasticbeanstalk.push --remote-url!.git/AWSDevTools/aws.elasticbeanstalk.push!.git/AWSDevTools/aws.elasticbeanstalk.config!git aws.elasticbeanstalk.push!git aws.elasticbeanstalk.config

Thanks for your help. Please let me know if I can provide you with additional info. I don't really know what else to check or do. Thanks again.

share|improve this question
HTTP 403? I would check that the account that you're using has proper permissions. Are you using a set of keys from an IAM account? If so, double check that you have the correct permissions (or policy) associated with the account. – jamieb Jan 18 '13 at 14:59
Where would I check the permissions? I'm not using IAM keys, in the documentation there's a link to the "Access Credentials". I followed that link and got the Key and Secret Key from there.… – TimSum Jan 18 '13 at 16:34
Yes, the main account keys will give you full access (or should, anyhow). I'm not really sure how to help. Have you tried posting in the AWS support forums? This might need the attention of AWS staff to resolve. – jamieb Jan 18 '13 at 17:50
Yeah... I posted there. Haven't heard anything yet... – TimSum Jan 18 '13 at 18:38
up vote 0 down vote accepted

The problem was that I didn't have the HTTPS (443) port open in my Security Group. Working like a dream now that that's adjusted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.