This bounty is no longer available
Web3 DAO | Ethereum Foundation Logo

Can't connect to portal network locally

Organization

Ethereum Foundation

Deadline

N/A

Status

ENDED


INSTRUCTIONS

I'm following the instructions in the trin book on how to run a portal node locally and connect it.

As the book dictates, I first run

RUST_LOG=debug cargo run -- \
    --web3-http-address http://127.0.0.1:8547 \
    --web3-transport http \
    --discovery-port 9009 \
    --bootnodes default \
    --mb 200 \
    --no-stun

which I assume works but when I try to connect to the portal node with the next command in the book:

cargo run -- --bootnodes default

I get

Error: rocksdb error IO error: While lock file: /Users/mac/Library/Application Support/trin/trin_0xcf2a02/rocksdb/LOCK: Resource temporarily unavailable

Caused by:
    IO error: While lock file: /Users/mac/Library/Application Support/trin/trin_0xcf2a02/rocksdb/LOCK: Resource temporarily unavailable