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

sls dynamodb install failing to download #80

Closed
huseyin-caglayan-cko opened this issue Mar 6, 2023 · 1 comment
Closed

sls dynamodb install failing to download #80

huseyin-caglayan-cko opened this issue Mar 6, 2023 · 1 comment

Comments

@huseyin-caglayan-cko
Copy link

Actual Behaviour

When I run
sls dynamodb install

it fails with the errors below:
Error: Error getting DynamoDb local latest tar.gz location undefined: 403
image

The AWS page and the corresponding S3 buckets that provide the local versions of DynamoDB seem to be working under https only.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html

It appears that serverless-dynamodb-local used to download the tar.gz file over http and that worked for a long time. But it appears that the security on the s3 bucket for local DynamoDbs have been tightened and only https is supported. This happened in early March 2023.

A fix to this would involve modifying the download link to https protocol and also ensuring that https works in installer.js

image

Expected Behaviour

Expect the latest local DynamoDB tar.gz file to download and be unzipped locally.

Steps to reproduce it

Run
sls dynamodb install

LogCat for the issue

Provide logs for the crash here

Screenshots of the issue

Where-ever possible attach a screenshot of the issue.

Would you like to work on the issue?

YES

@huseyin-caglayan-cko
Copy link
Author

This is a duplicate of
#79

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