Node.js OpenStack Swift 插件连接错误
Node.js OpenStack Swift plugin connection error
我使用了 NodeJS 并且 Swift plugin
尝试实现连接时出现此错误
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,您可以将图书馆 swift.js
文件中的第一个 requrie('https')
编辑为 requrie('http')
:
var https = requrie('http')
我使用了 NodeJS 并且 Swift plugin 尝试实现连接时出现此错误
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,您可以将图书馆 swift.js
文件中的第一个 requrie('https')
编辑为 requrie('http')
:
var https = requrie('http')