Our Serverless deploys started failing today and I don’t know why. The problem seemed to start an automated deploy from Git got canceled. I figured that there where some pieces still hanging out and tried to remove the stage and redeploy. That didn’t work. To me it is failing really early on, like initial setup early and before it really gets into the deployment. No CloudFormation stack is created. There is a Serverless S3 bucket for this stage created recently, however it is in the AWS region “Error” and is well broken.
Here are a couple things that I have noticed when trying to deploy the stage from my local machine with debug messages.
platform-sdk fetching: POST https://api.serverless.com/core/tenants/**org**/applications/**app**/profileValue
ignoring provider credentials error Error: Request failed with status code 500
at createError (./node_modules/axios/lib/core/createError.js:16:15)
at settle (./node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (./node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Sometimes there is config data after this
The deploy continues and eventually crashes with this
Serverless: Installing dependencies for custom CloudFormation resources...
Serverless: Invoke aws:package:finalize
Serverless: [AWS sts 200 0.09s 0 retries] getCallerIdentity({})
platform-sdk fetching: POST https://api.serverless.com/malt/destinations/create
Error --------------------------------------------------
Error: {"message": "Internal server error"}
at module.exports (./node_modules/@serverless/enterprise-plugin/lib/logsCollection.js:74:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
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.18.1
Framework Version: 2.11.1 (standalone)
Plugin Version: 4.1.2
SDK Version: 2.3.2
Components Version: 3.3.0
Anyone have any thoughts on this?
Thanks