nextcloud / nextcloud/server

[Bug]: `Failed sending heartbeat, got: undefined`

Open
#38,809 7 comments 0 reactions 0 assignees View on GitHub

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: ⚠️
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
  1. Open a Nextcloud page
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.