question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Harvester looks up 'host' just once.

See original GitHub issue

Describe the bug

Harvester looks up host just once. If the dynamic IP @ home changes harvester does not reconnect to new IP Address.

harvester:
  chia_ssl_ca:
    crt: config/ssl/ca/chia_ca.crt
    key: config/ssl/ca/chia_ca.key
  farmer_peer:
    host: [remote DNS Name with changing IP]
    port: 8447

To Reproduce

Steps to reproduce the behavior:

  1. Setup Full node with Internet @ home where the IP changes after each reconnect.
  2. Setup remote Farmer node to use an external DNS (dyndns) service for changing IPs ex. noip.com
  3. Change IP
  4. Harvester will still use old IP after hours.

Expected behavior Harvester looks up IP every x Minutes or use ex. gethostbyaddr and notices the change and use the new IP address.

Desktop

  • OS: Linux
  • OS Version/Flavor: Debian
  • CPU: AMD Ryzen 9 5950X

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
bugxzhucommented, Jul 20, 2021

1.2.2 fixed it

0reactions
javanaut-decommented, Aug 23, 2022

Well, as long as end customers, who are supposed to carry a decentralised cryptocurrency, are offered contracts with 24-hourly disconnects by the providers, or business contracts with static IP are significantly more expensive, there are changing IP adresses and therefor I would not call this an esoteric use case. Even if this use case were not considered, the setting given in several places would be misleading. The use of ‘localhost’ and not ‘127.0.0.1’ or e.g.: ‘::1’ indicates a resolution of URLs and one expects this to work continuously. A sudden disconnection after a day or so seems like an error of the application and not an intended behaviour. These are just basic expectations on the OSI networking model …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Annoying upgrade bugs - Harvester - Rancher Labs
I have an 8 nodes Harvester cluster since v1.0.1, although not yet ... I was able to get one of my host back...
Read more >
D Collecting OCM Data Using Oracle Harvester
Oracle Harvester provides the target lifecycle property to enable you to identify the purpose of a target, for example, development, testing, and so...
Read more >
Riverside Insect Fair - RiversideCA.gov
Buzz on by for the Riverside Insect Fair on Saturday, April 30, 2022 from 10 am ... Learn one of the methods to...
Read more >
Harvest Hosts Review - How It Works, Locations, & More [In ...
Harvest Hosts is an affordable membership that gets you unlimited overnight RV/van/trailer parking at thousands of beautiful locations all ...
Read more >
Bug, Disappearing Harvester Escorts (final update) - Support and ...
The time for them to vanish is not precise, but around 15-30 seconds, and matches the ... Find a harvester with escort and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found