serverless-offline-sqs | Emulate AWS λ and SQS | Serverless library
kandi X-RAY | serverless-offline-sqs Summary
kandi X-RAY | serverless-offline-sqs Summary
Emulate AWS λ and SQS locally when developing your Serverless project
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of serverless-offline-sqs
serverless-offline-sqs Key Features
serverless-offline-sqs Examples and Code Snippets
Community Discussions
Trending Discussions on serverless-offline-sqs
QUESTION
I am trying to work on a webscraper using the Serverless Framework that I want to be easily ran locally by users without having to install any necessary depedencies on their local machine. I am using serverless-offline-sqs with a local Elasticmq server hosted on a Docker container.
Currently, I have a docker-compose file that I run, then run serverless offline
in another terminal which works well. That docker-compose.yml
file looks like this:
ANSWER
Answered 2021-Jan-27 at 15:24The problem is likely to be in ECONNREFUSED 0.0.0.0:9324
. Judging by the port number it is an attempt to reach the sqs
service, but the IP-address is bad. It should connect to sqs:9324
or an IP-address of that container. 0.0.0.0
means 'any IP-address' and it is usually used to bind a port. Check your serverless
configuration.
Also, you can easily check if you are in a 'race condition' or not. For that simply start your services one by one using several terminals:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install serverless-offline-sqs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page