nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.97k stars 784 forks source link

[Bug]: Unknown error #7074

Closed camilasan closed 4 days ago

camilasan commented 1 week ago

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

Bug description

When syncing sometimes the client will display useless error to the user like 'Unknown error'.

error

Steps to reproduce

  1. Sync the client
  2. Check for syncing errors
  3. The error displayed is not useful or actionable

Expected behavior

The error should help the user to solve the issue.

Which files are affected by this bug

None

Operating system

macOS

Which version of the operating system you are running.

latest

Package

Official macOS 12+ universal pkg

Nextcloud Server version

latest

Nextcloud Desktop Client version

3.14.0-rc1

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

camilasan commented 1 week ago

At quick glance, the 'Unknown error' string seems to be coming from the server. Possibly something like: https://github.com/nextcloud/server/blob/332b3efdf0df6bd489d83f58e8ffa677749d0774/lib/private/Files/ObjectStore/SwiftFactory.php#L203

camilasan commented 1 week ago

The main point with this issue is to provide the user with a better error message. Robin will check this on the server side.

icewind1991 commented 1 week ago

https://github.com/nextcloud/server/pull/47853

camilasan commented 4 days ago

Fixed with https://github.com/nextcloud/server/pull/47853