“Socket Hang Up” / ECONNRESET Error while uploading to Google Cloud Storage
问题 We're using Google Cloud Storage to store pictures uploaded by our users. For some reason, it stopped to work today. var googleapis = require('googleapis'); var GoogleAuth = require('google-auth-library'); var googleAuth = new GoogleAuth(); var authClient = new googleAuth.JWTClient( accountEmail, keyFile, null, 'https://www.googleapis.com/auth/devstorage.read_write' ); authClient.authorize(function (err) { // Error here: { [Error: socket hang up] code: 'ECONNRESET' } }); So it seems like I