Erro de rede: 5 (Network Error: 5)

Guys, I have this problem, can anyone help me? I searched and couldn’t find anything about this error on the internet.

I found the part of the code and the commit where the implementation took place. In the commit comment, it’s mentioned:

'Ensure that bulk upload network job errors are handled. In case we get a network error during a bulk propagator POST network request, report all files within this upload as files in error that will then be sent using the plain old WebDAV protocol.'

Additionally, in the same commit, a test was added with the following comment within the code:

'Checks whether subsequent large uploads are skipped after a 507 error.'

This indicates that the issue in question is related to HTTP status code 507. The HTTP status code 507 is labeled 'Insufficient Storage' and it’s used to indicate that the server cannot process the request due to running out of storage space. In this particular implementation, when a network error occurs during the upload of files as part of a bulk upload job and a 507 error is encountered, the files are marked as erroneous and are then sent using the ‘plain old WebDAV protocol.’

So, the code appears to be designed to handle 507 errors by reattempting the file upload using an alternative protocol (WebDAV) when the server is running low on storage space.

Espero que isso ajude você,
boa sorte!

ernolf

I have this on selected files in a sync effort. Anfd I can’t help but wonder how you connect “Network Error 5” with a 507 error. The commit simply collects:

    const auto jobError = job->reply()->error();

and reports that, which is 5. Storage cannot be an issue as the Nextcloud data drive has 1.5TB free on it.

(as an aside, The NextCloud client is IMHO rather poor at providing feedback as to what’s wrong, alas).

2023-10-23 05:30:34:678 [ warning nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-17670\client-building\desktop\src\gui\tray\usermodel.cpp:835 ]: Item folhamatic/FolhaWin/empresa/IPSBarra.DBF retrieved resulted in error Erro de rede: 5
2023-10-23 05:30:38:590 [ info nextcloud.sync.propagator.bulkupload C:\Users\sysadmin\AppData\Local\Temp\2\windows-17670\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:531 ]: Item completed folhamatic/FolhaWin/empresa/INFOMIGRAD.CDX OCC::SyncFileItem::NormalError CSyncEnums::CSYNC_INSTRUCTION_NEW Erro de rede: 5
2023-10-23 05:30:38:590 [ warning nextcloud.sync.propagator C:\Users\sysadmin\AppData\Local\Temp\2\windows-17670\client-building\desktop\src\libsync\bulkpropagatorjob.cpp:713 ]: Could not complete propagation of folhamatic/FolhaWin/empresa/INFOMIGRAD.CDX by OCC::BulkPropagatorJob(0x2190b769110) with status OCC::SyncFileItem::NormalError and error: Erro de rede: 5

this is the log file