FarmBot OS v13.0.1 incorporates updates that will improve connection reliability. If you had a FarmBot setup that recently stopped working after a FarmBot OS update, you may need to enable access to TCP port 8883 on your local area network. This previously unused port is now required to operate FBOS.
Please see this guide for a list of required TCP ports.
Hello @RickCarlino, hoping you can assist. The auto-update to 13.0.1 must have failed back on March 4th because our FarmBot was offline for 9 days (seemed to sync with logs and connectivity issues). Ironically, the 13.0.1 was supposed to improve reliability and itâs just the opposite now. The version before 13.0.1 had no issues, at least none that stopped our testing . I re-flashed the microSD card this past Saturday and all seemed to be OK (was able to run a sequence, etcâŚ). Later that night, once home, said FarmBot was offline and was flickering between sync and sync unknown. Our network team reported that attempts to resolve DNS at 4.4.4.4 and 8.8.8.8 (Googleâs DNS servers) were being attempted (not allowed) even though DHCP was used. In short, should be using our DNS vs. others. Any ideas? At this stage, we have checked ports in the security documentation and have disabled auto-update. Since the previous version was working fine, would feel more comfortable reverting back to last one. When we access os.farm.bot, only see 13.0.1. Thanks in advance for any assistance.
Thereâs no indication of global problems with the current FBOS release, but there is a new port requirement (8883).
This sounds a lot like your schools network has port 8883 blocked.
Are you sure that was us and not some other device? We donât use either of those.
Are you certain you werenât reading old documentation for FBOS v12? The most recent port list can be found here. As mentioned, port 8883 is the new one that some schools have not added to the allow list yet.
Iâm certain we will be able to fix the issue, but please do let me know if youâre still having trouble after enabling port 8883. We wonât support old versions after 60 days of a new release (the documentation explains why we donât allow old versions on the official server).
If you are absolutely certain that you have port 8883 enabled and are still hitting issues, let me know and I can try to remote in to your device to see what is going on. Please provide your device ID if it gets to that point.
Thanks @RickCarlino, appreciate your help as always. I have no explanation re: the 4.4.4.4 and 8.8.8.8 but was connected to the IP address. Weâre back in business. Port 8883 was the issue. I must have been looking at the incorrect documentation. Also, thanks for the update re: 60-days and old versions. In this case, we were unaware of the port requirement in 13.0.1. When FB attempted the auto-update, port 8883 wasnât open. Since I couldnât reset and activate the Configurator from the Web app (or forced power off/on aka: unplugging device), flashing the microSD was the only option.
@SGTX Not that Iâm aware of. FBOS is a Linux system built on top of hundreds if not thousands of Open Source networking libraries, so itâs possible, though unlikely, that one of them is trying to contact a hard-coded DNS.
To be sure, I have contacted some of the maintainers of our WiFi library. I canât guarantee that they respond, and the likelihood that they are using a hard coded DNS server is extremely low (this is unheard of to me, but not impossible).
I will let you know if they respond to my inquiry.
@SGTX I just found out that in the early stages of initialization, the WiFi setup wizard has a library that will ping 1.1.1.1 to see if the internet is up. This code is not maintained by FarmBot, Inc. I believe that this can be overiddden (have you tried changing the âNAMESERVERSâ option in advanced network settings?)
@SGTX Quick question about the unexpected requests to public DNS servers: Can your IT department confirm that actual DNS requests were made, or did they just assume that since the IP was a well-known DNS server, we must have been trying to use it as such?
After talking to the library maintainer some more, I found that although the library does connect to certain well-known IP addresses, it is not trying to actually use DNS. It is just trying to connect to a server that has a stable IP. This is used by the library to confirm that there is an internet connection without needing to use DNS (since DNS could possibly be misconfigured locally).
I hope this gives you a better understanding of the situation.
@RickCarlino, firstly, my sincerest apologies for the late response. Iâm not certain how this was missed. Well, glad to hear that we werenât dreaming about 1.1.1.1 and that itâs not used for DNS, just to check network availability. Weâre still encountering some intermittent issues preventing us from realizing our first crop. The team is drained, honestly. Most recently, we had to replace the camera (seal failed and water breached housing). More on that in another post (unrelated to network issues).
I have noticed the following error messages dotted throughout the logs. Any ideas?
I still think there are some network restrictions on your end that need to be addressed. The easiest way to isolate a FarmBot problem from a local network problem is to tether the device to a private, unrestricted network such as a 4G hotspot.
In the case of the error you posted, whatever DNS server that was provided to the device is refusing to resolve my.farm.bot.
I can SSH into your device and attempt to tping some known hosts to see if the DNS server is blocking just my.farm.bot or if it blocking all domains (or missing entirely). I wonât be able to provide a solution, but that information might be of use to your IT department.