Syncing client crashes with "Network Error:99"

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): version 25.0
Operating system and version: `Ubuntu 22.04
Apache: Apache/2.4.52 (Ubuntu)
PHP version: PHP 8.1.2-1ubuntu2.6 (USING PHP-FPM)

The issue you are facing:

Please some help this issue is really frustrating…

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Sync with client Nextcloud App
  2. It stops and Shows Network Error: 99
  3. Have to Restart Syncing process

The output of your config.php file in (removed => confidational info…)

<?php $CONFIG = array ( 'instanceid' => 'removed', 'passwordsalt' => 'removed', 'secret' => 'removed', 'trusted_domains' => array ( 0 => '192.168.0.31', 1 => 'removed', ), 'datadirectory' => '/mnt/data/data', 'dbtype' => 'mysql', 'version' => '25.0.0.18', 'overwrite.cli.url' => 'removed', 'dbname' => 'dbcloudx', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'admincloudx', 'dbpassword' => 'removed', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_sendmailmode' => 'smtp', 'mail_from_address' => 'cloudx', 'mail_domain' => 'removed', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'removed', 'mail_smtpname' => removed', 'mail_smtppassword' => removed', 'mail_smtpport' => '465', 'default_phone_region' => 'BO', 'default_locale' => 'BO', 'filelocking.enabled' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis-server.sock', 'port' => 0, 'dbindex' => 0, 'password' => '', 'timeout' => 1.5, ), 'htaccess.RewriteBase' => '/', 'maintenance' => false, 'twofactor_enforced' => 'true', 'twofactor_enforced_groups' => array ( 0 => 'removed', ), 'twofactor_enforced_excluded_groups' => array ( ), ); The output of your Apache2 system log in `/var/log/apache2`: root@sicom-srv02-cldx:/var/log/apache2# cat cloudx.sicomorus.net-error.log [Fri Nov 04 00:00:20.287074 2022] [ssl:warn] [pid 1214:tid 139709891696512] AH01909: sicomorus.net:443:0 server certificate does NOT include an ID which matches the server name [Fri Nov 04 00:52:28.801187 2022] [proxy:error] [pid 34069:tid 139708499748416] (104)Connection reset by peer: [client 192.168.0.18:53380] AH01095: prefetch request body failed to 0.0.0.0:0 (httpd-UDS) from 192.168.0.18 () [Fri Nov 04 00:54:23.054107 2022] [proxy_fcgi:error] [pid 34069:tid 139708021593664] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:58714] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:04:27.330355 2022] [proxy_fcgi:error] [pid 34070:tid 139708499748416] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:48392] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:04:31.052612 2022] [proxy_fcgi:error] [pid 34070:tid 139709439272512] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:35598] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:04:37.068007 2022] [proxy_fcgi:error] [pid 34069:tid 139709565097536] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:49038] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:04:46.331562 2022] [proxy_fcgi:error] [pid 34070:tid 139708088702528] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:36768] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:04:59.327220 2022] [proxy_fcgi:error] [pid 34069:tid 139708491355712] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:33924] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:05:16.250167 2022] [proxy_fcgi:error] [pid 34070:tid 139708105487936] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:55182] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:05:38.282166 2022] [proxy_fcgi:error] [pid 34070:tid 139709405701696] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:56376] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:06:05.033561 2022] [proxy_fcgi:error] [pid 34070:tid 139709414094400] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:42752] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:06:37.543698 2022] [proxy_fcgi:error] [pid 34070:tid 139709422487104] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:52590] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:43:28.824304 2022] [proxy_fcgi:error] [pid 34069:tid 139709011441216] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:59674] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:43:34.543904 2022] [proxy_fcgi:error] [pid 34069:tid 139708491355712] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:59692] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:44:48.195258 2022] [proxy_fcgi:error] [pid 34069:tid 139708994655808] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:44356] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:46:44.124640 2022] [proxy_fcgi:error] [pid 34070:tid 139709422487104] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:56812] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:49:56.312521 2022] [proxy_fcgi:error] [pid 34070:tid 139709539919424] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:34688] AH01075: Error dispatching request to : (reading input brigade) [Fri Nov 04 01:53:02.516372 2022] [proxy_fcgi:error] [pid 34070:tid 139709397308992] (70008)Partial results are valid but processing is incomplete: [client 192.168.0.18:50746] AH01075: Error dispatching request to : (reading input brigade)

I´m facing the same problem: Network Error 99. Restarting my nextcloud server helps

I’m facing the same problem, too. On macOS, the client freezes and stops responding.

Facing same problem as well. Lots of Network error: 99 and keeps trying to reync.

I FIXED IT by adding this to my Ngnix Proxy Manager, select your domain > Edit > Advanced
paste the code and press Save:

location /.well-known/carddav {    
    return 301 $scheme://$host/remote.php/dav;}

location /.well-known/caldav {    
    return 301 $scheme://$host/remote.php/dav;}

And then restart your nextcloud container

In apache2 do You know the procedure?

Is it that what you’re talking about?

https://docs.nextcloud.com/server/25/admin_manual/issues/general_troubleshooting.html#service-discovery

This is shown up as an advice for following error messages in my admin settings:

  • Dein Webserver ist nicht richtig konfiguriert, um “/.well-known/webfinger” aufzulösen. Weitere Informationen hierzu findest du in unserer Dokumentation :arrow_upper_right:.
  • Dein Webserver ist nicht richtig konfiguriert, um “/.well-known/nodeinfo” aufzulösen. Weitere Informationen hierzu findest du in unserer Dokumentation :arrow_upper_right:.
  • Dein Webserver ist nicht richtig konfiguriert, um “/.well-known/caldav” aufzulösen. Weitere Informationen hierzu findest du in unserer Dokumentation :arrow_upper_right:.
  • Dein Webserver ist nicht richtig konfiguriert, um “/.well-known/carddav” aufzulösen. Weitere Informationen hierzu findest du in unserer Dokumentation :arrow_upper_right:.

Thanks, will check it out.

just in case do you think this error has somwthing with the crashing error in the client nextcloud.

Error: exif_read_data(): File not supported at /var/www/nextcloud/lib/private/Metadata/Provider/ExifProvider.php#59

  1. <>OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/lib/private/Metadata/Provider/ExifProvider.php - line 59:exif_read_data()
  3. /var/www/nextcloud/lib/private/Metadata/MetadataManager.php - line 68:OC\Metadata\Provider\ExifProvider->execute()
  4. /var/www/nextcloud/lib/private/Metadata/FileEventListener.php - line 101:OC\Metadata\MetadataManager->generateMetadata()
  5. /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php - line 87:OC\Metadata\FileEventListener->handle()
  6. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 251:OC\EventDispatcher\ServiceEventListener->__invoke()
  7. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 73:Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
  8. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php - line 88:Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
  9. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php - line 100:OC\EventDispatcher\EventDispatcher->dispatch()
  10. /var/www/nextcloud/lib/private/Files/Node/HookConnector.php - line 118:OC\EventDispatcher\EventDispatcher->dispatchTyped()
  11. /var/www/nextcloud/lib/private/legacy/OC_Hook.php - line 106:OC\Files\Node\HookConnector->postWrite()
  12. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 471:OC_Hook::emit()
  13. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 398:OCA\DAV\Connector\Sabre\File->emitPostHooks()
  14. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 151:OCA\DAV\Connector\Sabre\File->put()
  15. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1098:OCA\DAV\Connector\Sabre\Directory->createFile()
  16. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 504:Sabre\DAV\Server->createFile()
  17. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:Sabre\DAV\CorePlugin->httpPut()
  18. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:Sabre\DAV\Server->emit()
  19. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:Sabre\DAV\Server->invokeMethod()
  20. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:Sabre\DAV\Server->start()
  21. /var/www/nextcloud/apps/dav/lib/Server.php - line 360:Sabre\DAV\Server->exec()
  22. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:OCA\DAV\Server->exec()
  23. /var/www/nextcloud/remote.php - line 171:require_once(“/var/www/ne … p”)

it repeats alot really.

Thanks

Finally I was just patient, my client restarted and restarted the transaction again and again until the transaction was completed.

It took me 24h hours for 200MB :smiley:

same issue here. It is ok when drag & drop on a web browser.
FYI, my system : raspberry pi os 64 / bullseye / nextcloud 25.0.1 / client under Ventura

Many thanks

Same for me. Network error: 99 on macOS 12.6 clients (M1 and Intel).
At the moment, the clients are beachballing.

Pop!_OS 22.04 LTS
Nextcloud 25.0.1
Apache 2.4.52-1ubuntu4.1
PHP 8.1.2-1ubuntu2.8
mariadb Ver 15.1 Distrib 10.6.7-MariaDB
Installed on my box using Learn Linux TV’s procedure

Thanks for any suggestions!

Try uploading Ghidra (unpacked ofcourse), but the weird part is that that when uploading the same via the webui another error occurs: “An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction”

Same issue with a debian 11 and Apache 2 php 7.4
Thanx for suggestions !

I am also having similar issues. It only seems to be affecting one client across 4 servers so far. It seems to exploit a memory leek on windows as it keeps eating ram each time it it attempts till it makes the client machine unusable.

I am also using debian , apache 2 and php7.4

It looks similar to my problem;

ref: Nextcloud BUG: A memory leak occurs

Hi

Same bug on my fresh truecharts container on my Truenas Scale NAS :

Version

Nextcloud Hub 3 (25.0.1)

Système d’exploitation: Linux 5.10.142+truenas x86_64
CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz (32 cores)
Mémoire : 62.71 GB

PHP

Version : 8.1.12
Limite de mémoire : 4 GB
Max Execution Time: 3600
Taille de téléversement maximale : 256 GB
Extensions : Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, gd, gmp, imagick, imap, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, smbclient, sodium, zip, libsmbclient, Zend OPcache

BDD

Type : pgsql
Version : PostgreSQL 14.5 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
Taille : 187 MB

My windows apps loop many files (about 4000) with error 99, the memory increase to the max, the windows begin to be unstable and many apps crash.
It’s totally unusable

Thx !

Having the same problem, too, on my local network (1 Gib). It’s driving me nuts. Hundreds of “Network Error: 99” messages choking my sync with the client until it stops responding completely and I have to kill it with the task manager, and nothing showing up in the server logs to give me the slightest clue what the problem is.

Client: Windows 10, Nextcloud client 3.6.2
Server: Ubuntu 22.04, Base install Nextcloud Hub 3(25.0.1) of Apache

I’ve tried all the fixes I’ve seen mentioned here, github, reddit…

  • Reinstalled using Postgres instead of MariaDB
  • .well-known redirects all working correctly,
  • Redis set up
  • No warnings on Admin Overview

The same client works on the old Ubuntu 18.04 server running NC 20.0.14 without any of these issues.

Same problem like @targren. Please!

Same, Following.

Linuxserver:latest - unRaid - Using MariaDB and Redis.

Latest Mac client - Ventura

Up the folder to the Cloud, and sync from cloud to a new folder, work for me! Its somthing.