Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unknown error and network error 99 when syncing .vscode extensions #5349

Open
4 of 8 tasks
mr-manuel opened this issue Jan 20, 2023 · 8 comments
Open
4 of 8 tasks

Comments

@mr-manuel
Copy link

mr-manuel commented Jan 20, 2023

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

Bug description

When I try to sync the .vscode extension folder with the Nextcloud Client 3.6.4 (previous versions had the same problems) I get the messages unknown error and network error: 99. Then the Nextcloud Client is freezing and then crashing.

Steps to reproduce

  1. Install VS Code on Windows
  2. Install some extensions
  3. Try to sync the folder under C:\Users%username%.vscode

Expected behavior

The sync should not fail.

Which files are affected by this bug

nearly all files

Operating system

Windows

Which version of the operating system you are running.

Windows 11 21H2

Package

Appimage

Nextcloud Server version

25.0.3

Nextcloud Desktop Client version

3.6.4

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 Disabled

Are you using an external user-backend?

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

Nextcloud Server logs

The logs are in the `debug.zip`, else I get this error when submitting this issue `There was an error creating your issue: body is too long (maximum is 65536 characters). `

Additional info

I'm using this Docker Compose file:
docker-compose.yml.txt

Here the client logs:
debug.zip

Nextcloud is behind a Haproxy, but I tried also with a direct connection to the Docker container. Same result.

Here some screenshots:

nextcloud-1

nextcloud-2

@mr-manuel
Copy link
Author

I updated the client to the fresh released 3.6.6 versionand the same errors are present.

I did some more testing and I noted, that, if I add a new folder to sync with more than 1.000 files and the files does not exist on the server jet, I receive this error.

If I move less than 1.000 files to the folder, wait that the files are synced, then move the next 1.000 files and so on, all get synced correctly without errors.

The folder contains totally about 15.000 files and folders.

@SunnyPaprika
Copy link

Does your server show "Computed md5 hash is incorrect." or "Sabre\DAV\Exception: Unknown error while seeking content" in the Log?

You can try disabling the bulk feature on the server ('bulkupload.enabled' => false,) then disable any speed limits in the desktop client settings and delete the files that wont sync.

@EndlesslyFlowering
Copy link

EndlesslyFlowering commented Jan 21, 2023

I have the exact same issue as @mr-manuel with ~25000 files and doing what @SunnyPaprika described helped me. Thank you!

@GoliathLabs
Copy link

Sounds a lot like this bug #5094

@mr-manuel
Copy link
Author

The workaround from @SunnyPaprika also worked for me. The bug #5094 represents also my client behaviour.

@AlphaSierra216
Copy link

Thanks @SunnyPaprika comment
Also, for others, the place I edited this was in www/nextcloud/config/config.php
I also seemed to have to restart my windows desktop client.
I am using Unraid, and linuxServer's nextcloud version of the container. (the /www was in the defined appdata folder)

@GINPOS
Copy link

GINPOS commented Jul 17, 2023

Disabling bulk upload feature ('bulkupload.enabled' => false,) fixed all errors (413 Request Entity Too Large; 99 Network error) then uploading large amount of files (~60000 files, 90GB).
Setup:
linuxserver docker images for swag and nextcloud.

@CodingEmil
Copy link

Fixed the issue for me aswell, but is anyone else having much slower upload speed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants