Hi,
We are having trouble with the Wifi connection between the Farmbot and our office Wifi network.
We are working with a Farmbot kit Genesis 1.4 and the Farmbot OS release 7.0.1.
After the Wifi setup we successfully get to see the Farmbot in the Webapp, but after 10 minutes or so, the Farmbot disconnects and seems to reboot after the log “Firmware is being stubbed” (Warning Level). After the reboot, the link between the Message Broker and the Farmbot is shown in yellow, as well as between Raspberry and Arduino. Diagnosis Message is the following:
FarmBot and the browser are both connected to the internet (or have been recently). Try rebooting FarmBot and refreshing the browser. If the issue persists, something may be preventing FarmBot from accessing the message broker (used to communicate with your web browser in real-time). If you are on a company or school network, a firewall may be blocking port 5672. (code 26)
We already checked the firewall with the IT team but it doesn’t seem to be the issue, since that port has been open.
Logs show the following:
Type | Status | Message | X,Y,Z | time |
---|---|---|---|---|
3 | Success | Got ARDUINO STARTUP COMPLETE. UART is up. | -1, -1, -1 | Apr 9, 6:33pm |
3 | Success | Successful Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:33pm |
2 | Busy | Beginning Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:33pm |
1 | Success | DNS resolution successful | -1, -1, -1 | Apr 9, 6:33pm |
1 | Success | Connected to access point. | -1, -1, -1 | Apr 9, 6:32pm |
3 | Success | Interface wlan0 is up. | -1, -1, -1 | Apr 9, 6:32pm |
3 | Busy | Waiting for interface wlan0 up. | -1, -1, -1 | Apr 9, 6:32pm |
3 | Info | Starting Networking | -1, -1, -1 | Apr 9, 6:32pm |
3 | Busy | Configuring Farmbot. | -1, -1, -1 | Apr 9, 6:32pm |
3 | Success | detected target UART: /dev/ttyACM0 | -1, -1, -1 | Apr 9, 6:32pm |
3 | Busy | Checking /root/boot | -1, -1, -1 | Apr 9, 6:32pm |
3 | Success | Got ARDUINO STARTUP COMPLETE. UART is up. | -1, -1, -1 | Apr 9, 6:31pm |
2 | Success | Successful Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:30pm |
2 | Busy | Beginning Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:30pm |
1 | Success | DNS resolution successful | -1, -1, -1 | Apr 9, 6:30pm |
1 | Success | Connected to access point. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Success | Interface wlan0 is up. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Busy | Waiting for interface wlan0 up. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Info | Starting Networking | -1, -1, -1 | Apr 9, 6:30pm |
3 | Busy | Configuring Farmbot. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Success | detected target UART: /dev/ttyACM0 | -1, -1, -1 | Apr 9, 6:30pm |
3 | Busy | Checking /root/boot | -1, -1, -1 | Apr 9, 6:30pm |
1 | Busy | Initializing Firmware. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Busy | Firmware not initialized yet. Waiting for R88 message. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Warn | Firmware is being stubbed. | -1, -1, -1 | Apr 9, 6:30pm |
2 | Success | Successful Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:30pm |
2 | Busy | Beginning Bootstrap authorization: zz@zz.zz - https-my.farm.bot | -1, -1, -1 | Apr 9, 6:30pm |
1 | Busy | Initializing Firmware. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Busy | Firmware not initialized yet. Waiting for R88 message. | -1, -1, -1 | Apr 9, 6:30pm |
3 | Warn | Firmware is being stubbed. | -1, -1, -1 | Apr 9, 6:30pm |
As you can see, it seems to enter in a loop while trying to initialize the firmware. We already flashed the SD card several times and also thought it could be an issue with the Access Point distance to the Farmbot, but today we managed to keep the Farmbot connected for 20 minutes or so before it started rebooting again. We also disabled the Factory Reset and the autoupdates check just in case.
Any help will be appreciated, thanks!
UPDATE: it started to work fine four hours ago.