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]: Bitcoin Core health checks report "Timed out...." incorrectly #1413

Closed
1 task done
kn0wmad opened this issue Apr 25, 2022 · 13 comments
Closed
1 task done

[bug]: Bitcoin Core health checks report "Timed out...." incorrectly #1413

kn0wmad opened this issue Apr 25, 2022 · 13 comments
Assignees
Labels
Bug Something isn't working Needs Diagnosis Send to Needs Triage after bug has been diagnosed Won't Fix This will not be worked on

Comments

@kn0wmad
Copy link
Contributor

kn0wmad commented Apr 25, 2022

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

EmbassyOS Version

0.3.0.2

Device

Laptop/Desktop

Device OS

Linux

Device OS Version

5.16

Browser

Firefox

Browser Version

99

Current Behavior

Bitcoin Core health checks both report "Timed out, retrying soon...." despite Logs reporting blocks actively being synced

Expected Behavior

Health checks should report back correctly

Steps to Reproduce

  1. Time outs occur randomly, but often. Try a reboot to trigger
  2. Go to Bitcoin Core and see Time outs in health checks
  3. Check logs to find that Core is in fact syncing (or synced)

Anything else?

No response

@kn0wmad kn0wmad added Bug Something isn't working Needs Triage Needs to be assigned a priority labels Apr 25, 2022
@kn0wmad
Copy link
Contributor Author

kn0wmad commented Apr 25, 2022

Alternatively, I have just noticed both health checks go to "green," although the sync was still 100 blocks behind, enough to cause LND to not work. Hard refresh gave same results

@kn0wmad kn0wmad assigned elvece and unassigned dr-bonez Apr 25, 2022
@kn0wmad kn0wmad added the UI Issues pertaining to any of the embassy-served web applications label Apr 25, 2022
@ProofOfKeags
Copy link
Contributor

It is not clear this is an OS bug. It is possible that it is an issue with Bitcoin Core.

@chrisguida
Copy link
Contributor

chrisguida commented Apr 29, 2022

This just means the rpc isn't responding within 60 seconds. It's actually an accurate message.

@kn0wmad
Copy link
Contributor Author

kn0wmad commented Apr 30, 2022

This just means the rpc isn't responding within 60 seconds. It's actually an accurate message.

Is it accurate if there is no problem with RPC calls and yet the timeouts are consistently appearing?? I can reopen in Bitcoin wrapper

@chrisguida
Copy link
Contributor

This means there is a problem with RPC calls. Are you saying you're calling the RPC manually and it's working, but the frontend says it's timing out?

@kn0wmad
Copy link
Contributor Author

kn0wmad commented May 2, 2022

I'm saying the Bitcoin logs are humming along fine, receiving calls, not that I'm giving them manually. Even if it is "working" correctly, which does not seem to be the case, it is still messaged far too aggressively to the user, causing a lot of support load

@ProofOfKeags
Copy link
Contributor

This is very unlikely to be an issue with EmbassyOS itself, but rather an issue with the bitcoind package. Perhaps we should consider moving it?

@chrisguida
Copy link
Contributor

@kn0wmad the fact that the logs are "humming along" is irrelevant to whether or not the RPC is responding within 60 seconds. Please verify whether the RPC is responding within 60 seconds by calling it manually. If it doesn't respond within 60 seconds, then everything is working as designed.

@chrisguida
Copy link
Contributor

chrisguida commented May 2, 2022

@ProofOfKeags if the health check is displaying "timed out" when the RPC is not actually timing out, then it's a problem with the OS.

@ProofOfKeags ProofOfKeags reopened this May 2, 2022
@elvece elvece added Needs Diagnosis Send to Needs Triage after bug has been diagnosed and removed UI Issues pertaining to any of the embassy-served web applications Needs Triage Needs to be assigned a priority labels May 5, 2022
@elvece
Copy link
Member

elvece commented May 5, 2022

Not convinced this is a UI bug. FE simply relays the error from the BE, which relays from the service. Needs more information imo.

@chrisguida
Copy link
Contributor

chrisguida commented May 5, 2022

Agreed, pretty sure nothing is wrong here, other than bitcoind's rpc occasionally getting overwhelmed, which I don't see any fix for

@kn0wmad kn0wmad added the Won't Fix This will not be worked on label May 6, 2022
@kn0wmad
Copy link
Contributor Author

kn0wmad commented May 6, 2022

Seems the issue is heavier on the 4G Pi (by my testing), and the only solution is to stop every other service (assuming you want to use a heavy bitcoin stack). Unfortunate, but perhaps nothing can be done at this time. Closing as not worthy of dev resources at this time.

@kn0wmad kn0wmad closed this as completed May 6, 2022
@kn0wmad
Copy link
Contributor Author

kn0wmad commented May 7, 2022

It is also a duplicate (and in the wrong place)

There was a ticket in the bitcoin wrapper already @ Start9Labs/bitcoind-startos#63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Needs Diagnosis Send to Needs Triage after bug has been diagnosed Won't Fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants