无法连接到 Solana 开发网/测试网
我一直在尝试通过 cli 和 python solana SDK 连接到 solana devnet/testnet,但都没有成功,从 CLI 收到以下错误:
“错误:RPC 请求错误:集群版本查询失败:发送 url 请求时出错(https://api.devnet.solana.com/):操作超时”
并且来自 python SDK:
“requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.devnet.solana.com', port=443): url 超过最大重试次数: / (由 NewConnectionError('
我可以使用与 CLI 相同的方法连接到本地主机。奇怪的是,我什至无法通过谷歌搜索找到类似的问题,所以我不得不自己在这里问。
任何帮助将不胜感激。
I've been trying to connect to solana devnet/testnet through cli and python solana SDK, but both without success, getting below error from CLI:
"Error: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): operation timed out"
and from python SDK:
"requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.devnet.solana.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f492ffa4490>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"
I CAN connect to localhost using the same method with CLI. Strangely, I can't even find similar issues by googling, so I had to ask here by myself.
Any help will be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论