Skip to content

error occurred when using SocketPV #2027

@WeibingChen

Description

@WeibingChen
  1. first, I start cmd/priv_val_server/main.go, it reports connection refused:
$ go run ./main.go --chain-id='1234' --priv="/Users/donnie/.travis/config/remote/priv_validator.json" --addr=":26659"

I[07-23|10:25:53.860] Starting private validator                   module=priv_val addr=:26659 chainID=1234 privPath=/Users/donnie/.travis/config/remote/priv_validator.json
I[07-23|10:25:53.863] Starting RemoteSigner                        module=priv_val impl=RemoteSigner
E[07-23|10:25:53.863] connect                                      module=priv_val addr=:26659 err="Error{dial tcp :26659: connect: connection refused}"
...
E[07-23|10:26:20.901] OnStart                                      module=priv_val err="Error{dialed maximum retries}"
panic: Error{dialed maximum retries}

goroutine 1 [running]:
main.main()
	$GOPATH/src/github.com/tendermint/tendermint/cmd/priv_val_server/main.go:44 +0x7d6
exit status 2
  1. second, i change ~/.tendermint/config/config.toml and add priv_validator_laddr = ":26669". Then I start tendermint with nilapp, I got error as below:
$ tendermint node start --home ~/.tendermint --proxy_app="nilapp"
...
I[07-23|10:25:57.428] Completed ABCI Handshake - Tendermint and App are synced module=consensus appHeight=0 appHash=
I[07-23|10:25:57.428] Starting SocketPV                            module=privval impl=SocketPV
E[07-23|10:25:58.431] OnStart                                      module=privval err="Error{waited for remote signer for too long}"
ERROR: Failed to create node: Error starting private validator client: Error{waited for remote signer for too long}

Is there any problem here, or what is the correct way to use SocketPV?

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:bugType Bug (Confirmed)T:validatorType: Validator related

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions