-
Notifications
You must be signed in to change notification settings - Fork 817
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]: Client reports "Network Error 5" in abundance (nowhere near clear enough to understand what is wrong) #6149
Comments
Same here. fresh install NC27hub |
Starting to sound like Nextcloud 27 bug! It's really bugging me. As bugs go it's a bugging one (the client regularly full of red Network Error 5 messages) and no sign as to what is wrong, and no connectivity issues at all to the server, and nothing in the server logs, only the client logs. I am currently working down the list of "Security & setup warnings" and have some dealt with now and am left with these to deal with:
|
My network error 5 is gone. It seems it was caused by my Nextcloud client. |
I deleted the config of the local client... Sorry for having been unprecise. |
Mine seems to be working fine now too. Still, this bug stands. The message is not in the least useful and the client should be clear about what is wrong and what remedial action is warranted. |
Network errors (2, 5, 499,...) came back without giving me any chance to find a structure what could possibly cause any of those) |
The bug stands, to request more lucid messages! My errors have disappeared too. Finally. Not sure why. Alas when you write |
I also have this is issue. Also in the log there is also a log of error 5 for photos being affected. I am currented being updated to client 3.10.1 but this happens with previous version. |
I think you answered your own question above. :-) The "network error 5" is admittedly vague, but the errors you're being warned about in your Admin Overview indicate you have serious configuration problems with your server (and essentially an incomplete server installation). They are the clues you're looking for! The brute force triggers alone would constantly freeze your client connections out and make trouble shooting nearly impossible. Please review the Admin Manual (https://docs.nextcloud.com) and pose specific targeted troubleshooting and general configuration questions to the Nextcloud Help Forum - https://help.nextcloud.com Until those fundamental errors are addressed I'm afraid you're going to get many weird behaviors out of any of the clients. You should not be using any clients until your Server is fully configured. These are the most serious ones:
|
On the "Security & setup warnings" yes. Those I've mostly fixed. Only these left:
A message I'd like to lose, but can't. Because of: nextcloud/server#14926 Which need resolution.
Which is a nonsense message and should not exist when we are indeed: "accessing Nextcloud from a trusted proxy". It's a trusted proxy, why the heck do we need an error message or warning about it. Anyone behind a firewall and using NAT to server the web has this issue surely, and it's known, no warning needed, it is intentional, we use a reverse proxy.
Sure, but no drama, will get around to that one. And that is all. No other server issues.
Vague? It conveys zero useful information, zip, nada, none. That is an order of magnitude more than vague. Or do you have a reference (that the message fails to provide) on translating these network error numbers to text messages and details? Believe me, Google and I have tried, and failed (which does not mean it isn't out there) But yes, the Network Error 5 went away when I fixed all but those three remaining messages. But the issue stands, as valid, that if the client prints a network error at all, it should perforce be sufficiently informative to act on. |
Network Error 5 happens only when there are several hundreds files (photos during a trip) need to sync to server via desktop client. It never happen if only couple files need sync. Finally I avoid this nonsense by SFTP those hundreds of files directly to the target folder within NextCloud data folder, then occ files:scan to update the database. Takes 1/100 of time and 100% success rate. The client really need a better way to handle this situation, apart from the Network Error 5 issue. I could do this because this is my personal NC instance. Other people with no admin right will be out of luck. |
I also have this error, but I'm only syncing about 20 Files (~400B), all of them already uploaded. Using Nextcloud 27.1.6, client 3.11.0. |
Exaclty the same problem here. Nextcloud desktop client 3.12.3 |
isn't this something highly not recommended? which is to mess with the datadir |
I'm trying to migrate from dropbox to my own nextcloud, and I have the same issue (Nextcloud Hub 7 (28.0.4)) while syncing a lot of files (60k files, 500GB of data) using desktop app |
Well, it's happening again. And yes, after adding a pile of files to sync folder. Oodles and oodles of Network error: 5. With no clarification. There are config issues: Nothing in server log (those errors are all related to other apps, like DuplicateFinder and Memories). The client just throws this (private paths blurred): Now there is a little more info. If I click one of those I get another popup (the main dialog) which lists the errors, and has an elipsis beside each one, which when clicked opens something like: Which suggests oddly the reason is the remote file doesn't exist and it's related to sharing? Totally surprising and confusing. Of course the remote file doesn't exist, I've added it to my local folder and am syncing it up. And I have in no way elected to share it (though there's a slim chance it's in a shared folder?). |
Anyhow, I have no configuration errors, and increasing number of people report the same issue, and the fundamental problem is that the client isn't even telling us what the problem is. And so this bug is in essence, a request that we improve the desktop client to provide actual useful information on what the problem is, such that we might fix it if it's fixable, either in a configuration or in the client itself if it points to a simple handling issue in the desktop client. |
Experiencing this a lot in my desktop client |
Getting this often on my windows 10 nextcloud client as well trying to upload sync a large number of small files - it starts syncing again for a while when i restart the client. |
Hello, Same here. More than 7000 files small files, only 80MB. Network error 5. Using latest server 29 and latest Windows client 3.13.2. Sync some files, and give network error 5. Restart the client, sync some more files, and again network error 5 ... and again, again ... |
Bug description
I have installed a Nextcloud Server 27 clean.
I have installed the desktop client latest version as an AppImage (Help says it's 3.10)
I have copied a LOT of files into my local Nextcloud folder
It is syncing.
The Server and Client are on the same LAN.
The server is running on up to date Ubuntu (22.04.3 LTS)
The Client is running up to date Linux Mint (21.2)
The client reports a LOT of "Network Error 5" errors in white on red at top of the Settings window (below the progress bar)
Steps to reproduce
Hard to say. I don't know what they mean, or how to get them. Client and Server are on same LAN. No issues with connectivity. Fresh Server install, fresh client install.
Expected behavior
I expect, as a bare minimum, some guidance on what is really happening and what to do about it. At the very least, if I could Google the code but if I google this:
https://help.nextcloud.com/t/erro-de-rede-5-network-error-5/172151
I don't find much of use. What is Network Error 5.? Why am I getting it? How do I fix it?
Which files are affected by this bug
/InstantUpload/0/2022/07/Pictures/Screenshots/Screenshot_20220710_195826_com.mewe.jpg
Operating system
Linux
Which version of the operating system you are running.
Mint 21.2
Package
Appimage
Nextcloud Server version
27.1.2
Nextcloud Desktop Client version
3.10
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?
Nextcloud Server logs
I have exported debug logs from the client, unzipped them and search for that one file I mentioned (among any). All lines I find mentioning tit that might be of some use are:
On the server log this file is not mentioned anywhere. I do see loads of messages like this:
And I wonder if Network Error 5 relates to this. I will drill down on this, but think I have a browser with floccus running trying to synch bookmarks and I have changed my password. This is a new server install (after a disc crash, so a complete system rebuild on a new disc) and I have been using it for years and no doubt have floccus running ;-). Still if Network Error 5 related to this or anything else, the bugs stands, it should provide a lucid clarification of what is wrong.
I can provide the complete logs on request, but prefer not to unnecessarily attach large files nor post logs in public per se.
Additional info
I will look at fixing all the issues that System Overview mentions:
But again, the bug stands as the client should be providing messages we can do something with. The build of my 3GB upload worked fine, just a number of (hard to count, again because the message is admirably not copyable or countable, is presnented in a klunky box, with no scroll bar, the fills the whole settings window under the progress bar, and no matter how tall or short that window, it just shows the top errors and any scroll down, sees it disappear and the standard folder tree with checkboxes shown.
The text was updated successfully, but these errors were encountered: