Falsely triggered "check your network connection" error while catching up. #6251

issue chronicbitcoin opened this issue on June 8, 2015
  1. chronicbitcoin commented at 4:57 AM on June 8, 2015: none

    One of my nodes on master was catching up with the block chain (~200 blocks behind) and triggered the following error, which remained even after maintaining sync with the network for a few hours. Misfiring is understandable, leaving it lingering after catching up feels a little buggy. Error was cleared after a restart.

    {
    ...
      "blocks": 359934,
    ...
      "connections": 8,
    ...
      "errors": "WARNING: check your network connection, 0 blocks received in the last 4 hours (24 expected)"
    }
    
  2. laanwj commented at 7:57 AM on June 8, 2015: member

    Thanks for reporting. There seems to be an issue with the computation causing it to trigger more often than intended, also reported in #5947. @gavinandresen can you take a look?

    We should probably disable this on the 0.11 branch and rc2 until it's fixed.

  3. laanwj commented at 8:03 AM on June 8, 2015: member

    Another problem reported by @gmaxwell on IRC:

    <gmaxwell> I'm getting a spurrious
    <gmaxwell> "errors" : "WARNING: check your network connection, 0 blocks received in the last 4 hours (24 expected)"
    <gmaxwell> on testnet with 0.11
    <gmaxwell> the blocks on the tip of testnet are actually somewhat in the future
    <gmaxwell> wumpus: in the case I gave it just made no sense. e.g. claimed 0 blocks when in fact there had been many.
    
  4. chronicbitcoin renamed this:
    Falsely triggered error while catching up.
    Falsely triggered "check your network connection" error while catching up.
    on Jun 8, 2015
  5. laanwj referenced this in commit 3eada74d6f on Jun 8, 2015
  6. Diapolo commented at 11:58 AM on June 8, 2015: none

    @laanwj Just asking (without looking at the code) is this warning also displayed in the GUI at all?

  7. gavinandresen commented at 2:57 PM on June 8, 2015: contributor

    I'll make some time to try to reproduce. The fix is probably to look at timestamps on the best headers-only chain (instead of the main chain).

  8. gavinandresen referenced this in commit 65b9454503 on Jun 8, 2015
  9. laanwj commented at 8:33 AM on June 15, 2015: member

    Should be fixed by #6256

  10. laanwj closed this on Jun 15, 2015

  11. gavinandresen referenced this in commit fce474c9df on Jun 15, 2015
  12. laanwj referenced this in commit e6334f4aad on Jun 21, 2015
  13. vegard commented at 1:29 PM on August 17, 2015: contributor

    I get the exact same error after initial sync using latest git master (586a2925), debug.log shows last UpdateTip was just ~30 seconds ago (and it's been fully synced for at least 6 hours). Do I open a new ticket?

  14. unsystemizer commented at 7:56 AM on December 6, 2015: contributor

    Same here on version 0.11.2 and I see this quite often which is why I finally decided to report it. @Diapolo, yes, the warning also shows in bitcoin-cli getinfo output although the blockchain is to date and shows the latest block which is as recent as 4 minutes ago.

    image

  15. laanwj commented at 12:32 PM on December 7, 2015: member

    I think @gmaxwell reported this problem as well recently on IRC after laptop came back from sleep. Looks like the error doesn't go away when the problem goes away. Reopening.

  16. laanwj reopened this on Dec 7, 2015

  17. laanwj added the label P2P on Feb 9, 2016
  18. l0rb commented at 7:34 AM on July 4, 2018: none

    This seems to be still unfixed. Once triggered the warning never disappears.

  19. MarcoFalke commented at 11:52 AM on July 10, 2018: member

    @l0rb What version are you running? This warning was removed in #8275

  20. MarcoFalke closed this on Jul 10, 2018

  21. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me