Skip to content

Excessive CPU usage in case of firewall blocking #10080

@bterradillos

Description

@bterradillos

⚠️ Before submitting, please verify the following: ⚠️

Bug description

On macOS, when I'm commuting and limiting my outbound connections to selected apps through a network filter to save data traffic, the NextCloud Client seems to enter in a high CPU usage loop if it is not allowed to have outbound traffic, thus consuming the battery for nothing.
It seems the client sees an active internet connexion and try to contact the servers repetitively. As the network filter is blocking the connections, the client can't do its requests.
This bug was present in the client as far as I can remember (using it since ~5 years).

Steps to reproduce

  1. Install a network filter like TripMode or LittleSnitch

  2. Prohibit connections for Nextcloud client

Image
  1. Monitor the cpu usage
Image

Expected behavior

When connections are not allowed specifically for the client, it should be less aggressive with its requests.

Which files are affected by this bug

/Applications/Nextcloud.app/Contents/MacOS/Nextcloud

Operating system

macOS

Which version of the operating system you are running.

Sonoma 14.8.5 (23J423)

Installation method

Official Installer for macOS 13 and later

Nextcloud Server version

30.0.6

Nextcloud Desktop Client version

33.0.4

Did this occur after an update or on a clean installation?

Clean desktop client installation

Are you using the Nextcloud Server Encryption module?

Yes

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP or Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status

🧭 Planning evaluation (don't pick)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions