Deploy bug - socket hang up
See original GitHub issueThis is a Bug Report
Description
For bug reports:
- What went wrong? Deploy failed
- What did you expect should have happened? Deploy succes
- What was the config you used? Shown in error message below
- What stacktrace or error message from your provider did you see?
Error --------------------------------------------------
ServerlessError: ServerlessError: socket hang up
For debugging logs, run again after setting SLS_DEBUG env var.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Please report this error. We think it might be a bug.
Your Environment Information -----------------------------
OS: darwin
Node Version: 6.2.1
Serverless Version: 1.2.0
I’m trying to set environment vars in serverless.yml
and they weren’t accessible through process.env
in handler.js
.
I noticed the env vars example in the ‘examples’ repo contained the following line in the yml file:
frameworkVersion: ">=1.2.0 <2.0.0"
so I updated the Serverless CLI from 1.1.0 to 1.2.0 and tried to deploy again. Then I got the error.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Socket hang up when deploying Azure Functions · Issue #3100
Socket hang up when deploying Azure Functions #3100 ... Here's some information on the bug we suspect is causing the issue with zip...
Read more >"Error: Server Error. socket hang up" whenever I do "firebase ...
After setting up all the firebase.json correctly, whenever I try to deploy those to the my project on firebase, this error keeps occuring....
Read more >NodeJS - What does socket hang up actually mean - Edureka
When a socket hang up is thrown, one of two things happens: When you're a customer, When you send a request to a...
Read more >Unable to Deploy Azure Function - Visual Studio Feedback
Error: socket hang up. Here is the setup for my deployment step: Yaml: steps: - task: AzureFunctionApp@1 displayName: 'Reports Function App Deploy: ...
Read more >How to handle a socket hang up error in Node.js usually - Quora
Socket hang up error are usually errors when requests coming to your server are more than it can handle. This might be b...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@eahefnawy After upgrading to v1.29.0 everything is OK. Thanks!
@SoftMaker We just released a new v1.29.0 version that includes the fix for this. Could you try upgrading serverless?