简体   繁体   English

Faraday :: ConnectionFailed(无法打开与api.arknode.net:4001的TCP连接

[英]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.

相关问题 无法打开到localhost的TCP连接:9200(连接被拒绝 - 连接(2)为“localhost”端口9200)(法拉第::连接失败) - Failed to open TCP connection to localhost:9200 (Connection refused - connect(2) for “localhost” port 9200) (Faraday::ConnectionFailed) AWS elasticsearch 服务抛出 Faraday::ConnectionFailed: Failed to open TCP connection to https:80 (getaddrinfo: Name or service not known) - AWS elasticsearch service throws Faraday::ConnectionFailed: Failed to open TCP connection to https:80 (getaddrinfo: Name or service not known) # <Faraday::ConnectionFailed> 连接被拒绝 - 连接(2) - #<Faraday::ConnectionFailed> Connection refused - connect(2) 法拉第::连接失败 | Net::OpenTimeout 执行过期 - Faraday::ConnectionFailed | Net::OpenTimeout execution expired Faraday :: ConnectionFailed:保存到mongo数据库时拒绝连接 - Faraday::ConnectionFailed: connection refused while saving to mongo database KOALA + FACEBOOK GRAPH给出了FARADAY错误(ConnectionFailed-拒绝连接-connect(2)) - KOALA + FACEBOOK GRAPH gives FARADAY error (ConnectionFailed - Connection Refused - connect(2)) 无法打开 TCP 连接 - Failed to open TCP connection 法拉第:: ConnectionFailed,连接被拒绝 - 连接(2)为“localhost”端口9200 - Faraday::ConnectionFailed, Connection refused - connect(2) for “localhost” port 9200 法拉第:: ConnectionFailed连接被拒绝 - 连接(2)为“localhost”端口9200 - Faraday::ConnectionFailed Connection refused - connect(2) for “localhost” port 9200 法拉第的Rspec :: ConnectionFailed - Rspec for Faraday::ConnectionFailed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM