Skip to content

Could not publish message error:insufficientPeers #4686

Description

@avenbreaks

Description

I am running 2 EL Geth, 2 CL Lighthouse, but experiencing insufficientPeers. I have added --subscribe-all-subnets and --target-peers 1.

Config:

lighthouse bn \
--datadir "/mnt/volume_sgp1_04/testnet/beacon-2" \
--testnet-dir "/root/testnet/output/custom_config_data" \
--http \
--eth1 \
--staking \
--http-address=127.0.0.1 \
--http-allow-sync-stalled \
--subscribe-all-subnets \
--http-allow-origin='*' \
--eth1-endpoints "http://127.0.0.1:8547" \
--execution-endpoints "http://127.0.0.1:8552" \
--import-all-attestations \
--genesis-backfill \
--target-peers 1 \
--listen-address '0.0.0.0' \
--http-port=5053 \
--enr-address 159.65.143.195 \
--enr-udp-port=9001 \
--enr-tcp-port=9001 \
--enr-match \
--discovery-port=9001 \
--port=9001 \
--metrics-allow-origin='*' \
--metrics \
--metrics-address "127.0.0.1" \
--metrics-port=5055 \
--logfile-debug-level info \
--logfile-max-number 5 \
--logfile-max-size 200 \
--logfile-compress \
--jwt-secrets="/root/testnet/output/el/jwtsecret" \
--suggested-fee-recipient "0xffffcC6961f8725D09FF09d99560f12F6a8a74a5" \
--graffiti "Cybria-2T" \
--boot-nodes="enr:-Ly4QIJy75hHCCAt68R-37348iQipyVaXtj1PvMqx9x_9eXUDdVd_t6mygwjNqOJGP3TH1hcfu_0Ijrol2OES_3VjmpGh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDenD0nQAARIv__________gmlkgnY0gmlwhJ9Bj8OJc2VjcDI1NmsxoQKEoOJdoWU5aVl4jonrO3f_44l-lk51rZVj6X5_ZhE9oYhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA"

Logs Geth:

Aug 31 13:47:04 cybria-1 geth[145339]: INFO [08-31|13:47:04.014|miner/payload_building.go:198]                 Stopping work on payload                 id=0x793ca1e572139cda reason=delive
ry 
Aug 31 13:47:04 cybria-1 geth[145339]: INFO [08-31|13:47:04.045|core/blockchain_insert.go:77]                  Imported new potential chain segment     number=566 hash=f3906c..b5c86e bloc
ks=1 txs=0 mgas=0.000 elapsed=2.758ms     mgasps=0.000 dirty=0.00B 
Aug 31 13:47:04 cybria-1 geth[145339]: INFO [08-31|13:47:04.094|core/blockchain.go:2276]                       Chain head was updated                   number=566 hash=f3906c..b5c86e root
=8bff4e..b32ccf elapsed=2.841402ms 

Logs Beacon:

Aug 31 13:37:45 cybria-1 lighthouse[147150]: Aug 31 05:37:45.586 WARN Could not publish message               error: InsufficientPeers, service: libp2p 
Aug 31 13:37:45 cybria-1 lighthouse[147150]: Aug 31 05:37:45.592 INFO Sync committee message                  validator: 58, src: api, slot: 4065, epoch: 127, delay_ms: 163, head: 0x25f5
~@2aba, service: val_mon 

Logs Validator:

Aug 31 13:45:40 cybria-1 lighthouse[149709]: Aug 31 05:45:40.010 INFO Requesting unsigned block               slot: 4105, service: block 
Aug 31 13:45:40 cybria-1 lighthouse[149709]: Aug 31 05:45:40.055 INFO Received unsigned block                 slot: 4105, service: block 
Aug 31 13:45:40 cybria-1 lighthouse[149709]: Aug 31 05:45:40.075 INFO Publishing signed block                 signing_time_ms: 19, slot: 4105, service: block 
Aug 31 13:45:40 cybria-1 lighthouse[149709]: Aug 31 05:45:40.181 INFO Successfully published block            slot: 4105, graffiti: Some("Cybria-1T"), attestations: 1, deposits: 0, block_
type: Full, service: block 
Aug 31 13:45:44 cybria-1 lighthouse[149709]: Aug 31 05:45:44.061 INFO Successfully published attestations     type: unaggregated, slot: 4105, committee_index: 0, head_block: 0x3124ececcfb
57461f595fa1aba4f01292ea4bbaaa60d15d00c346499622a28fb, validator_indices: [21, 12], count: 2, service: attestation 
Aug 31 13:45:44 cybria-1 lighthouse[149709]: Aug 31 05:45:44.939 INFO Successfully published sync committee messages, slot: 4105, head_block: 0x3124ececcfb57461f595fa1aba4f01292ea4bbaaa60
d15d00c346499622a28fb, count: 64, service: sync_committee 
Aug 31 13:45:46 cybria-1 lighthouse[149709]: Aug 31 05:45:46.000 INFO Connected to beacon node(s)             synced: 1, available: 1, total: 1, service: notifier 
Aug 31 13:45:46 cybria-1 lighthouse[149709]: Aug 31 05:45:46.000 INFO All validators active                   slot: 4105, epoch: 128, total_validators: 64, active_validators: 64, current_
epoch_proposers: 32, service: notifier 
Local time: Thu 2023-08-31 13:34:58 +08
Universal time: Thu 2023-08-31 05:34:58 UTC
RTC time: Thu 2023-08-31 05:34:59    
Time zone: Asia/Singapore (+08, +0800)
System clock synchronized: yes                        
NTP service: active                     
RTC in local TZ: no   

Version

Lighthouse v4.3.0-dfcb336
BLS library: blst-portable
SHA256 hardware acceleration: false
Allocator: jemalloc
Profile: maxperf
Specs: mainnet (true), minimal (false), gnosis (true)

Present Behaviour

Describe the present behaviour of the application, with regards to this
issue.

Expected Behaviour

How should the application behave?

Steps to resolve

Please describe the steps required to resolve this issue, if known.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUser question (not actionable)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions