QuantBot icon indicating copy to clipboard operation
QuantBot copied to clipboard

求助大大proxyconnect tcp: dial tcp 127.0.0.1:6667: connect: connection refused

Open jacob210 opened this issue 6 years ago • 5 comments

GetAccount() error, [POST https://www.okex.com/api/v1/future_userinfo.do] HTTP Error Info: Post https://www.okex.com/api/v1/future_userinfo.do: proxyconnect tcp: dial tcp 127.0.0.1:6667: connect: connection refused

部署在linux服务器上,API设置好了,但是在测试时出现以上错误,请问是什么原因?

jacob210 avatar Oct 20 '18 17:10 jacob210

服务器为香港服务器,排除科学上网问题

jacob210 avatar Oct 20 '18 17:10 jacob210

解决了,把所有os语句和127.0.0.1:6667全部注释掉即可!

jacob210 avatar Oct 21 '18 13:10 jacob210

是的,把代理的那几行去掉就可以了,这些都是之前测试用的

phonegapX avatar Oct 24 '18 05:10 phonegapX

感谢大神答复,请问运行中出现这个错误提示是什么原因呢?

TypeError: 'LogStatus' is not a function

jacob210 avatar Oct 27 '18 14:10 jacob210

能否具体详细说下

phonegapX avatar Oct 28 '18 14:10 phonegapX