99x / 99x/serverless-dynamodb-local

Getting "UnknownError: Service Unavailable" while trying to run the local server using command "sls dynamodb start"

Open
#278 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
621
Forks
232
PR merge metrics
No merged PRs in 30d

Description

**Actual Behaviour**

For my project setup I need to run local sls dynamodb server, which I've installed using command "sls dynamodb install" but when I am trying to run the local server using command "sls dynamodb start" I am getting "Service unavailable" error.
Though the server starts as I can see while debugging the logs, but stops unexpectedly giving "service unavailable" error. The system configuration is similar for all the team members but still the issue persists in my system.

**Expected Behaviour**

"sls dynamodb start" command should start a local server.

**Console logs**

```

Serverless: Deprecation warning: Serverless Framework was enhanced with a new variables resolver which doesn't recognize "provider.variableSyntax" setting.Starting with a new major it will be the only resolver that's used.. Drop setting from a configuration to adapt to it
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_VARIABLES_RESOLVER
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Configuration warning at root: unrecognized property 'artifact'
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:
Dynamodb Local Started, Visit: http://localhost:8083/shell
UnknownError: Service Unavailable: DynamoDB - Error -

Unknown Error ------------------------------------------

UnknownError: Service Unavailable
at Request.extractError

```
Any help on this topic would be of great help, Since I am struggling a lot to fix this error.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `sls dynamodb install` followed by `sls dynamodb start`, then compare the console output with the reported logs. Check whether the local service remains available at `http://localhost:8083/shell`; done means the DynamoDB Local server starts and stays available without the `Service Unavailable` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.