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

usebee 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

Start bee, it prompts an error, saying that the address https://rpc.slock.it/goerli cannot be connected

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

insert image description here

reason:

The address is invalid, you need to modify the swap-endpoint address in the startup parameters

Solution:
Open https://infura.io/

insert image description here
Click the button in the yellow box, use the email address to register an account, and then register the email address
insert image description here

Click on Ethereum on the left, then click to create a new PROJECT
insert image description here

Enter a name, no specific format requirements
insert image description here

The most important step is here, ENDPOINTS Here you need to choose Gorli, and then copy the link beginning with https below
insert image description here

Go back to linux, --swap-endpoint Here the original https://rpc.slock.it/goerlimodification is to use the link you just copied, and then start bee

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

Example:
insert image description here
bingo is not reported

Guess you like

Origin blog.csdn.net/Z1404686551/article/details/116981914