【发布时间】:2015-11-07 00:03:31
【问题描述】:
我们正在使用 Google Cloud Storage 来存储用户上传的图片。由于某种原因,它今天停止工作。
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' }
});
看来我无法建立与 Google Cloud Storage 的连接。
【问题讨论】:
标签: node.js google-api google-cloud-storage google-api-nodejs-client