nextcloud / desktop

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

[Bug]: `Socket operation timed out` error on sync #6782

Closed evdcush closed 3 weeks ago

evdcush commented 1 month ago

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

Bug description

I have a directory synchronized through a Nextcloud via a provider (not my server).

There is a sub-directory, Projects/ which contains many (20~30) git projects. Whenever my Nextcloud desktop client attempts to synchronize Projects/ from the server, it invariably fails, stating:

Server replied with an error while reading directory "Projects/arbitrary_project/.git/refs/remotes": Socket operation timed out

screencap_2024-05-26_07-24-01

The directory, including the Projects/ sub-directory, was fully synchronized until earlier this week, when all files were wiped somehow. I recovered the files from a machine that had not yet sync'd.

It always hits this error. I can remove the Projects/foo/ dir, and it will simply just time out on the next alphabetically next git dir in Projects/.

Steps to reproduce

  1. Open client
  2. Client checking for changes in remote...
  3. Fail with error Socket operation timed out
  4. "Force sync now"
  5. Repeat from step 2 ...

Expected behavior

Synchronize.

Which files are affected by this bug

.git/logs

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 22.04 6.5.0-35

Package

Distro package manager

Nextcloud Server version

26.0.13

Nextcloud Desktop Client version

3.13.0

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

Updated to a major version (ex. 3.3.6 to 3.4.0)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

evdcush commented 3 weeks ago

There was no "fix" here I found, unfortunately. I manually uploaded each subdir in Projects/, one-by-one. That "worked".