- 
                Notifications
    You must be signed in to change notification settings 
- Fork 570
Closed
Description
It is no longer possible to launch a network with several nodes using Gitpod
The different nodes fail to connect to each other.
Still on previous version 0.45.x
Might be caused by a change in network in Gitpog or a refatoring in chizel, etc...
From the logs
9:21AM ERR Can't add peer's address to addrbook err="Cannot add non-routable address 67849b095515361573ab130adb4bce4ad393b7f2@127.0.0.1:22000" module=p2p
9:21AM ERR Can't add peer's address to addrbook err="Cannot add non-routable address 261da47d6f8674ca0796ab47a0998de7dcbffde3@127.0.0.1:22001" module=p2p
Further logs
9:21AM INF Saving AddrBook to file book=/home/gitpod/spn/2/config/addrbook.json module=p2p size=0
9:21AM INF Starting RPC HTTP server on [::]:1317 module=api-server
9:21AM INF Dialing peer address={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} module=p2p
9:21AM ERR Error dialing peer err="dial tcp 127.0.0.1:22001: connect: connection refused" module=p2p
9:21AM INF Reconnecting to peer addr={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} module=p2p
9:21AM INF Dialing peer address={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} err="dial tcp 127.0.0.1:22001: connect: connection refused" module=p2p tries=0
9:21AM INF Dialing peer address={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM ERR Error dialing peer err="dial tcp 127.0.0.1:22000: connect: connection refused" module=p2p
9:21AM INF Reconnecting to peer addr={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM INF Dialing peer address={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} err="dial tcp 127.0.0.1:22000: connect: connection refused" module=p2p tries=0
9:21AM INF Dialing peer address={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} err="dial tcp 127.0.0.1:22000: connect: connection refused" module=p2p tries=1
9:21AM INF Dialing peer address={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} err="dial tcp 127.0.0.1:22001: connect: connection refused" module=p2p tries=1
9:21AM INF Dialing peer address={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"261da47d6f8674ca0796ab47a0998de7dcbffde3","ip":"127.0.0.1","port":22001} err="dial tcp 127.0.0.1:22001: connect: connection refused" module=p2p tries=2
9:21AM INF Dialing peer address={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} err="dial tcp 127.0.0.1:22000: connect: connection refused" module=p2p tries=2
9:21AM INF Dialing peer address={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} module=p2p
9:21AM INF Error reconnecting to peer. Trying again addr={"id":"67849b095515361573ab130adb4bce4ad393b7f2","ip":"127.0.0.1","port":22000} err="dial tcp 127.0.0.1:22000: connect: connection refused" module=p2p tries=3
^C9:21AM INF Stopping Node service impl={"Logger":{}}
9:21AM INF Stopping Node
9:21AM INF Stopping EventBus service impl={"Logger":{}} module=events
9:21AM INF Stopping PubSub service impl={"Logger":{}} module=pubsub
9:21AM INF Stopping IndexerService service impl={"Logger":{}} module=txindex
9:21AM INF Stopping P2P Switch service impl={"Logger":{}} module=p2p
9:21AM INF Stopping Mempool service impl={"Logger":{},"Switch":{"Logger":{}}} module=mempool
9:21AM INF Stopping BlockchainReactor service impl={"Logger":{},"Switch":{"Logger":{}}} module=blockchain
9:21AM INF Stopping BlockPool service impl={"Logger":{}} module=blockchain
9:21AM INF Stopping Consensus service impl={"Logger":{},"Metrics":{"BlockIntervalSeconds":{},"BlockParts":{},"BlockSizeBytes":{},"ByzantineValidators":{},"ByzantineValidatorsPower":{},"CommittedHeight":{},"FastSyncing":{},"FullPrevoteMessageDelay":{},"Height":{},"MissingValidators":{},"MissingValidatorsPower":{},"NumTxs":{},"QuorumPrevoteMessageDelay":{},"Rounds":{},"StateSyncing":{},"TotalTxs":{},"ValidatorLastSignedHeight":{},"ValidatorMissedBlocks":{},"ValidatorPower":{},"Validators":{},"ValidatorsPower":{}},"Switch":{"Logger":{}}} module=consensus
9:21AM ERR Not stopping State service -- has not been started yet impl={"Logger":{},"commit_round":-1,"commit_time":"0001-01-01T00:00:00Z","height":1,"last_commit":null,"last_validators":{"proposer":null,"validators":null},"locked_block":null,"locked_block_parts":null,"locked_round":-1,"proposal":null,"proposal_block":null,"proposal_block_parts":null,"round":0,"start_time":"2022-08-08T09:21:35.812662984Z","step":1,"triggered_timeout_precommit":false,"valid_block":null,"valid_block_parts":null,"valid_round":-1,"validators":{"proposer":{"address":"A19CEABBFDD7B7908AC3149A2716FEB977AA5A33","proposer_priority":-95,"pub_key":"mbfe1p6YcjLtuWhY2kYe7Wt1yoPMFcKiz1PkRbTiVjE=","voting_power":95},"validators":[{"address":"A19CEABBFDD7B7908AC3149A2716FEB977AA5A33","proposer_priority":-95,"pub_key":"mbfe1p6YcjLtuWhY2kYe7Wt1yoPMFcKiz1PkRbTiVjE=","voting_power":95},{"address":"D08D8966A44FE6C14503E95932F83569D47C034E","proposer_priority":95,"pub_key":"8MeK20cdfjb03EtMnHP9GxiRUN7rW3EafWTvvaA2xrI=","voting_power":95}]},"votes":[{"precommits":["nil-Vote","nil-Vote"],"precommits_bit_array":"BA{2:__} 0/190 = 0.00","prevotes":["nil-Vote","nil-Vote"],"prevotes_bit_array":"BA{2:__} 0/190 = 0.00","round":0}]} module=consensus