Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 [Bug]: Farmerbot complains about invalid or unset relay addresses #948

Closed
scottyeager opened this issue Mar 12, 2024 · 5 comments
Closed
Assignees
Labels
farmerbot type_bug Something isn't working
Milestone

Comments

@scottyeager
Copy link

scottyeager commented Mar 12, 2024

What happened?

We have several farmers reporting that they see errors from farmerbot regarding invalid or unset relay addresses associated with node twins, when those twins all have relay.grid.tf set.

Here's one example from a farmer trying to set up the farmerbot for the first time:

image

Another from a farmer who's been running the bot with a working setup for a while:

tg_image_4210451017

One more:

image

@scottyeager scottyeager added type_bug Something isn't working farmerbot labels Mar 12, 2024
@scottyeager
Copy link
Author

Findings after a bit more research:

  • While I'm not 100% sure the issue in the first screenshot is related to the other two, it seems like a variant of the issue seen when a twin doesn't have a relay set (that said, I couldn't find a twin with unset relay associated with either the farm or node)
  • InvalidRelayAddress is an error coming from tfchain. It's thrown from validate_relay_address, which is only called when a twin is created or updated
  • So it seems somehow a call to update the farm's twin is being made when farmerbot tries to set a node's power target on TF Chain, but with an invalid relay address

@rawdaGastan
Copy link
Collaborator

what is the version of the farmerbot used?

@TullysInc
Copy link

what is the version of the farmerbot used?

It's the latest version.

@rawdaGastan
Copy link
Collaborator

I don't think it is the latest. Logs from previous versions

@scottyeager
Copy link
Author

Seems indeed resolved by updating to v0.14.12.

@rawdaGastan rawdaGastan added this to the v0.16.0 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
farmerbot type_bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants