Serverless deploys failing?

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

2 Likes

Having same issue today…

2 Likes

What’s with this today? I’m having the same issue. I can’t deploy anything.

I’ve tracked the source of the error and it comes from:
@serverless/platform-sdk/dist/logs/createDestination.js

It’s a call to serverless API (POST: https://api.serverless.com/malt/destinations/create)

This is responding with 500 (Internal server error)

Can someone at serverless look at this? It’s literally wasting hours of my time.

2 Likes

@garethmcc - are you guys aware of this issue?

2 Likes

AWS is experiencing downtime which could be causing this issue.

It is possible that it could be an AWS issue, they first issue reporting was 6:36 AM PST We are investigating increased error rates for Kinesis Data Streams APIs in the US-EAST-1 Region. We were having issues at least an hour before that. We also don’t use Kinesis. So that would have to be a backend process that serverless is using.

If anyone is getting this issue…

That seems to go away if I specify the region in my command line instead of relying on the .aws/config file. But it still fails at the platform-sdk fetching part. So, not super helpful.

Experiencing the same here. Guess we have to wait till the AWS services a back online.

Same here too … :face_with_monocle:

This is happening for me too:

platform-sdk fetching: POST 

https://api.serverless.com/core/tenants/xxxxxx/applications/xxxxxx/profileValue

ignoring provider credentials error Error: Request failed with status code 500