Hello I’m doing the tutorial for running a stake pool and got this error: “cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (Connection refused)”
when using this command…
cardano-cli shelley query utxo
–address $(cat payment.addr)
–testnet-magic 1097911063
I had my node running before but noticed that now it’s not working. When I start after few minutes gives me this error: "cardano-node: symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes "
Any help is much appreciated
1 Like
This term is not appropriate on the mainnet (only for the old testnet), so replace it with the
--mainnet
option:
cardano-cli shelley query utxo
--address $(cat payment-source.addr)
--mainnet
https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/keys_and_addresses.html#query-the-balance-of-an-address
1 Like
Thanks for the response!, but the tutorial I am doing is all about the shelley testnet. Not the mainnet
here’s the link https://cardano-foundation.gitbook.io/stake-pool-course/stake-pool-guide/stake-pool-operations/keys_and_addresses
1 Like
This error typically occurs when the node is not running - can you confirm the node is up?
Also, regarding the crypto_vrf_publickeybytes error, you will need libsodium installed and will need to add the following to your .bashrc and source it:
export LD_LIBRARY_PATH=“/usr/local/lib:$LD_LIBRARY_PATH”
export PKG_CONFIG_PATH=“/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH”
1 Like
Also this could be from using a socket file that does not exist (as ADAFrog suggests if node is not running but also if node is using another named socket file etc). What have you configured as your env variable socket file for cardano-cli?
1 Like
Hello augustov, I had the same trouble and I could fix it following the ADAfrog comment above.
I have just intall the libsodium again and add the following to my .bashrc and source it:
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
It works, and I could see the transferred value from received from faucet,
Thanks to post the question here
1 Like
Thank you Felipe, will try that and let you know how it goes.
I added and it worked. thank you very much for your help. regards