Node.js OpenStack Swift插件连接错误
我使用NodeJS和Swift插件,当试图实现连接时,我得到这个错误
Can not connect to Swift! Error: write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:794
似乎它试图使用https,但我看不到在选项中禁用和使用标准的http。
谢谢。
你是对的。 这个插件默认使用https连接。 因此,要将其更改为http,您可以将librarie的swift.js
文件中的第一个requrie('https')
编辑为requrie('http')
:
var https = requrie('http')