Comments (2)
.
Further investigation seems to be lack of support for the CORS definition on the http event
cors:
origin: '*' # <-- Specify allowed origin
headers: # <-- Specify allowed headers
- Content-Type
- X-Amz-Date
- Authorization
- X-Api-Key
- X-Amz-Security-Token
- X-Amz-User-Agent
allowCredentials: fals
from serverless-localstack.
Thanks for reporting @dblencowe . This should be - at least partially - fixed in localstack/localstack#2186 . Can you please do a docker pull localstack/localstack
once the image has been pushed by our CI system, and then give it another try?
Please note that API Gateway and WebSocket APIs are not supported in the community version of LocalStack - you may have to comment out these two lines to get it working:
# - websocket:
# route: $default
Thanks
from serverless-localstack.
Related Issues (20)
- serverless deploy --stage local returning an error - Inaccessible host: `127.0.0.1' at port `4566'. HOT 2
- Problem with AppSync pipeline functions when there is more than 50 of them HOT 3
- Problem with AWS::AppSync::GraphQLSchema HOT 2
- v1 API Gateway endpoints not getting printed out to the console
- Attach IDE debugger HOT 1
- Localstack deployment fails HOT 4
- Error: docker: not found when running in docker compose HOT 7
- Getting TemplateURL must be a supported URL while doing "sls deploy --stage dev" in mac HOT 8
- Receiving "The security token included in the request is invalid." HOT 2
- what versions of serverless is this compatible with? HOT 1
- Stuck on Need a faster logging experience when using serverless-stack with serverless-esbuild HOT 3
- Use awslocal from my host to localstack and use it into localstack container HOT 2
- Plugin issue with serverless 3.39.0 HOT 3
- CREATE_FAILED: ApiGatewayMethodActionPost (AWS::ApiGateway::Method)
- CREATE_FAILED: ApiGatewayMethodActionPost (AWS::ApiGateway::Method) - Invalid type for parameter selectionPattern
- Protocol now required when using `custom.localstack.host` HOT 1
- Serverless localstack plugin does not autostart docker container HOT 1
- Getting invalid credentials
- Getting invalid credentials HOT 1
- ServerlessError: 400 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-localstack.