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

[serverless-offline-dynamodb-streams] ECONNREFUSED on SIGINT #197

Open
cnuss opened this issue Oct 5, 2021 · 0 comments
Open

[serverless-offline-dynamodb-streams] ECONNREFUSED on SIGINT #197

cnuss opened this issue Oct 5, 2021 · 0 comments

Comments

@cnuss
Copy link

cnuss commented Oct 5, 2021

Greetings!

I've spent the better part of the day debugging this but I'm afraid I have hit a wall...

Steps to Reproduce

TL;DR: I've set up a sample repo to demonstrate the issue:

  1. git clone https://github.com/cnuss-test-org-001/microservice-1-sls-rest-api
  2. cd microservice-1-sls-rest-api
  3. yarn
  4. yarn start
  5. once up and running, wait a few seconds, then Ctrl+C to SIGINT

Error from Serverless:

...
offline: [HTTP] server ready: http://localhost:3000 🚀
offline:
offline: Enter "rp" to replay the last request
No issues found.
^C
offline: Got SIGINT signal. Offline Halting...
➜  microservice-1-sls-rest-api git:(main) DynamoDB Local failed to start with code 130

 Networking Error ----------------------------------------

  Error: connect ECONNREFUSED 0.0.0.0:8100
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.20.1
     Framework Version:         2.57.0 (local)
     Plugin Version:            5.4.5
     SDK Version:               4.3.0
     Components Version:        3.17.1

FYIs

Observations from my debugging

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