Skip to content

error with private validator socket client #7

Open
@TimaxLacs

Description

@TimaxLacs

Current Behavior

Error when trying to connect to the chain:

root@vmi1665571:~/deep-chain# deepchain start --compute-gpu=false --search-api=false --home ./testnet

10:41AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.45). Please explicitly put the desired minimum-gas-prices in your app.toml.
10:41AM INF Loading the brain state
10:41AM INF Cyber Consensus Supercomputer is started! duration="392.696µs"
10:41AM INF starting node with ABCI Tendermint in-process
10:41AM INF Starting multiAppConn service impl=multiAppConn module=proxy
10:41AM INF Starting localClient service connection=query impl=localClient module=abci-client
10:41AM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
10:41AM INF Starting localClient service connection=mempool impl=localClient module=abci-client
10:41AM INF Starting localClient service connection=consensus impl=localClient module=abci-client
10:41AM INF Starting EventBus service impl=EventBus module=events
10:41AM INF Starting PubSub service impl=PubSub module=pubsub
10:41AM INF Starting IndexerService service impl=IndexerService module=txindex
Error: error with private validator socket client: failed to start private validator: listen tcp: lookup [email protected]: no such host

Expected Behavior

Connecting a validator node to the chain

Reproduction

Installing new dependencies

sudo apt-get -y install --no-install-recommends\
     make gcc g++ \
     curl\
     gnupg\
     git\
     software-properties-common\

Download go

wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz

Setting up environment variables

export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc

Clone the repository and go to it

git clone https://github.com/deep-foundation/deep-chain
cd deep-chain

Buildim

make install
make build CUDA_ENABLED=false

Initializing the validator

deepchain init validator --home ./testnet

Delete the current one and add a new genesis.json

rm ./testnet/config/genesis.json

Change the "persistent_peers" value in the "config.toml" file

nano ./testnet/config/config.toml
persistent_peers = "[email protected]:26656"

Add a validator

deepchain keys add validator --home ./testnet --keyring-backend=test --recover

We launch the validator into the network

deepchain start --compute-gpu=false --search-api=false --home ./testnet

Additional Information

Additional Information

Tried to install on VPS server

  • 4 vCPU Cores
  • 6 GB RAM
  • 400 GB SSD
  • 1 Snapshot
  • Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions