[Bug]: `Failed sending heartbeat, got: undefined`
Open
Nobody has claimed this yet.
1. to develop
28-feedback
bug
feature: files
feature: status
needs review
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
I saw this in my browser console. I don't know if/how it's a bug but it smells like one.
PUT https://localhost/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json returns 204.
Steps to reproduce
- Open a Nextcloud page
- Wait and watch the browser console
Expected behavior
No status heartbeat failure
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
Failed sending heartbeat, got: undefined UserStatus.vue:210
Failed sending heartbeat, got: undefined UserStatus.vue:210
Failed sending heartbeat, got: undefined UserStatus.vue:210
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at UserStatus.vue line 210 and inspect how the heartbeat request to /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json handles the 204 response. Reproduce by opening a Nextcloud page and waiting for the browser console message; done means a successful heartbeat no longer reports a failure for this response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100