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.

Heartbeat request failures after login

See original GitHub issue

After a successful login I get the following request failure messages printed to the console. The error occurs only if a user is logged in.

screen shot 2017-06-03 at 07 38 28

Note, there are 2 requests. The first one is successful, but the second isn’t.

screen shot 2017-06-03 at 07 39 46

I tried to run the application in different browsers and it seems this error occurs if hoodie (or pouchdb) uses WebSQL and not IndexedDB (not sure about the determinism).

Hoodie is running on version 28.1.1, pouchdb on 6.2.0

❯ npm ls | grep hoodie
β”œβ”€β”¬ hoodie@28.1.1
β”‚ β”œβ”€β”¬ @hoodie/admin@1.3.1
β”‚ β”œβ”€β”¬ @hoodie/client@10.0.2
β”‚ β”‚ β”œβ”€β”¬ @hoodie/account-client@6.0.2
β”‚ β”‚ β”œβ”€β”¬ @hoodie/connection-status@4.0.1
β”‚ β”‚ β”œβ”€β”¬ @hoodie/log@2.1.0
β”‚ β”‚ β”œβ”€β”¬ @hoodie/store-client@8.1.0
β”‚ β”‚ β”‚ β”œβ”€β”€ hoodie-zuul-config@2.0.0
β”‚ β”‚ β”‚ β”œβ”€β”¬ pouchdb-hoodie-api@2.0.0
β”‚ β”‚ β”‚ └─┬ pouchdb-hoodie-sync@2.1.1
β”‚ β”œβ”€β”¬ @hoodie/server@23.0.0
β”‚ β”‚ β”œβ”€β”¬ @hoodie/account-server@6.1.0
β”‚ β”‚ β”‚ β”œβ”€β”¬ @hoodie/account-server-api@3.8.1
β”‚ β”‚ β”œβ”€β”¬ @hoodie/store-server@3.0.0
β”‚ β”‚ β”‚ β”œβ”€β”¬ @hoodie/store-server-api@2.0.0
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ pouchdb-hoodie-api@2.0.0 deduped

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
gr2mcommented, Jun 4, 2017

thanks for the info! If you had a minimal reproducible test case that’d be much appreciated. Node 8 is stable now and Hoodie really should run smoothly with it

0reactions
flootrcommented, Jun 3, 2017

I think I’ve found what caused the error: Node.js v8. If I switch back to 7.9.0 (or use the LTS version), no errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolving Heartbeat Alerts | Microsoft Learn
This article describes how to investigate a Health Service Heartbeat Failure alert in Operations Manager.
Read more >
Cisco Bug: CSCvo81258 - Heartbeat fail limit reached
Symptom: Connection from Router to Application Gateway closes with the following error message: 10:11:00:848 rb-agi Heartbeat fail limitΒ ...
Read more >
Connection heartbeat workflow failures results in alerts not ...
DESCRIPTION: The Connection Heartbeat workflow which performs a "health check" on all the remote connections and raises alerts may fail withΒ ...
Read more >
Problem with Send Account Heartbeat Request for Local ...
A manual Account Heartbeat check failed to validated the password for account Administrateur (\Dossier\List) of Account Type 'Windows' on HostΒ ...
Read more >
Member isn't responding to heartbeat requests
However, both machines crashed after 8 hours and both having exceptions ... service failure: Member isn't responding to heartbeat requests.
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