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

dialPeersCommand Restart #3374

Open
haroldboom opened this issue Oct 29, 2024 · 1 comment
Open

dialPeersCommand Restart #3374

haroldboom opened this issue Oct 29, 2024 · 1 comment

Comments

@haroldboom
Copy link
Contributor

Issue description

On most node restarts I am getting a crash when dialing peers, there are no error messages reported besides the restart

Expected behavior

a normal startup

Actual behavior

dialPeersCommand looks like its causing an uncommanded restart of otnode.

Steps to reproduce the problem

  1. Startup a node with multiple paranets

Specifications

  • Node version: 16.20.1
  • Platform: Ubuntu 22.04
  • Node wallet: 0xcdCE44FAe503687E857Df4071281c99F11C4619d
  • Node libp2p identity: 29

Error logs

Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] INFO: [otnodeUpdateCommand] (Command ID: 41b09741-2c6f-4890-a203-e9bf11d5111b) Checking for new updates... Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] DEBUG: AutoUpdater - Comparing versions... Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] DEBUG: AutoUpdater - Reading app version from /root/ot-node/8.1.0+beta.12/package.json Oct 29 21:57:27 ottest4 node[27038]: Something went really wrong! OT-node shutting down... Error: Peer lookup failed Oct 29 21:57:27 ottest4 node[27038]: at Object.findPeer (/root/ot-node/8.1.0+beta.12/node_modules/libp2p-kad-dht/src/peer-routing/index.js:144:23) Oct 29 21:57:27 ottest4 node[27038]: at processTicksAndRejections (node:internal/process/task_queues:96:5) { Oct 29 21:57:27 ottest4 node[27038]: code: 'ERR_LOOKUP_FAILED' Oct 29 21:57:27 ottest4 node[27038]: } Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Dialing 10 remote peers Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma1WBsooDBjD5Y1cNNL7poWRqwDZ8n1SmVvPj6dSUy6iU multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma4dyCdVTyGxuA6DZqSSiCRnTH4vpBJP59pdSqFX2Zv9S multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma4L4SfcneLGpttSLHoW8kPqaLAqtv7ZQXK8emNaqVewu multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaA4qmRAv96nByw45yA1qSMSNL6VFJptbJpFnc84y38Vv multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaApDqitcEhp4aWhZ6q4mtgXGaScXvAMhJMAvnt798w36 multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaBSE3BrZ4M1ZugmKAPjwsSvsgfnUAGmLkRaMiu2SNvwg multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qmac9ZXFENzVFM8kYxGXr9Ev7fBwmFBhQCG1XT5xjm9YGU multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaCAauGd826aEeEoGaXMfCYrZoHwhBLgxfbxQJhzeQc1k multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaEtgsG856134p3ijieDGWpzpNNyipMVbBM4XUCb1HByF multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaFMMSSvA2TCBr7sEgFXRKbv6yy6J3Wia8QPzPvpHGV18 multiaddresses in peer store. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma1WBsooDBjD5Y1cNNL7poWRqwDZ8n1SmVvPj6dSUy6iU multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma4dyCdVTyGxuA6DZqSSiCRnTH4vpBJP59pdSqFX2Zv9S multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qma4L4SfcneLGpttSLHoW8kPqaLAqtv7ZQXK8emNaqVewu multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaA4qmRAv96nByw45yA1qSMSNL6VFJptbJpFnc84y38Vv multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaApDqitcEhp4aWhZ6q4mtgXGaScXvAMhJMAvnt798w36 multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaBSE3BrZ4M1ZugmKAPjwsSvsgfnUAGmLkRaMiu2SNvwg multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer Qmac9ZXFENzVFM8kYxGXr9Ev7fBwmFBhQCG1XT5xjm9YGU multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaEtgsG856134p3ijieDGWpzpNNyipMVbBM4XUCb1HByF multiaddresses on the network. Oct 29 21:57:27 ottest4 node[27038]: [2024-10-29 21:57:27] TRACE: [dialPeersCommand] (Command ID: c0b474c9-b5c5-49b3-b744-cda35c5dd3fc) Searching for peer QmaFMMSSvA2TCBr7sEgFXRKbv6yy6J3Wia8QPzPvpHGV18 multiaddresses on the network. Oct 29 21:57:27 ottest4 systemd[1]: otnode.service: Main process exited, code=exited, status=1/FAILURE Oct 29 21:57:27 ottest4 systemd[1]: otnode.service: Failed with result 'exit-code'. Oct 29 21:57:27 ottest4 systemd[1]: otnode.service: Consumed 6.748s CPU time. Oct 29 21:57:27 ottest4 systemd[1]: otnode.service: Scheduled restart job, restart counter is at 1. Oct 29 21:57:27 ottest4 systemd[1]: Stopped OriginTrail V6 Node. Oct 29 21:57:27 ottest4 systemd[1]: otnode.service: Consumed 6.748s CPU time. Oct 29 21:57:27 ottest4 systemd[1]: Started OriginTrail V6 Node. Oct 29 21:57:28 ottest4 node[27128]: [2024-10-29 21:57:28] USERLVL: level-change Oct 29 21:57:28 ottest4 node[27128]: [2024-10-29 21:57:28] WARN: ====================================================== Oct 29 21:57:28 ottest4 node[27128]: [2024-10-29 21:57:28] WARN: Using node.js version: 16.20.1

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [email protected].

@r-cryptozel
Copy link

I have the same problem like this. Is there any solution sir?

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

2 participants