Cardinal-Cryptography / Cardinal-Cryptography/aleph-node-issues

aleph-node logs failed connections to a bootnode that is *not* on the BOOT_NODES list

Aperta
#4 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Did you read the documentation and guides?

- [X] I have inspected the documentation.

### Is there an existing issue?

- [X] I have searched the existing issues.

### Description of the problem

my testnet node 1 (QNODE-TEST) started logging some events yesterday (Apr-2-2023), starting at 2023-04-02 13:13:07 PDT. Events continued until the node was restarted at 2023-04-02 14:06:08 PDT. a pair of the same event was logged every 5s or so:

`2023-04-02 13:13:07 💔 The bootnode you want to connect to at `/ip4/84.245.33.122/tcp/30333/p2p/12D3KooWRkGLz4YbVmrsWK75VjFTs8NvaBu42xhAmQaP4KeJpw1L` provided a different peer ID `12D3KooWJgniH6kTFxLAZUVaP2nE7ohrMVjFMXBbbyph1uGYFDL6` than the one you expect `12D3KooWRkGLz4YbVmrsWK75VjFTs8NvaBu42xhAmQaP4KeJpw1L`

I posted about this on the discord testnet-validator-general channel: https://discord.com/channels/775720634848116807/1050508965647233055/1092203956324814848

Another validator (Bart | StakeSafe) confirmed that the IP address logged (84.245.33.122) belonged to his ISP (Cambrium IT Services BV). All of the AZF bootnodes seem to be hosted on Amazon, so there was a mismatch of sort

the connection attempted was using one of my "regular" peers IP address along with a peer_id belonging to an actual AZF bootnode (the first on the bootnode list): _bootnode-eu-central-1-0.test.azero.dev_

_bootnode-eu-central-1-0.test.azero.dev_ resolved to the correct IP address (18.184.79.200) on the same testnet machine
the problem persisted until i restarted aleph-node. after restarting, the issue disappeared

### Information on your setup.

testnet validator ✌️ version 0.10.1-9c6a46952d3 (built from source)
node name: QNODE-TEST
peer_id: 12D3KooWMW86EoNYwBar6e5Gcnmaa13N6JsnzYVPPVGsmvjUddWt
OS: ubuntu 22.04.02
hardware: VM on ESXi hypervisor, AMD AMD EPYC 7302 (8c/16t dedicated), 64GB ECC RAM, 1×100 GB SSD, 1×1.92 TB SSD NVMe, 1G connectivity, business fibre (static IP)
IP address: 206.116.52.219

### Steps to reproduce

not sure how to reproduce

[backup-aleph-node-testnet-2023-04-02T1406.zip](https://github.com/Cardinal-Cryptography/aleph-node-issues/files/11140221/backup-aleph-node-testnet-2023-04-02T1406.zip)

### Did you attach relevant logs?

- [X] I have attached logs (if relevant).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Non vengono indicati file sorgente né test. Inizia esaminando l’archivio dei log allegato e la configurazione BOOT_NODES, quindi ricostruisci come sono stati selezionati e risolti l’indirizzo IP e gli ID dei peer segnalati. Il lavoro è completato quando viene identificato il motivo per cui è stato tentato un indirizzo non appartenente a un bootnode e viene aggiunto un controllo o un test riproducibile che impedisca la connessione errata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
networking
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.