RPC Request Error: Cluster Version Query Failed
mistyuk opened this issue · 1 comments
mistyuk commented
misty@desktop:~$ metaboss create metadata -a 31kvaxhrffGadqVxsdsgeHWG3k3fg4LThTmhKXGp1kzU -m metadata.json
Not sure if it's something to do with me using WSL 1.0, i check DNS settings in /etc/resolv.conf and added google 8.8.8.8 nameservers.
Error: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
Caused by:
RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
config looks good, am i doing something wrong?
misty@desktop:~$ solana config get
Config File: /home/misty/.config/solana/cli/config.yml
RPC URL: https://api.devnet.solana.com
WebSocket URL: wss://api.devnet.solana.com/ (computed)
Keypair Path: /home/misty/.config/solana/id.json
Commitment: confirmed
mistyuk commented
I realized that one of the cargo dependencies (spl-pod) was not working properly. I changed the cargo.toml template to fix an install bug which ended up causing a RPC request error.
spl-pod = "0.3.0"
Updated the cargo.toml back to 0.3.0 and ran:
Cargo update
problem solved and can now successfully write metadata.