What happened?
Hi,
I added node 338 on my testnet farm 23 and I'm trying to set up farmerbot on it
I must precise some context first
- farmerbot is hosted on a debian trixie VM A on subnet A
- node to wakeup is on subnet B
- wakeonlan "mac address of node NIC" sent from VM A is working correctly and wake up the node
The trick to make it work across subnets is to create a socat connection on the router (openwrt 2024.10.2)
socat -u UDP-RECVFROM:9,interface=(int for subnet A),fork UDP-DATAGRAM:(broadcast IP of subnet B):7,broadcast
Despite a working wakeonlan command, farmerbot doesn't seem to wake up my node. It's stuck in "waking up" state
Could you please tell me what command is sent by farmerbot to wake up the node ? It would help to explain why it is not working correctly.
I pinpointed the last waking up attempt to 20250921 5 PM CEST, log output provided here
If you need more info please don't hesitate
which network/s did you face the problem on?
Test
Twin ID/s
No response
Version
No response
Node ID/s
338
Farm ID/s
No response
Contract ID/s
No response
Relevant log output
ep 21 16:51:10 grafana farmerbot[158]: 4:51PM DBG connecting url=wss://tfchain.test.grid.tf/ws
Sep 21 16:51:10 grafana farmerbot[158]: 2025/09/21 16:51:10 Connecting to wss://tfchain.test.grid.tf/ws...
Sep 21 16:51:11 grafana farmerbot[158]: 4:51PM DBG Fetch nodes
Sep 21 16:51:11 grafana farmerbot[158]: 4:51PM DBG Add/update node nodeID=95
Sep 21 16:51:11 grafana farmerbot[158]: 4:51PM DBG Node is updated with latest changes successfully nodeID=95
Sep 21 16:51:11 grafana farmerbot[158]: 4:51PM DBG Add/update node nodeID=338
Sep 21 16:53:12 grafana farmerbot[158]: 4:53PM ERR error="failed to update node 338 with error: failed to get node 338 statistics from rmb with error: context deadline exceeded"
Sep 21 16:53:12 grafana farmerbot[158]: 4:53PM INF Too low resource usage, resources usage for online nodes: CRU:7%, SRU:20%, MRU:14%, HRU:0%
Sep 21 16:53:12 grafana farmerbot[158]: 4:53PM DBG Nothing to shutdown
Sep 21 16:53:12 grafana farmerbot[158]: 4:53PM DBG Nodes report
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><8C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>>
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><82> ID <E2><94><82> STATE <E2><94><82> RENTED <E2><94><82> DEDICATED <E2><94><82> PUBLIC CONFIG <E2><94><82> USAGE <E2><94><82> HAS ACTIVE NODE CONTRACTS <E2><94><82> RANDOM WAKE-UPS <E2><94><82> PERIODIC WAKE-UP <E2> >
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>>
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><82> 95 <E2><94><82> ON <E2><94><82> false <E2><94><82> false <E2><94><82> false <E2><94><82> CRU:6%, SRU:19%, <E2><94><82> true <E2><94><82> 0 <E2><94><82> - <E2> >
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:13%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> <E2> >
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>>
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><82> 338 <E2><94><82> OFF <E2><94><82> false <E2><94><82> true <E2><94><82> false <E2><94><82> CRU:0%, SRU:1%, <E2><94><82> false <E2><94><82> 0 <E2><94><82> - <E2> >
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:9%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> <E2> >
Sep 21 16:53:12 grafana farmerbot[158]: <E2><94><94><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>>
Sep 21 16:58:12 grafana farmerbot[158]: 4:58PM DBG connecting url=wss://tfchain.test.grid.tf:443
Sep 21 16:58:12 grafana farmerbot[158]: 2025/09/21 16:58:12 Connecting to wss://tfchain.test.grid.tf:443...
Sep 21 16:58:12 grafana farmerbot[158]: 4:58PM DBG Fetch nodes
Sep 21 16:58:12 grafana farmerbot[158]: 4:58PM DBG Add/update node nodeID=95
Sep 21 16:58:13 grafana farmerbot[158]: 4:58PM DBG Node is updated with latest changes successfully nodeID=95
Sep 21 16:58:13 grafana farmerbot[158]: 4:58PM DBG Add/update node nodeID=338
Sep 21 17:00:13 grafana farmerbot[158]: 5:00PM ERR error="failed to update node 338 with error: failed to get node 338 statistics from rmb with error: context deadline exceeded"
Sep 21 17:00:13 grafana farmerbot[158]: 5:00PM INF Periodic wake up nodeID=338
Sep 21 17:00:13 grafana farmerbot[158]: 5:00PM INF POWER ON nodeID=338
Sep 21 17:00:18 grafana farmerbot[158]: 5:00PM INF Too low resource usage, resources usage for online nodes: CRU:5%, SRU:17%, MRU:13%, HRU:0%
Sep 21 17:00:18 grafana farmerbot[158]: 5:00PM DBG Nothing to shutdown
Sep 21 17:00:18 grafana farmerbot[158]: 5:00PM DBG Nodes report
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><8C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80>>
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><82> ID <E2><94><82> STATE <E2><94><82> RENTED <E2><94><82> DEDICATED <E2><94><82> PUBLIC CONFIG <E2><94><82> USAGE <E2><94><82> HAS ACTIVE NODE CONTRACTS <E2><94><82> RANDOM WAKE-UPS <E2><94><82> PERIODIC WAKE-UP >
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80>>
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><82> 95 <E2><94><82> ON <E2><94><82> false <E2><94><82> false <E2><94><82> false <E2><94><82> CRU:6%, SRU:19%, <E2><94><82> true <E2><94><82> 0 <E2><94><82> - >
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:13%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> >
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80>>
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><82> 338 <E2><94><82> Waking up <E2><94><82> false <E2><94><82> true <E2><94><82> false <E2><94><82> CRU:0%, SRU:1%, <E2><94><82> false <E2><94><82> 0 <E2><94><82> "05:00PM" >
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:9%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> >
Sep 21 17:00:18 grafana farmerbot[158]: <E2><94><94><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80>>
Sep 21 17:05:18 grafana farmerbot[158]: 5:05PM DBG connecting url=wss://tfchain.test.grid.tf/ws
Sep 21 17:05:18 grafana farmerbot[158]: 2025/09/21 17:05:18 Connecting to wss://tfchain.test.grid.tf/ws...
Sep 21 17:05:18 grafana farmerbot[158]: 5:05PM DBG Fetch nodes
Sep 21 17:05:18 grafana farmerbot[158]: 5:05PM DBG Add/update node nodeID=95
Sep 21 17:05:19 grafana farmerbot[158]: 5:05PM DBG Node is updated with latest changes successfully nodeID=95
Sep 21 17:05:19 grafana farmerbot[158]: 5:05PM DBG Add/update node nodeID=338
Sep 21 17:07:19 grafana farmerbot[158]: 5:07PM ERR error="failed to update node 338 with error: failed to get node 338 statistics from rmb with error: context deadline exceeded"
Sep 21 17:07:19 grafana farmerbot[158]: 5:07PM INF Too low resource usage, resources usage for online nodes: CRU:5%, SRU:17%, MRU:13%, HRU:0%
Sep 21 17:07:19 grafana farmerbot[158]: 5:07PM DBG Nothing to shutdown
Sep 21 17:07:19 grafana farmerbot[158]: 5:07PM DBG Nodes report
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><8C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><AC><E2><94><80>>
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><82> ID <E2><94><82> STATE <E2><94><82> RENTED <E2><94><82> DEDICATED <E2><94><82> PUBLIC CONFIG <E2><94><82> USAGE <E2><94><82> HAS ACTIVE NODE CONTRACTS <E2><94><82> RANDOM WAKE-UPS <E2><94><82> PERIODIC WAKE-UP >
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80>>
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><82> 95 <E2><94><82> ON <E2><94><82> false <E2><94><82> false <E2><94><82> false <E2><94><82> CRU:6%, SRU:19%, <E2><94><82> true <E2><94><82> 0 <E2><94><82> - >
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:13%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> >
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><9C><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><BC><E2><94><80>>
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><82> 338 <E2><94><82> Waking up <E2><94><82> false <E2><94><82> true <E2><94><82> false <E2><94><82> CRU:0%, SRU:1%, <E2><94><82> false <E2><94><82> 0 <E2><94><82> "05:00PM" >
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> <E2><94><82> MRU:9%, HRU:0% <E2><94><82> <E2><94><82> <E2><94><82> >
Sep 21 17:07:19 grafana farmerbot[158]: <E2><94><94><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><B4><E2><94><80>>
What happened?
Hi,
I added node 338 on my testnet farm 23 and I'm trying to set up farmerbot on it
I must precise some context first
The trick to make it work across subnets is to create a socat connection on the router (openwrt 2024.10.2)
socat -u UDP-RECVFROM:9,interface=(int for subnet A),fork UDP-DATAGRAM:(broadcast IP of subnet B):7,broadcastDespite a working wakeonlan command, farmerbot doesn't seem to wake up my node. It's stuck in "waking up" state
Could you please tell me what command is sent by farmerbot to wake up the node ? It would help to explain why it is not working correctly.
I pinpointed the last waking up attempt to 20250921 5 PM CEST, log output provided here
If you need more info please don't hesitate
which network/s did you face the problem on?
Test
Twin ID/s
No response
Version
No response
Node ID/s
338
Farm ID/s
No response
Contract ID/s
No response
Relevant log output