Cardinal-Cryptography / Cardinal-Cryptography/aleph-node-issues
aleph-node logs failed connections to a bootnode that is *not* on the BOOT_NODES list
- 主要言語
- 言語のデータがありません
- スター
- 2
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ソースファイルやテストは指定されていません。まず添付されたログアーカイブと BOOT_NODES 設定を確認し、報告された IP アドレスと peer ID がどのように選択され、解決されたかを追跡してください。非ブートノードのアドレスが試行された理由を特定し、誤った接続を防ぐ再現可能なチェックまたはテストを追加できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100