Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

使用 bee start --verbosity 5 --swap-endpoint https://rpc.slock.it/goerli --debug-api-enable --clef-signer-enable --clef-signer-endpoint /var/lib/bee-clef/clef.ipc

启动bee, 提示报错, 说是连不上https://rpc.slock.it/goerli这个地址

could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network a working blockchain node (for goerli network in production) is required. Check your node or specify another node using --swap-endpoint. 
Error: get chain id: Post "https://rpc.slock.it/goerli": EOF

Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

原因:

地址失效,需要修改启动参数中的 swap-endpoint地址

解决方法:
打开 https://infura.io/

Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network
点击黄色框内的按钮, 使用邮箱注册账号,然后注册邮箱
Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

点击左侧的Ethereum , 然后点击创建一个新的PROJECT
Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

输入一个名字, 没有具体格式要求
Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

最重要的一步来了 , ENDPOINTS这里要选择Gorli, 然后把下方的https开头的链接复制
Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network

回到linux ,–swap-endpoint 这里原来的https://rpc.slock.it/goerli修改成 使用你刚才复制的链接, 然后 启动bee

bee start --verbosity 5 --swap-endpoint 你刚复制的https开头的链接  --debug-api-enable --clef-signer-enable --clef-signer-endpoint /var/lib/bee-clef/clef.ipc

示例:
Swarm-BZZ踩坑日记之could not connect to backend at https://rpc.slock.it/goerli. In a swap-enabled network
不报错了 bingo

上一篇:Could not resolve dependencies for project


下一篇:Tensorflow-gpu运行出错Could not load dynamic library ‘cusolver64_10.dll‘;