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:opensslssls23_clnt.c:794

似乎正在尝试使用https,但是我看不到禁用和使用标准http的选项。

谢谢。

你是对的。此插件默认情况下使用HTTPS连接。因此,要将其更改为HTTP,您可以将Librarie swift.js文件中的第一个requrie('https')编辑为requrie('http')

 var https = requrie('http')

最新更新