Start-up issues

If the process was missing, check if tofnd is running. Install the nmap command if you do not have it, and check the tofnd port

nmap -p 50051 localhost

Look for the STATE of the port, which should be open or closed. If the port is closed, restart your node and ensure tofnd is running. If the port is open, then there is a connection issue between vald and tofnd.

To fix the connectivity issue, find the tofnd container address manually and provide it to vald. Find the tofnd address.

docker inspect tofnd

Near the bottom of the JSON output, look for Networks, then bridge, IPAddress, and copy the address listed. Next, ping the IP Address from inside Quantum Portal Core to see if it works. Install the ping command if it does not exist already.

docker exec QP-core ping {your tofnd IP Address}

eg:

docker exec QP-core ping 172.17.0.2

You should see entries starting to appear one by one if the connection succeeded. Stop the ping with Control + C. Save this IP address.

Next, query your validator address with

docker exec QP-core QPd keys show validator --bech val -a
📝

Note: Verify that the returned validator address starts with QPvaloper

Now, start vald, providing the IP address and validator address:

docker exec QP-core QPd vald-start --tofnd-host {your tofnd IP Address} --validator-addr {your validator address} --node {your QP-core IP address}

eg:

docker exec QP-core QPd vald-start --tofnd-host 172.17.0.2 --validator-addr QPvaloper1y4vplrpdaqplje8q4p4j32t3cqqmea9830umwl

Your vald should be connected properly. Confirm this by running the following and looking for an vald-start entry.

docker exec QP-core ps
Edit this page