-
Notifications
You must be signed in to change notification settings - Fork 800
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]: Network Error on wake from sleep #6487
Comments
Confirmed. I have the same issue here on 3.12.0. My network card: Intel I219-V, Win10x64 22H2 fully updated. I connected to router via cable, so there is no Wifi issues here. I suppose network card can't get IP address immediately after awake. It needs couple of seconds for speed auto-negotiation and to get IP. Is it that Nextcloud detects there is no internet during that time? This error isn't raised in previous client versions. |
Yup, got RTL8125 here, about 15m run to the router and get IP and DNS via DHCP. I think setting static network config would resolve the issue. Maybe disabling auto-negotiation and hard setting speed to 1Gbps would improve things (NIC supports 2.5G, router is 1G). |
I saw the error since about 10 to 14 days ago. On my laptop there was a new Nextcloud installation, so the newest client was installed. On my main tower computer the same message occured since a few days ago, possibly after an automatic update of the client. I do not leave my computers running but put them in standby, so naturally they will restart / wakeup in no time with an already running Nextcloud client, but the internet connection might need 5 to 10 seconds, especially with WiFi. Even with an Ethernet direct connection the Nextcloud client calls an error immediately after waking up from standby. This is a regression because I cannot recall having this error (or that much occurence) previously. Or maybe the client was always that quick with the status but never issued a system notification? “Just … wait, relax a bit” – you would say to any normal impatient person. Except this is impatient software. |
...still occures with Nextcloud Desktop-Client 3.12.1 never happened on Release 3.11.1 |
same for me |
This also happens in Linux, in this case Fedora 39. Nextcloud client version 3.12.1. On wake from sleep I get 2 network error notifications, one for each account I presume. So annoying. A second or two later after wifi connects the client works normally. |
I am also experiencing this bug in client version 3.12.3 on Arch Linux. Every time the system starts, wakes from sleep, or I am connected to a network that cannot reach the Nextcloud server, the client creates desktop notifications about network errors. This did not happen in previous client versions. I would rather have the option to disable network error messages entirely if they are going to be this verbose and misleading. Network connections may not be available at all times and the client should not assume that a missing network connection is an unusual situation. I would much prefer a notification if sync had not occurred in several days or something similar. |
Same for me. |
Instead of disabling these notifications, I'd like to propose a shift to this logic:
|
My impression: the client always needed some time to pick up the connection after resume from sleep. But until 3.12.0 or 3.12.1 the only symptom was that it took around 30 sec. for the taskbar icon to become green. For us, that is no problem at all. Nobody manages to edit and save a document in the first 30 sec. after resume. |
I think @willemb2 is spot on - we really just need a way to disable these notifications. |
Similar observed on macOS. |
The 3.13.0 update renamed the notification from 'Network error' to 'Connection issue' but did not solve it :( |
Maybe slightly more accurate, but does not resolve the issue. In the meantime I have simply disabled Nextcloud notifications at the desktop environment level. Which seems like an extreme solution, but it at least removes the misleading errors from the client. |
I can reproduce it on Fedora Linux running on a laptop when it wakes up from sleep. |
I can confirm this on MacOS as well. This is quite annoying if Nextcloud is used on a mobile computer. |
I have the same issue with the latest nextcloud desktop on windows and linux systems when resuming from standby. It's not mission critical but it's very annoying and turning off the notifications completely is not an option for me. |
Fix for #6448 and #6487. Signed-off-by: Camila Ayres <[email protected]>
Fix for #6448 and #6487. Signed-off-by: Camila Ayres <[email protected]>
Same here, Linux Mint (Ubuntu based). |
I don't get it why nobody takes care of this. Personally I just decided to stay at 3.11.2 until this is fixed. 🤷♂️ |
@Zaxooy I'm not famiar with the Github workflow either, but from the messages above I understand that @camilasan is working on something. I think there are 2 issues that play a role here:
|
Fix for #6448 and #6487. Signed-off-by: Camila Ayres <[email protected]>
hey guys! I just updated Nextcloud-3.11.2 -> 3.14.0 and can confirm it fixed (only a single sleep->resume transition test for now). |
I've opened a bug report 3 years ago. |
I can confirm: This seems to be fixed. 👍 |
Bug description
Nextcloud client sends a "Network Error" desktop notification when I wake my computer from sleep.
I believe this is caused by client trying to connect while Windows is still re-establishing network connectivity, which causes DNS queries to fail.
Steps to reproduce
Expected behavior
Client should not throw an error in such scenario: this is a temporary error and everything will work just fine if system is given another 5-10 seconds to re-establish network connectivity.
Which files are affected by this bug
None
Operating system
Windows
Which version of the operating system you are running.
Windows 10 22H2 (19045.3930)
Package
Other
Nextcloud Server version
27.1.6
Nextcloud Desktop Client version
3.12.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
Desktop client logs
nxc-error.zip
The text was updated successfully, but these errors were encountered: