Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ember eb:provision Unable to download from S3 location (301) #5

Closed
xn opened this issue May 26, 2016 · 1 comment
Closed

ember eb:provision Unable to download from S3 location (301) #5

xn opened this issue May 26, 2016 · 1 comment

Comments

@xn
Copy link

xn commented May 26, 2016

I'm getting a 301 in trying to provision.
Error:

Creating Elastic Beanstalk application version
Unable to download from S3 location (Bucket: fastboot-aws  Key: fastboot-aws-latest.zip). Reason: Moved Permanently
InvalidParameterCombination: Unable to download from S3 location (Bucket: fastboot-aws  Key: fastboot-aws-latest.zip). Reason: Moved Permanently
    at Request.extractError (/Users/xn/sites/thing/node_modules/aws-sdk/lib/protocol/query.js:40:29)
    at Request.callListeners (/Users/xn/sites/thing/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
    at Request.emit (/Users/xn/sites/thing/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:615:14)
    at Request.transition (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/Users/xn/sites/thing/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/xn/sites/thing/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:617:12)
    at Request.callListeners (/Users/xn/sites/thing/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
    at Request.emit (/Users/xn/sites/thing/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:615:14)
    at Request.transition (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/Users/xn/sites/thing/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/xn/sites/thing/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/xn/sites/thing/node_modules/aws-sdk/lib/request.js:38:9)

deploy.js

    ENV['elastic-beanstalk'] = {
      bucket: process.env.STAGING_BUCKET
    }
    ENV.s3 = {
      accessKeyId: process.env.AWS_KEY,
      secretAccessKey: process.env.AWS_SECRET,
      bucket: process.env.STAGING_BUCKET,
      region: process.env.STAGING_REGION
    }

Maybe the s3 url is mangled?

@xn
Copy link
Author

xn commented May 27, 2016

This was because there were multiple dependency issues. At some point I'll create a PR with some solid documentation.

@xn xn closed this as completed May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant