-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
A farmer reported that their node 2358 on mainnet no longer appeared online in the dashboard. I pulled the node logs and saw ongoing errors that the node failed to register with "extrinsic temporarily banned". Since that's caused by insufficient wallet balance for the node, I checked and saw that the node had only 0.0018 TFT and was therefore likely unable to complete transactions.
Then I funded the node wallet with 0.1 TFT and asked the farmer to boot the node up again. This time I was able to observe what had caused the node to drain its wallet:
[+] noded: 2024-09-12T19:18:54Z warn registration failed error="failed to register node: failed to update node data with id: 2358: failed to update node: InterfaceIpTooShort" sleep=342.453987ms
Just scanning the node logs, I don't see any obvious cause for this error. Maybe there's some clue in here:
[+] networkd/test: ## Status for network
[-] dhcp-npub4: npub4: adding default route via 192.168.68.1
[-] dhcp-npub4: npub4: adding route to 192.168.68.0/24
[-] dhcp-npub4: npub4: leased 192.168.68.111 for 7200 seconds
[+] networkd/test: 2024-09-12T19:18:25Z fatal exiting error="context deadline exceeded"
[+] networkd/test: 2024-09-12T19:18:25Z error failed to get status for module error="context deadline exceeded" module=network
[+] networkd/test: ## Status for network
[-] dhcp-npub4: npub4: probing address 192.168.68.111/24
[-] dhcp-npub4: npub4: soliciting an IPv6 router
[-] dhcp-npub4: npub4: offered 192.168.68.111 from 192.168.68.1
[-] dhcp-npub4: npub4: soliciting a DHCP lease
[+] networkd/test: 2024-09-12T19:18:19Z fatal exiting error="context deadline exceeded"
[+] networkd/test: 2024-09-12T19:18:19Z error failed to get status for module error="context deadline exceeded" module=network
[+] api-gateway: 2024-09-12T19:18:19Z info starting api-gateway module broker=unix:///var/run/redis.sock worker nr=1
[+] api-gateway: 2024-09-12T19:18:19Z info starting peer session= twin=3998
[-] dhcp-npub4: ipv6_addaddr1: Permission denied
[-] dhcp-npub4: npub4: adding address fe80::20bf:7ae4:8b36:75e2
[-] dhcp-npub4: npub4: IAID be:41:2e:c7
[-] dhcp-npub4: DUID 00:04:99:59:a1:a8:a1:d6:00:00:00:00:00:00:00:00:00:00
We have two problems here:
- The node is apparently submitting an invalid IP address to TF Chain (the error is triggered by a simple check that the address is longer than seven characters)
- The node continues forever in a way that causes its wallet to get drained (I thought fees for node transactions got refunded? Maybe this is just solved by preventing Zos from trying to do this in the first place)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type_bugSomething isn't workingSomething isn't working