99x / 99x/serverless-dynamodb-local
`Error getting DynamoDb local latest tar.gz location: 301`
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
Good morning, I am getting Error: **Error getting DynamoDb local latest tar.gz location: 301** after doing installing **serverless-dynamodb-local**. What am I getting wrong, although I have java installed on my PC.
Here is the full description of the error message
```
Error: Error getting DynamoDb local latest tar.gz location: 301
at ClientRequest. (C:\Users\Mussa\Documents\ServerlessSafari\rest-api\node_modules\dynamodb-localhost\dynamodb\installer.js:14:26)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:551:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
at Socket.socketOnData (_http_client.js:440:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
_http_client.js:131
throw new Error('Protocol "' + protocol + '" not supported. ' +
^
Error: Protocol "https:" not supported. Expected "http:"
at new ClientRequest (_http_client.js:131:11)
at request (http.js:38:10)
at Object.get (http.js:42:13)
at ClientRequest. (C:\Users\Mussa\Documents\ServerlessSafari\rest-api\node_modules\dynamodb-localhost\dynamodb\installer.js:16:18)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:551:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
at Socket.socketOnData (_http_client.js:440:20)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
```
Contributor guide
Research direction
Start with dynamodb/installer.js at the request handling shown in the stack trace, then reproduce installation of serverless-dynamodb-local in the reported environment. Determine how the 301 response leads to the HTTPS protocol error; done means the DynamoDB Local archive location is retrieved successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100