[英]Faraday::ConnectionFailed (Failed to open TCP connection to api.arknode.net:4001
I am using ark-ruby
gem and that code 我正在使用ark-ruby
gem和该代码
client = Ark::Client.new(
:ip => 'api.arknode.net',
:port => '4001',
:nethash => '6e84d08bd299ed97c212c886c98a57e36545c8f5d645ca7eeae63a8bd62d8988',
:version => '1.0.1'
)
But it gives an error on heroku that Faraday::ConnectionFailed (Failed to open TCP connection to api.arknode.net:4001 (Connection refused - connect(2) for "api.arknode.net" port 4001)):
但是它在heroku上给出了一个错误,该错误是Faraday::ConnectionFailed (Failed to open TCP connection to api.arknode.net:4001 (Connection refused - connect(2) for "api.arknode.net" port 4001)):
How can I fix it? 我该如何解决?
api.arknode.net has been non-responsive for about a week. api.arknode.net已经无响应了大约一个星期。 HTTPS should be used for that URL. 该URL应使用HTTPS。 You can try changing that to 5.39.9.240 port 4001 for now and just HTTP. 您可以尝试暂时将其更改为5.39.9.240端口4001,仅更改为HTTP。
Note: The network is set up with a list of seed servers. 注意:网络是由种子服务器列表设置的。 You should use a seed server to get a list of peers in which to make API calls. 您应该使用种子服务器来获取要在其中进行API调用的对等方的列表。 https://ark.brianfaust.me/#/Peer/peers_getPeers . https://ark.brianfaust.me/#/Peer/peers_getPeers 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.