I was getting random 'socket hang up' errors from the Netlify CLI and couldnt find a pattern. The thread is from early 2021 and has 57 comments, so a lot of people were hitting it. A maintainer identified the cause and pointed at a fixing PR, then announced the fixed release. One user confirmed the fix worked for them. Closed January 2021.