Local DNS issues with FarmbotOS


#1

Hi there! I recently (day before yesterday) finished my build and am too having DNS resolution failures and token refresh failures.

I’ve tried on WiFi and Ethernet (after reading this forum and similar problems) - what logs would you want from me to further help diagnose? It’s currrntly pretty unusable and constantly dropping off - can’t even get it to stay online long enough to set the tool positions.

FWIW it’s about 5 meters from an outdoor access point, with clean airtime.

I run my own local DNS and don’t actually see it hitting any queries when it says it fails. I also don’t see it dropping the WiFi link, it seems clear. There are another 30-50 little ESP8266s that are on the same VLAN and have no trouble, so I’m pretty confident in the network.

Happy to help, please let me know! Cheers,


Farmbot disconnects after token refresh
#2

I’ve split this topic since i think this might actually be a bug in the low level networking layer. First though, i need a bit of information.

  • What version of FarmBot OS are you using?
  • Are you using FarmBot’s servers, or a local instance?
  • What error logs do you see in the ticker/logs panel?

Right now you should be able to manually set the dns server in configurator’s advanced settings, though depending on a few other things, this may not solve your issue.


#3

Thanks!

Farmbot version is 6.4.11, I’m using farmbot cloud (debating local!), and all I see when this happens is “Cannot resolve my.farm.bot” over and over.


#4

Hey @connor that´s not for real?!? I am reporting these connectivity issues since month which basically make the farmbot unusable and now as a second person has the same errors you begin looking into this topic? You guys really need to work on your support strategy! Even one bot which is not working is too much!

As you know from all the other threads I am running on 6.4.11 on the online version. My error logs I posted in many threads but happy to repost:
Error Trying to resolve https://my.farm.bot 9 more times. 0.6, 0.8, 0.5 Oct 5, 7:07am

Btw why are you not using the new diagnose function?

Guys I am really once more disappointed from your (not) support, you need to change that immediately!


#5

Here’s a most recent log, I’m going to try downgrading to 6.4.9 per other thread to see if that helps… (it can’t even finish a single watering at this point)

|Error|Trying to resolve https://my.farm.bot 8 more times.|530, 100, -500|Oct 6, 1:23pm|
| --- | --- | --- | --- |
|1

Success|Farmbot is up and running!|-1, -1, -1|Oct 6, 1:23pm|
|1

Error|Trying to resolve https://my.farm.bot 9 more times.|530, 100, -500|Oct 6, 1:22pm|
|1

Info|Forcing a token refresh.|530, 100, -500|Oct 6, 1:22pm|
|1

Success|Movement to (530.0, 100.0, -500.0) complete.|-1, -1, -1|Oct 6, 1:22pm|
|1

Busy|Moving to (530.0, 100.0, -500.0)|-1, -1, -1|Oct 6, 1:22pm|
|1

Info|[MLH] Moving absolute: {'y': 100, 'x': 530, 'z': -500}|530, 100, -500|Oct 6, 1:22pm|
|1

Success|Movement to (530.0, 100.0, -500.0) complete.|530, 100, -500|Oct 6, 1:22pm|
|1

Success|Farmbot is up and running!|-1, -1, -1|Oct 6, 1:22pm|
|1

Info|Forcing a token refresh.|110, 100, -294.6|Oct 6, 1:21pm|
|1

Busy|Moving to (110.0, 100.0, 0.0)|2585, 0.2, -328|Oct 6, 1:20pm|
|2

Success|[Get Water Nozzle] - Sequence complete.|2585, 0.2, -328|Oct 6, 1:20pm|
|1

Success|Movement to (2585.0, 0.2, -328.0) complete.|2585, 0.2, -328|Oct 6, 1:20pm|
|1

Success|Wireless network reconnected.|2585, 0.2, -405.28|Oct 6, 1:20pm|
|1

Busy|Moving to (2585.0, 0.2, -328.0)|2585, 0.2, -428|Oct 6, 1:20pm|
|2

Info|[Get Water Nozzle] - Sequence Executing: MoveRelative|2585, 0.2, -428|Oct 6, 1:20pm|
|1

Success|Movement to (2585.0, 0.2, -428.0) complete.|2585, 0.2, -428|Oct 6, 1:20pm|
|1

Busy|Moving to (2585.0, 0.2, -428.0)|2735, 0.2, -428|Oct 6, 1:20pm|
|2

Info|[Get Water Nozzle] - Sequence Executing: MoveRelative|2735, 0.2, -428|Oct 6, 1:20pm|
|1

Success|Movement to (2735.0, 0.2, -428.0) complete.|2735, 0.2, -428|Oct 6, 1:20pm|
|1

Busy|Moving to (2735.0, 0.2, -428.0)|2735, 0.2, -398|Oct 6, 1:20pm|
|2

Info|[Get Water Nozzle] - Sequence Executing: MoveRelative|2735, 0.2, -398|Oct 6, 1:20pm|
|1

Success|Movement to (2735.0, 0.0, -398.0) complete.|2735, 0, -398|Oct 6, 1:20pm|
|1

Error|Token failed to reauthorize: jwood@me.com - https://my.farm.bot :enetunreach|1925.8, 0, -384.72|Oct 6, 1:20pm|
|1

Error|Authorization failed: {:error, :enetunreach}|1925.8, 0, -384.72|Oct 6, 1:20pm|

#6

Struggling to downgrade, it keeps auto upgrading, despite me having turned that off already…