deploy fails with error "socket hang up" when node is 10.7.0 · Issue #5138 · serverless/serverless · GitHub
![error: Unexpected server response: 502 on trying to connect to a lambda function through Amazon API gateway Websocket API - Stack Overflow error: Unexpected server response: 502 on trying to connect to a lambda function through Amazon API gateway Websocket API - Stack Overflow](https://i.stack.imgur.com/jMewX.png)
error: Unexpected server response: 502 on trying to connect to a lambda function through Amazon API gateway Websocket API - Stack Overflow
AWS-Lambda] - NetworkingError: Client network socket disconnected before secure TLS connection was established · Issue #3591 · aws/aws-sdk-js · GitHub
![Interesting story about how we solved a 'socket hang up' issue in AWS Lambda (NodeJS) | by Andy Hu | Medium Interesting story about how we solved a 'socket hang up' issue in AWS Lambda (NodeJS) | by Andy Hu | Medium](https://miro.medium.com/v2/resize:fit:1200/1*FRBQ5aYq-PcFyydtJzHuRQ.jpeg)
Interesting story about how we solved a 'socket hang up' issue in AWS Lambda (NodeJS) | by Andy Hu | Medium
![node.js - ElasticSearch _bulk call resulting in "socket hang up" despite small size - Stack Overflow node.js - ElasticSearch _bulk call resulting in "socket hang up" despite small size - Stack Overflow](https://i.stack.imgur.com/EoIWe.png)