Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find sync target. Currently checking {xxxxx} peers for usefulness [bug] #6330

Closed
abuyusif01 opened this issue Dec 26, 2023 · 7 comments

Comments

@abuyusif01
Copy link

Description

Am trying to setup a testing private network on cloud (using docker), but the network cant find a sync target. the peers are discoverable but not syncing, hence i cant send, receive transactions.

Locally, it works. but when i move the network to cloud it doesnt.

Logs [docker-compose logs)

Attaching to bootnode-001-genesis, bootnode-002-initial-signer-001, initial-signer-002
�[33mbootnode-002-initial-signer-001    |�[0m Enode is either empty or null. Sleeping for 5 seconds and retrying...
�[32minitial-signer-002                 |�[0m Enodes are empty. Sleeping for 5 seconds and retrying...
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:21.349+00:00 | main | INFO  | Besu | Starting Besu
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.023+00:00 | main | WARN  | Besu | --rpc-ws-host has been ignored because --rpc-ws-enabled was not defined on the command line.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.151+00:00 | main | INFO  | Besu | 
�[36mbootnode-001-genesis               |�[0m ####################################################################################################
�[36mbootnode-001-genesis               |�[0m #                                                                                                  #
�[36mbootnode-001-genesis               |�[0m # Besu version 23.10.1                                                                             #
�[36mbootnode-001-genesis               |�[0m #                                                                                                  #
�[36mbootnode-001-genesis               |�[0m # Configuration:                                                                                   #
�[36mbootnode-001-genesis               |�[0m # Network: Custom genesis file specified                                                           #
�[36mbootnode-001-genesis               |�[0m # Network Id: 1337                                                                                 #
�[36mbootnode-001-genesis               |�[0m # Data storage: Forest                                                                             #
�[36mbootnode-001-genesis               |�[0m # Sync mode: Full                                                                                  #
�[36mbootnode-001-genesis               |�[0m # RPC HTTP APIs: ETH,NET,CLIQUE,ADMIN                                                              #
�[36mbootnode-001-genesis               |�[0m # RPC HTTP port: 8545                                                                              #
�[36mbootnode-001-genesis               |�[0m # Using LAYERED transaction pool implementation                                                    #
�[36mbootnode-001-genesis               |�[0m #                                                                                                  #
�[36mbootnode-001-genesis               |�[0m # Host:                                                                                            #
�[36mbootnode-001-genesis               |�[0m # Java: openjdk-java-19                                                                            #
�[36mbootnode-001-genesis               |�[0m # Maximum heap size: 7.75 GB                                                                       #
�[36mbootnode-001-genesis               |�[0m # OS: linux-x86_64                                                                                 #
�[36mbootnode-001-genesis               |�[0m # glibc: 2.35                                                                                      #
�[36mbootnode-001-genesis               |�[0m # jemalloc: 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756                                      #
�[36mbootnode-001-genesis               |�[0m # Total memory: 30.99 GB                                                                           #
�[36mbootnode-001-genesis               |�[0m # CPU cores: 8                                                                                     #
�[36mbootnode-001-genesis               |�[0m #                                                                                                  #
�[36mbootnode-001-genesis               |�[0m # Plugins:                                                                                         #
�[36mbootnode-001-genesis               |�[0m # TOTAL = 0 of 0 plugins successfully loaded                                                       #
�[36mbootnode-001-genesis               |�[0m # from /opt/besu/plugins                                                                           #
�[36mbootnode-001-genesis               |�[0m #                                                                                                  #
�[36mbootnode-001-genesis               |�[0m ####################################################################################################
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.152+00:00 | main | INFO  | Besu | Connecting to 0 static nodes.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.152+00:00 | main | INFO  | Besu | Security Module: localfile
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.215+00:00 | main | INFO  | Besu | Using the native implementation of alt bn128
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.261+00:00 | main | INFO  | Besu | Using the native implementation of modexp
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.262+00:00 | main | INFO  | Besu | Using the native implementation of the signature algorithm
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.267+00:00 | main | INFO  | Besu | Using the native implementation of the blake2bf algorithm
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.518+00:00 | main | INFO  | KeyPairUtil | Loaded public key 0x6a3b1ed973a09b1049cd0c2989c74efb54b0b81837dcca7fd0500243b87ba8a57733acd6b2a94dbab628ee337e0672d5e47f693085932ac3ffec92e816d5e5b2 from /opt/besu/data/node0/data/key
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.694+00:00 | main | INFO  | ProtocolScheduleBuilder | Protocol schedule created with milestones: [Berlin:0]
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.740+00:00 | main | INFO  | DatabaseMetadata | Lookup database metadata file in data directory: /opt/besu/data/node0/data
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:22.801+00:00 | main | INFO  | RocksDBKeyValueStorageFactory | Existing database detected at /opt/besu/data/node0/data. Version 1. Compacting database...
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:23.308+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction pool
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:23.330+00:00 | main | INFO  | BesuControllerBuilder | TTD difficulty is not present, creating initial sync phase for PoW
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:23.359+00:00 | main | INFO  | RunnerBuilder | Detecting NAT service.
�[33mbootnode-002-initial-signer-001    |�[0m Enode is either empty or null. Sleeping for 5 seconds and retrying...
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.055+00:00 | main | INFO  | Runner | Starting external services ... 
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.056+00:00 | main | INFO  | JsonRpcHttpService | Starting JSON-RPC service on 0.0.0.0:8545
�[32minitial-signer-002                 |�[0m Enodes are empty. Sleeping for 5 seconds and retrying...
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.220+00:00 | vert.x-eventloop-thread-1 | INFO  | JsonRpcHttpService | JSON-RPC service started and listening on 0.0.0.0:8545
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.222+00:00 | main | INFO  | GraphQLHttpService | Starting GraphQL HTTP service on 0.0.0.0:8547
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.225+00:00 | vert.x-eventloop-thread-1 | INFO  | GraphQLHttpService | GraphQL HTTP service started and listening on 0.0.0.0:8547
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.229+00:00 | main | INFO  | AutoTransactionLogBloomCachingService | Starting auto transaction log bloom caching service.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.231+00:00 | main | INFO  | LogBloomCacheMetadata | Lookup cache metadata file in data directory: /opt/besu/data/node0/data/caches
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.239+00:00 | main | INFO  | Runner | Starting Ethereum main loop ... 
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.240+00:00 | main | INFO  | DockerNatManager | Starting docker NAT manager.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.247+00:00 | main | INFO  | NetworkRunner | Starting Network.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.261+00:00 | nioEventLoopGroup-2-1 | INFO  | RlpxAgent | P2P RLPx agent started and listening on /[0:0:0:0:0:0:0:0]:30303.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.261+00:00 | main | INFO  | PeerDiscoveryAgent | Starting peer discovery agent on host=0.0.0.0, port=30303
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.279+00:00 | vert.x-eventloop-thread-1 | INFO  | VertxPeerDiscoveryAgent | Started peer discovery agent successfully, on effective host=0:0:0:0:0:0:0:0%0 and port=30303
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.285+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | P2P peer discovery agent started and listening on /[0:0:0:0:0:0:0:0%0]:30303
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.335+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | Writing node record to disk. NodeRecord{seq=4, publicKey=0x026a3b1ed973a09b1049cd0c2989c74efb54b0b81837dcca7fd0500243b87ba8a5, udpAddress=Optional[/127.0.0.1:30303], tcpAddress=Optional[/127.0.0.1:30303], asBase64=-Je4QIa_A4kl4sAFyw8x38_hr6Buq0Kkfk2e_SuGIhajK4ZTLv2aVu8ffDzCAuEyygqM9H83mB7iOg-ex2dwRGUDcT4Eg2V0aMfGhPcCuAmAgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQJqOx7Zc6CbEEnNDCmJx077VLC4GDfcyn_QUAJDuHuopYN0Y3CCdl-DdWRwgnZf, nodeId=0x0fd862cc725c2e3a152ab31c5e132b69003dd8df55b174c8b4b72bc6793d76d8, customFields={tcp=30303, udp=30303, ip=0x7f000001, eth=[[0xf702b809, 0x]], id=V4, secp256k1=0x026a3b1ed973a09b1049cd0c2989c74efb54b0b81837dcca7fd0500243b87ba8a5}}
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.367+00:00 | main | INFO  | DefaultP2PNetwork | Enode URL enode://6a3b1ed973a09b1049cd0c2989c74efb54b0b81837dcca7fd0500243b87ba8a57733acd6b2a94dbab628ee337e0672d5e47f693085932ac3ffec92e816d5e5b2@127.0.0.1:30303
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.367+00:00 | main | INFO  | DefaultP2PNetwork | Node address 0x5e132b69003dd8df55b174c8b4b72bc6793d76d8
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.378+00:00 | main | INFO  | NetworkRunner | Supported capabilities: [eth/62, eth/63, eth/64, eth/65, eth/66, eth/67, eth/68], [snap/1]
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.378+00:00 | main | INFO  | DefaultSynchronizer | Starting synchronizer.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.380+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction handling following initial sync
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.381+00:00 | main | INFO  | FullSyncDownloader | Starting full sync.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.382+00:00 | main | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:24.393+00:00 | main | INFO  | Runner | Ethereum main loop is up.
�[32minitial-signer-002                 |�[0m Enodes are empty. Sleeping for 5 seconds and retrying...
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:29.390+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:31.442+00:00 | main | INFO  | Besu | Starting Besu
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.132+00:00 | main | WARN  | Besu | --graphql-http-host has been ignored because --graphql-http-enabled was not defined on the command line.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.135+00:00 | main | WARN  | Besu | --rpc-ws-host has been ignored because --rpc-ws-enabled was not defined on the command line.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.349+00:00 | main | INFO  | Besu | 
�[33mbootnode-002-initial-signer-001    |�[0m ####################################################################################################
�[33mbootnode-002-initial-signer-001    |�[0m #                                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m # Besu version 23.10.1                                                                             #
�[33mbootnode-002-initial-signer-001    |�[0m #                                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m # Configuration:                                                                                   #
�[33mbootnode-002-initial-signer-001    |�[0m # Network: Custom genesis file specified                                                           #
�[33mbootnode-002-initial-signer-001    |�[0m # Network Id: 1337                                                                                 #
�[33mbootnode-002-initial-signer-001    |�[0m # Data storage: Forest                                                                             #
�[33mbootnode-002-initial-signer-001    |�[0m # Sync mode: Full                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m # RPC HTTP APIs: ETH,NET,CLIQUE,ADMIN                                                              #
�[33mbootnode-002-initial-signer-001    |�[0m # RPC HTTP port: 8555                                                                              #
�[33mbootnode-002-initial-signer-001    |�[0m # Using LAYERED transaction pool implementation                                                    #
�[33mbootnode-002-initial-signer-001    |�[0m #                                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m # Host:                                                                                            #
�[33mbootnode-002-initial-signer-001    |�[0m # Java: openjdk-java-19                                                                            #
�[33mbootnode-002-initial-signer-001    |�[0m # Maximum heap size: 7.75 GB                                                                       #
�[33mbootnode-002-initial-signer-001    |�[0m # OS: linux-x86_64                                                                                 #
�[33mbootnode-002-initial-signer-001    |�[0m # glibc: 2.35                                                                                      #
�[33mbootnode-002-initial-signer-001    |�[0m # jemalloc: 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756                                      #
�[33mbootnode-002-initial-signer-001    |�[0m # Total memory: 30.99 GB                                                                           #
�[33mbootnode-002-initial-signer-001    |�[0m # CPU cores: 8                                                                                     #
�[33mbootnode-002-initial-signer-001    |�[0m #                                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m # Plugins:                                                                                         #
�[33mbootnode-002-initial-signer-001    |�[0m # TOTAL = 0 of 0 plugins successfully loaded                                                       #
�[33mbootnode-002-initial-signer-001    |�[0m # from /opt/besu/plugins                                                                           #
�[33mbootnode-002-initial-signer-001    |�[0m #                                                                                                  #
�[33mbootnode-002-initial-signer-001    |�[0m ####################################################################################################
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.350+00:00 | main | INFO  | Besu | Connecting to 0 static nodes.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.351+00:00 | main | INFO  | Besu | Security Module: localfile
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.436+00:00 | main | INFO  | Besu | Using the native implementation of alt bn128
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.502+00:00 | main | INFO  | Besu | Using the native implementation of modexp
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.503+00:00 | main | INFO  | Besu | Using the native implementation of the signature algorithm
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.511+00:00 | main | INFO  | Besu | Using the native implementation of the blake2bf algorithm
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.715+00:00 | main | INFO  | KeyPairUtil | Loaded public key 0xef4e361364b80f8c89f603a3572b8e1eb06b1fa6e30518d3f04e42f845460212ac056224bbe82afd7e147f3c85c2b9d413641900d28bc412ecf49698710062a9 from /opt/besu/data/node1/data/key
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.861+00:00 | main | INFO  | ProtocolScheduleBuilder | Protocol schedule created with milestones: [Berlin:0]
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.908+00:00 | main | INFO  | DatabaseMetadata | Lookup database metadata file in data directory: /opt/besu/data/node1/data
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:32.981+00:00 | main | INFO  | RocksDBKeyValueStorageFactory | Existing database detected at /opt/besu/data/node1/data. Version 1. Compacting database...
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:33.522+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction pool
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:33.548+00:00 | main | INFO  | BesuControllerBuilder | TTD difficulty is not present, creating initial sync phase for PoW
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:33.586+00:00 | main | INFO  | RunnerBuilder | Detecting NAT service.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:33.823+00:00 | main | INFO  | Runner | Starting external services ... 
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:33.824+00:00 | main | INFO  | JsonRpcHttpService | Starting JSON-RPC service on 0.0.0.0:8555
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.002+00:00 | vert.x-eventloop-thread-1 | INFO  | JsonRpcHttpService | JSON-RPC service started and listening on 0.0.0.0:8555
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.011+00:00 | main | INFO  | AutoTransactionLogBloomCachingService | Starting auto transaction log bloom caching service.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.013+00:00 | main | INFO  | LogBloomCacheMetadata | Lookup cache metadata file in data directory: /opt/besu/data/node1/data/caches
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.023+00:00 | main | INFO  | Runner | Starting Ethereum main loop ... 
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.024+00:00 | main | INFO  | DockerNatManager | Starting docker NAT manager.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.029+00:00 | main | INFO  | NetworkRunner | Starting Network.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.044+00:00 | nioEventLoopGroup-2-1 | INFO  | RlpxAgent | P2P RLPx agent started and listening on /[0:0:0:0:0:0:0:0]:30313.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.045+00:00 | main | INFO  | PeerDiscoveryAgent | Starting peer discovery agent on host=0.0.0.0, port=30313
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.074+00:00 | vert.x-eventloop-thread-1 | INFO  | VertxPeerDiscoveryAgent | Started peer discovery agent successfully, on effective host=0:0:0:0:0:0:0:0%0 and port=30313
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.076+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | P2P peer discovery agent started and listening on /[0:0:0:0:0:0:0:0%0]:30313
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.131+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | Writing node record to disk. NodeRecord{seq=3, publicKey=0x03ef4e361364b80f8c89f603a3572b8e1eb06b1fa6e30518d3f04e42f845460212, udpAddress=Optional[/127.0.0.1:30313], tcpAddress=Optional[/127.0.0.1:30313], asBase64=-Je4QGgxYtyZ-R00S67gOlTC9WcUv6MR_rfN_4kTA-10skmBGUyWACGTiA7LkE9i7lwa1QPsJzsBLwLY9sW5_ILa8pQDg2V0aMfGhPcCuAmAgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQPvTjYTZLgPjIn2A6NXK44esGsfpuMFGNPwTkL4RUYCEoN0Y3CCdmmDdWRwgnZp, nodeId=0x36dee94f262b00801741ccb8f847c8a17ad06cce38795dae9dea9bb56bf88c1a, customFields={tcp=30313, udp=30313, ip=0x7f000001, eth=[[0xf702b809, 0x]], id=V4, secp256k1=0x03ef4e361364b80f8c89f603a3572b8e1eb06b1fa6e30518d3f04e42f845460212}}
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.185+00:00 | main | INFO  | DefaultP2PNetwork | Enode URL enode://ef4e361364b80f8c89f603a3572b8e1eb06b1fa6e30518d3f04e42f845460212ac056224bbe82afd7e147f3c85c2b9d413641900d28bc412ecf49698710062a9@127.0.0.1:30313
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.185+00:00 | main | INFO  | DefaultP2PNetwork | Node address 0xf847c8a17ad06cce38795dae9dea9bb56bf88c1a
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.198+00:00 | main | INFO  | NetworkRunner | Supported capabilities: [eth/62, eth/63, eth/64, eth/65, eth/66, eth/67, eth/68], [snap/1]
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.198+00:00 | main | INFO  | DefaultSynchronizer | Starting synchronizer.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.199+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction handling following initial sync
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.201+00:00 | main | INFO  | FullSyncDownloader | Starting full sync.
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.202+00:00 | main | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.246+00:00 | main | INFO  | Runner | Ethereum main loop is up.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:34.392+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
�[32minitial-signer-002                 |�[0m Enode0: enode://ef4e361364b80f8c89f603a3572b8e1eb06b1fa6e30518d3f04e42f845460212ac056224bbe82afd7e147f3c85c2b9d413641900d28bc412ecf49698710062a9@127.0.0.1:30313
�[32minitial-signer-002                 |�[0m Enode1: enode://6a3b1ed973a09b1049cd0c2989c74efb54b0b81837dcca7fd0500243b87ba8a57733acd6b2a94dbab628ee337e0672d5e47f693085932ac3ffec92e816d5e5b2@127.0.0.1:30303
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:34.848+00:00 | nioEventLoopGroup-3-1 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 1 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:34.853+00:00 | nioEventLoopGroup-3-1 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 1 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.353+00:00 | main | INFO  | Besu | Starting Besu
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.892+00:00 | main | WARN  | Besu | --graphql-http-host has been ignored because --graphql-http-enabled was not defined on the command line.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.893+00:00 | main | WARN  | Besu | --rpc-ws-host has been ignored because --rpc-ws-enabled was not defined on the command line.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.989+00:00 | main | INFO  | Besu | 
�[32minitial-signer-002                 |�[0m ####################################################################################################
�[32minitial-signer-002                 |�[0m #                                                                                                  #
�[32minitial-signer-002                 |�[0m # Besu version 23.10.1                                                                             #
�[32minitial-signer-002                 |�[0m #                                                                                                  #
�[32minitial-signer-002                 |�[0m # Configuration:                                                                                   #
�[32minitial-signer-002                 |�[0m # Network: Custom genesis file specified                                                           #
�[32minitial-signer-002                 |�[0m # Network Id: 1337                                                                                 #
�[32minitial-signer-002                 |�[0m # Data storage: Forest                                                                             #
�[32minitial-signer-002                 |�[0m # Sync mode: Full                                                                                  #
�[32minitial-signer-002                 |�[0m # RPC HTTP APIs: ETH,NET,CLIQUE                                                                    #
�[32minitial-signer-002                 |�[0m # RPC HTTP port: 8565                                                                              #
�[32minitial-signer-002                 |�[0m # Using LAYERED transaction pool implementation                                                    #
�[32minitial-signer-002                 |�[0m #                                                                                                  #
�[32minitial-signer-002                 |�[0m # Host:                                                                                            #
�[32minitial-signer-002                 |�[0m # Java: openjdk-java-19                                                                            #
�[32minitial-signer-002                 |�[0m # Maximum heap size: 7.75 GB                                                                       #
�[32minitial-signer-002                 |�[0m # OS: linux-x86_64                                                                                 #
�[32minitial-signer-002                 |�[0m # glibc: 2.35                                                                                      #
�[32minitial-signer-002                 |�[0m # jemalloc: 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756                                      #
�[32minitial-signer-002                 |�[0m # Total memory: 30.99 GB                                                                           #
�[32minitial-signer-002                 |�[0m # CPU cores: 8                                                                                     #
�[32minitial-signer-002                 |�[0m #                                                                                                  #
�[32minitial-signer-002                 |�[0m # Plugins:                                                                                         #
�[32minitial-signer-002                 |�[0m # TOTAL = 0 of 0 plugins successfully loaded                                                       #
�[32minitial-signer-002                 |�[0m # from /opt/besu/plugins                                                                           #
�[32minitial-signer-002                 |�[0m #                                                                                                  #
�[32minitial-signer-002                 |�[0m ####################################################################################################
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.990+00:00 | main | INFO  | Besu | Connecting to 0 static nodes.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:37.990+00:00 | main | INFO  | Besu | Security Module: localfile
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.037+00:00 | main | INFO  | Besu | Using the native implementation of alt bn128
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.078+00:00 | main | INFO  | Besu | Using the native implementation of modexp
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.078+00:00 | main | INFO  | Besu | Using the native implementation of the signature algorithm
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.082+00:00 | main | INFO  | Besu | Using the native implementation of the blake2bf algorithm
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.219+00:00 | main | INFO  | KeyPairUtil | Loaded public key 0x5acdc7fc8e07575e4b7975f4220033786703db18ee99ed27b767ff4042a1cd9897d66a94014bb8dc429a81b3fb4588686bd6730a29f00d0d08097d121b6449e4 from /opt/besu/data/node2/data/key
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.359+00:00 | main | INFO  | ProtocolScheduleBuilder | Protocol schedule created with milestones: [Berlin:0]
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.400+00:00 | main | INFO  | DatabaseMetadata | Lookup database metadata file in data directory: /opt/besu/data/node2/data
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:38.452+00:00 | main | INFO  | RocksDBKeyValueStorageFactory | Existing database detected at /opt/besu/data/node2/data. Version 1. Compacting database...
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.120+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction pool
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.142+00:00 | main | INFO  | BesuControllerBuilder | TTD difficulty is not present, creating initial sync phase for PoW
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.175+00:00 | main | INFO  | RunnerBuilder | Detecting NAT service.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.334+00:00 | main | INFO  | Runner | Starting external services ... 
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.335+00:00 | main | INFO  | JsonRpcHttpService | Starting JSON-RPC service on 0.0.0.0:8565
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.568+00:00 | vert.x-eventloop-thread-1 | INFO  | JsonRpcHttpService | JSON-RPC service started and listening on 0.0.0.0:8565
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.574+00:00 | main | INFO  | AutoTransactionLogBloomCachingService | Starting auto transaction log bloom caching service.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.575+00:00 | main | INFO  | LogBloomCacheMetadata | Lookup cache metadata file in data directory: /opt/besu/data/node2/data/caches
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.583+00:00 | main | INFO  | Runner | Starting Ethereum main loop ... 
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.583+00:00 | main | INFO  | DockerNatManager | Starting docker NAT manager.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.590+00:00 | main | INFO  | NetworkRunner | Starting Network.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.602+00:00 | nioEventLoopGroup-2-1 | INFO  | RlpxAgent | P2P RLPx agent started and listening on /[0:0:0:0:0:0:0:0]:30323.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.603+00:00 | main | INFO  | PeerDiscoveryAgent | Starting peer discovery agent on host=0.0.0.0, port=30323
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.618+00:00 | vert.x-eventloop-thread-1 | INFO  | VertxPeerDiscoveryAgent | Started peer discovery agent successfully, on effective host=0:0:0:0:0:0:0:0%0 and port=30323
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.620+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | P2P peer discovery agent started and listening on /[0:0:0:0:0:0:0:0%0]:30323
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.656+00:00 | vert.x-eventloop-thread-1 | INFO  | PeerDiscoveryAgent | Writing node record to disk. NodeRecord{seq=3, publicKey=0x025acdc7fc8e07575e4b7975f4220033786703db18ee99ed27b767ff4042a1cd98, udpAddress=Optional[/127.0.0.1:30323], tcpAddress=Optional[/127.0.0.1:30323], asBase64=-Je4QOV0fGUH9iCIFATvANivtso-LachAI3J_hpXjjfSIEFTcAAD0ZUeF6bJH54A3Q4dk5PJMMINgmi1GH05f1A88jMDg2V0aMfGhPcCuAmAgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQJazcf8jgdXXkt5dfQiADN4ZwPbGO6Z7Se3Z_9AQqHNmIN0Y3CCdnODdWRwgnZz, nodeId=0x4ee102d35563d971c81098281225477e9c9271829b6c635210c136677ffd389e, customFields={tcp=30323, udp=30323, ip=0x7f000001, eth=[[0xf702b809, 0x]], id=V4, secp256k1=0x025acdc7fc8e07575e4b7975f4220033786703db18ee99ed27b767ff4042a1cd98}}
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.701+00:00 | main | INFO  | DefaultP2PNetwork | Enode URL enode://5acdc7fc8e07575e4b7975f4220033786703db18ee99ed27b767ff4042a1cd9897d66a94014bb8dc429a81b3fb4588686bd6730a29f00d0d08097d121b6449e4@127.0.0.1:30323
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.701+00:00 | main | INFO  | DefaultP2PNetwork | Node address 0x1225477e9c9271829b6c635210c136677ffd389e
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.712+00:00 | main | INFO  | NetworkRunner | Supported capabilities: [eth/62, eth/63, eth/64, eth/65, eth/66, eth/67, eth/68], [snap/1]
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.712+00:00 | main | INFO  | DefaultSynchronizer | Starting synchronizer.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.713+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction handling following initial sync
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.715+00:00 | main | INFO  | FullSyncDownloader | Starting full sync.
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.716+00:00 | main | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:39.727+00:00 | main | INFO  | Runner | Ethereum main loop is up.
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:39.850+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 1 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:39.855+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 1 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:39.997+00:00 | nioEventLoopGroup-3-4 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:39.998+00:00 | nioEventLoopGroup-3-4 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:40.013+00:00 | nioEventLoopGroup-3-2 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:44.998+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:44.999+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:45.015+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:50.000+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:50.001+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:50.016+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:03:55.001+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:03:55.002+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:03:55.017+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:00.002+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:00.005+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:00.018+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:05.003+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:05.006+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:05.019+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:10.004+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:10.007+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:10.020+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:15.005+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:15.008+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:15.021+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:20.007+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:20.009+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:20.021+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:25.007+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:25.010+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:25.022+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:30.008+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:30.011+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:30.025+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:35.010+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:35.012+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:35.026+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[33mbootnode-002-initial-signer-001    |�[0m 2023-12-26 05:04:40.010+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[36mbootnode-001-genesis               |�[0m 2023-12-26 05:04:40.012+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness
�[32minitial-signer-002                 |�[0m 2023-12-26 05:04:40.027+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 2 peers for usefulness

Network Configuration -- (cloud):

  • Open ports: 0-65535 [all ports] tcp and udp (For testing)

Versions

  • Software version: besu/v23.10.2/linux-x86_64/openjdk-java-18

  • Java version: openjdk version "18.0.2-ea" 2022-07-19
    OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-222.04)
    OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-222.04, mixed mode, sharing)

  • OS Name & Version:
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
    PRETTY_NAME="Ubuntu 22.04.2 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.2 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy

  • Kernel Version: Linux BC3 6.2.0-1018-azure update Cava library to Tuweni Library #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  • Docker Version:
    Client:
    Version: 20.10.21
    API version: 1.41
    Go version: go1.18.1
    Git commit: 20.10.21-0ubuntu1~22.04.3
    Built: Thu Apr 27 05:57:17 2023
    OS/Arch: linux/amd64
    Context: default
    Experimental: true

Server:
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.18.1
Git commit: 20.10.21-0ubuntu122.04.3
Built: Thu Apr 27 05:37:25 2023
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.6.12-0ubuntu1
22.04.3
GitCommit:
runc:
Version: 1.1.4-0ubuntu1~22.04.3
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:

  • Cloud VM, type, size: azure AMD EPYC 7763

Additional Information (Add any of the following or anything else that may be relevant)

  • Besu setup info
    genesis:
{
  "config": {
    "chainId": 1337,
    "berlinBlock": 0,
    "clique": {
      "blockperiodseconds": 15,
      "epochlength": 30000
    }
  },
  "coinbase": "0x0000000000000000000000000000000000000000",
  "difficulty": "0x1",
  "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000f6fae41ef694d1f626077725742f8a689040a4340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "gasLimit": "0xa00000",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": "0x0",
  "timestamp": "0x5c51a607",
  "alloc": {
    "fe3b557e8fb62b89f4916b721be55ceb828dbd73": {
      "privateKey": "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63",
      "comment": "private key and this comment are ignored.  In a real chain, the private key should NOT be stored",
      "balance": "0xad78ebc5ac6200000"
    },
    "627306090abaB3A6e1400e9345bC60c78a8BEf57": {
      "privateKey": "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3",
      "comment": "private key and this comment are ignored.  In a real chain, the private key should NOT be stored",
      "balance": "90000000000000000000000"
    },
    "f17f52151EbEF6C7334FAD080c5704D77216b732": {
      "privateKey": "ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f",
      "comment": "private key and this comment are ignored.  In a real chain, the private key should NOT be stored",
      "balance": "90000000000000000000000"
    }
  }
}

docker-compose file

version: '3.6'
services:
  bootnode-001-genesis:
    restart: on-failure
    image: genesis-v2
    container_name: bootnode-001-genesis
    network_mode: host
    volumes:
      - ./besu:/opt/besu
      - ./data:/opt/besu/data
    command:
      [
        "--identity=genesis",
        "--data-path=/opt/besu/data/node0/data",
        "--genesis-file=/opt/besu/data/cliqueGenesis.json",
        "--rpc-http-enabled=true",
        "--graphql-http-enabled=true",
        "--rpc-http-api=ETH,NET,CLIQUE,ADMIN",
        "--host-allowlist=*",
        "--rpc-http-cors-origins=all",
        "--nat-method=DOCKER"
      ]

  bootnode-002-initial-signer-001:
    container_name: bootnode-002-initial-signer-001
    restart: on-failure
    depends_on:
      - bootnode-001-genesis
    image: node-v2
    network_mode: host
    entrypoint: [ "./data/scripts/enode.sh" ]
    volumes:
      - ./besu:/opt/besu
      - ./data:/opt/besu/data
    command:
      [
        "--identity=bootnode-002-initial-signer-001",
        "--data-path=/opt/besu/data/node1/data",
        "--genesis-file=/opt/besu/data/cliqueGenesis.json",
        "--rpc-http-enabled=true",
        "--rpc-http-api=ETH,NET,CLIQUE,ADMIN",
        "--host-allowlist=*",
        "--rpc-http-cors-origins=all",
        "--p2p-port=30313", # 30303 + 10
        "--rpc-http-port=8555", # 8545 + 10
        "--nat-method=DOCKER"
      ]


  initial-signer-002:
    container_name: initial-signer-002
    restart: on-failure
    depends_on:
      - bootnode-001-genesis
      - bootnode-002-initial-signer-001
    image: node-v2
    network_mode: host
    entrypoint: [ "./data/scripts/nodes.sh" ]
    volumes:
      - ./besu:/opt/besu
      - ./data:/opt/besu/data
    command:
      [
        "--identity=initial-signer-002",
        "--data-path=/opt/besu/data/node2/data",
        "--genesis-file=/opt/besu/data/cliqueGenesis.json",
        "--rpc-http-enabled=true",
        "--rpc-http-api=ETH,NET,CLIQUE",
        "--host-allowlist=*",
        "--rpc-http-cors-origins=all",
        "--p2p-port=30323", # 30313 + 10
        "--rpc-http-port=8565", # 8555 + 10
        "--nat-method=DOCKER"
      ]

enode.sh

#!/bin/bash

declare -r TIMEOUT=5
declare ENODE0=""

while [ -z "$ENODE0" ]; do
    ENODE0=$(curl -s -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' http://127.0.0.1:8545 | jq -r '.result.enode')

    if [ -z "$ENODE0" ] || [ -z "${ENODE0+x}" ] || [ "$ENODE0" = "null" ]; then
        echo "Enode is either empty or null. Sleeping for $TIMEOUT seconds and retrying..."
        sleep $TIMEOUT
    else
        # Save ENODE0 to a file
        echo "$ENODE0" > /opt/besu/data/genesis_enode

        # Run Besu command with --bootnodes
        /opt/besu/bin/besu --bootnodes="$ENODE0" "$@"
        echo "Enode is $ENODE0"
    fi
done

node.sh

#!/bin/bash

declare -r TIMEOUT=5
declare enode0=""
declare enode1=""

while [ -z "$enode0" ] || [ -z "$enode1" ]; do
    enode0=$(curl -s -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' http://127.0.0.1:8555 | jq -r '.result.enode')
    enode1=$(cat /opt/besu/data/genesis_enode)

    if [ -z "$enode0" ] || [ -z "$enode1" ]; then
        echo "Enodes are empty. Sleeping for $TIMEOUT seconds and retrying..."
        sleep $TIMEOUT
    fi
done

# Both enode0 and enode1 have values
echo "Enode0: $enode0"
echo "Enode1: $enode1"

# Run Besu command with --bootnodes
/opt/besu/bin/besu --bootnodes="$enode1","$enode0" "$@"

  • System info
    memory: 32gb
    cpu: AMD EPYC 7763 @ 3.230ghz

  • Local system specs: (this work fine)
    Os: EndeavourOS Linux x86_64
    Cpu: AMD ryzen 5 5500U @ 4.045ghz
    Memory: 64gb

@abuyusif01
Copy link
Author

Ok nvm is not besu error, its my stupidity. and the solution is: make sure to generate keypairs on the host. in my case i was using same keypairs both locally and cloud deployed version.

@haerker
Copy link

haerker commented Apr 16, 2024

@abuyusif01
hello,
I also set network_mode to host like you, and while the blockchain can run normally, the nodes are not listening on the ports I specified.
like this:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:36185         0.0.0.0:*               LISTEN      611/node
tcp        0      0 127.0.0.1:6443          0.0.0.0:*               LISTEN      -
udp        0      0 127.0.0.1:323           0.0.0.0:*                           -
udp6       0      0 ::1:323                 :::*                                -

As a result, commands like curl are ineffective.
curl: (7) Failed to connect to localhost port 8545 after 0 ms: Connection refused
How did you solve this issue?

@abuyusif01
Copy link
Author

Hi @haerker

I believed we're facing a completely different here. My problem wasnt i cant connect to nodes, but rather i cant process transaction. And as i stated in the following thread. "I was generating key pairs locally and exporting them to remote development server". I fix that by generating the keys on the remote server.

In urcase from what i see is u cant even reach the services at all. I suggest u inspect ur docker-compose.yaml or share it here so i can have a look.

@haerker
Copy link

haerker commented Apr 17, 2024

Hi @abuyusif01
Thank you for your time. It seems that the issue I mentioned earlier about host mode not being supported in Docker for Windows. Now, I have changed the network_mode to bridge, but the node is still unable to synchronize. Can you help me with this issue?

Here is a part of a YAML file.
docker-compose.yml

version: "3"
services:
  node1:
    image: hyperledger/besu:24.1.2
    container_name: node-1
    network_mode: bridge
    # networks:
    #    besu-qbft-docker:
    #       ipv4_address: 172.16.240.11
    volumes:
      - ./Node-1:/root/Node-1
      - .:/root
    ports:
      - 8546:8546
      - 8545:8545
      - 30303:30303
    entrypoint: 
    - /opt/besu/bin/besu
    command: 
    - --nat-method=DOCKER
    - --genesis-file=/root/genesis.json
    - --node-private-key-file=/root/Node-1/data/key
    - --data-path=/root/Node-1/data
    - --min-gas-price=0 
    - --revert-reason-enabled 
    - --rpc-ws-enabled 
    - --rpc-ws-port=8546
    - --rpc-ws-host=0.0.0.0
    - --rpc-ws-api=ADMIN,ETH,NET,PERM,IBFT,WEB3 
    - --host-allowlist="*" 
    - --rpc-http-cors-origins="*"
    - --rpc-http-port=8545
    - --rpc-http-enabled
    - --rpc-http-host=0.0.0.0
    - --rpc-http-api=ADMIN,ETH,NET,PERM,IBFT,WEB3
    # - --graphql-http-enabled
    - --discovery-enabled=true

  node2:
    image: hyperledger/besu:24.1.2
    container_name: node-2
    network_mode: bridge
    # networks:
    #    besu-qbft-docker:
    #       ipv4_address: 172.16.240.12
    volumes:
      - ./Node-2:/root/Node-2
      - .:/root
    ports:
      - 8544:8544
      - 8543:8543
      - 30304:30304
    entrypoint: 
    - /opt/besu/bin/besu
    command: 
    - --nat-method=DOCKER
    - --bootnodes=enode://7d20883007464e00707b0619174231c23def8b917eb0bdbb6094486367d6accbb6d769a7eb78902ef5f5f0368f0af5a5b3dffd9cdd4311e22f56ba71a843c2c8@127.0.0.1:30303
    - --genesis-file=/root/genesis.json
    - --node-private-key-file=/root/Node-2/data/key
    - --data-path=/root/Node-2/data
    - --min-gas-price=0 
    - --revert-reason-enabled 
    - --rpc-ws-enabled 
    - --rpc-ws-port=8544
    - --rpc-ws-host=0.0.0.0
    - --rpc-ws-api=ADMIN,ETH,NET,PERM,IBFT,WEB3 
    - --host-allowlist=* 
    - --rpc-http-cors-origins="*"
    - --rpc-http-port=8543
    - --rpc-http-enabled
    - --rpc-http-host=0.0.0.0
    - --rpc-http-api=ADMIN,ETH,NET,PERM,IBFT,WEB3
    - --p2p-port=30304
    # - --graphql-http-enabled
    - --discovery-enabled=true

The result is.

node-1  | 2024-04-16 16:10:13.725+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-2  | 2024-04-16 16:10:13.836+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-3  | 2024-04-16 16:10:18.640+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-4  | 2024-04-16 16:10:18.651+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-1  | 2024-04-16 16:10:18.725+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-2  | 2024-04-16 16:10:18.837+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness

So, how can I achieve node synchronization in the bridge network mode?

@abuyusif01
Copy link
Author

abuyusif01 commented Apr 17, 2024

It looks like ur genesis block isnt syncing at all with any node. And that might be due to alot of reasons.

Am very much occupied with other work at this time, hence am open-sourcing my network so u can build urs upon that.
https://github.com/abuyusif01/HyperLedgerBesuClique/tree/v2

NOTE: Use the v2 branch.

Hope this will help

@majinbruce
Copy link

Hi @abuyusif01 Thank you for your time. It seems that the issue I mentioned earlier about host mode not being supported in Docker for Windows. Now, I have changed the network_mode to bridge, but the node is still unable to synchronize. Can you help me with this issue?

Here is a part of a YAML file. docker-compose.yml

  node2:
    image: hyperledger/besu:24.1.2
    container_name: node-2
    network_mode: bridge
    # networks:
    #    besu-qbft-docker:
    #       ipv4_address: 172.16.240.12
    volumes:
      - ./Node-2:/root/Node-2
      - .:/root
    ports:
      - 8544:8544
      - 8543:8543
      - 30304:30304
    entrypoint: 
    - /opt/besu/bin/besu
    command: 
    - --nat-method=DOCKER
    - --bootnodes=enode://7d20883007464e00707b0619174231c23def8b917eb0bdbb6094486367d6accbb6d769a7eb78902ef5f5f0368f0af5a5b3dffd9cdd4311e22f56ba71a843c2c8@127.0.0.1:30303
    - --genesis-file=/root/genesis.json
    - --node-private-key-file=/root/Node-2/data/key
    - --data-path=/root/Node-2/data
    - --min-gas-price=0 
    - --revert-reason-enabled 
    - --rpc-ws-enabled 
    - --rpc-ws-port=8544
    - --rpc-ws-host=0.0.0.0
    - --rpc-ws-api=ADMIN,ETH,NET,PERM,IBFT,WEB3 
    - --host-allowlist=* 
    - --rpc-http-cors-origins="*"
    - --rpc-http-port=8543
    - --rpc-http-enabled
    - --rpc-http-host=0.0.0.0
    - --rpc-http-api=ADMIN,ETH,NET,PERM,IBFT,WEB3
    - --p2p-port=30304
    # - --graphql-http-enabled
    - --discovery-enabled=true

The result is.

node-1  | 2024-04-16 16:10:13.725+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-2  | 2024-04-16 16:10:13.836+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-3  | 2024-04-16 16:10:18.640+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-4  | 2024-04-16 16:10:18.651+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-1  | 2024-04-16 16:10:18.725+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness
node-2  | 2024-04-16 16:10:18.837+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | Unable to find sync target. Currently checking 0 peers for usefulness

So, how can I achieve node synchronization in the bridge network mode?

use the private ip yo've assigned in

ipv4_address: 172.16.240.11

for your bootnode urls, This has to do with the network that you've created & how they communicate.
bootnodes=enode://7d20883007464e00707b0619174231c23def8b917eb0bdbb6094486367d6accbb6d769a7eb78902ef5f5f0368f0af5a5b3dffd9cdd4311e22f56ba71a843c2c8@172.16.240.11:30303

do this for all nodes.

@Params10
Copy link

I did the same, But the issue is that now I get the following :
node-1 | 2024-04-16 16:10:13.725+00:00 | EthScheduler-Timer-0 | INFO | FullSyncTargetManager | Unable to find sync target.Currently checking 3 peers for usefulness.

my genesis.yaml :
---
quorumFlags:
  removeGenesisOnDelete: true

cluster:
  provider: gke  # choose from: local | aws | azure
  cloudNativeServices: false

gke:
  serviceAccountName:xyz
  nodePoolName: xyz
  region: xyz
  projectID: xyz
aws:
  # the aws cli commands uses the name 'quorum-sa' so only change this if you altered the name
  serviceAccountName: quorum-sa
  # the region you are deploying to
  region: ap-southeast-2

azure:
  serviceAccountName: quorum-sa
  # the clientId of the user assigned managed identity created in the template
  identityClientId: azure-clientId
  keyvaultName: azure-keyvault
  # the tenant ID of the key vault
  tenantId: azure-tenantId
  # the subscription ID to use - this needs to be set explicitly when using multi tenancy
  subscriptionId: azure-subscriptionId

# the raw Genesis config
# rawGenesisConfig.blockchain.nodes set the number of validators/signers
rawGenesisConfig:
  genesis:
    config:
      chainId: 1337
      algorithm:
        consensus: qbft # choose from: ibft2 | qbft | clique
        blockperiodseconds: 5
        epochlength: 30000
        requesttimeoutseconds: 20
    gasLimit: '0x47b760'
    difficulty: '0x1'
    coinbase: '0x0000000000000000000000000000000000000000'
    includeQuickStartAccounts: true # set to true if you would like to use the quorum-dev-quickstart test accounts. This setting will be forced false if cloudNativeServices is set to true which is assuming a prod environment
    alloc:
      64d9be4177f418bcf4e56adad85f33e3a64efe22:
        balance: "0x446c3b15f9926687d2c40534fdb564000000000000"
      9f66f8a0f0a6537e4a36aa1799673ea7ae97a166:
        balance: "0x446c3b15f9926687d2c40534fdb564000000000000"
      a7f25969fb6f3d5ac09a88862c90b5ff664557a7:
        balance: "0x446c3b15f9926687d2c40534fdb564000000000000"
      f4bbfd32c11c9d63e9b4c77bb225810f840342df:
        balance: "0x446c3b15f9926687d2c40534fdb564000000000000"

  blockchain:
    nodes:
      generate: true
      count: 4
    accountPassword: 'password'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants