Client fails after resuming laptop
I'm testing the latest 2.5 since a couple weeks, currently running "Nextcloud-2.5.0.0-Debug-20180710.exe" on Windows 10 Enterprise x64 1803. It's running against 13.0.4 on the server side.
When laptop resumes from either sleep or hibernate, client shows a red cross in the tray icon. Stopping and restarting the client solves the problem.
Nextcloud_sync.log and .owncloudsync.log do not show anything useful.
I'm also referencing #324, even though it relates to the stable 2.3 build which has been working fine for me, up to the latest 2.3.3.1.
Finally, I'm not using any of the new features (like E2E encryption).
Please let me know how to extract useful logs, happy to do so.
While trying to recover from this situation, I usually either exit the client or double-click on it. This generate the following crash logs:
Faulting application name: nextcloud.exe, version: 2.5.0.0, time stamp: 0x5b4406cf
Faulting module name: Qt5Networkd.dll, version: 5.9.5.0, time stamp: 0x5ac4db27
Exception code: 0xc0000005
Fault offset: 0x0000000000065d33
Faulting process id: 0x2638
Faulting application start time: 0x01d419b7f365df85
Faulting application path: C:\Program Files (x86)\Nextcloud\nextcloud.exe
Faulting module path: C:\Program Files (x86)\Nextcloud\Qt5Networkd.dll
Report Id: 4720aaad-0a0e-4ccd-bac6-ca3f15ebe840
Faulting package full name:
Faulting package-relative application ID:
Faulting application name: nextcloud.exe, version: 2.5.0.0, time stamp: 0x5b4406cf
Faulting module name: Qt5WebEngineCored.dll, version: 5.9.5.0, time stamp: 0x5acd504d
Exception code: 0x80000003
Fault offset: 0x000000000176854b
Faulting process id: 0xc98
Faulting application start time: 0x01d41a04a3a5e1db
Faulting application path: C:\Program Files (x86)\Nextcloud\nextcloud.exe
Faulting module path: C:\Program Files (x86)\Nextcloud\Qt5WebEngineCored.dll
Report Id: cb1062bd-23be-411c-b6c6-89eab0b86e09
Faulting package full name:
Faulting package-relative application ID:
Have the same issue on Windows 7 64 bit, daily build 2.5.0git from July 11.
After resuming hibernation the tray icon of the client shows a red cross and the client window can't be restored.
Windows notifies me of problems with this application and only allows me to terminate the client.
After this I can start the client anew.
This behaviour was different some time ago with an older daily 2.5.0 build. I could restore the client and it showed unrecoverable error messages inside it.
Yesterday I made a new test with the latest nightly build for Windows (Nextcloud-2.5.0.61457-daily-20181009.exe).
This issue is still present and after wake-up, the client was showing a red-cross in the tray area. Left-clicking would open the GUI and a red banner mentioned a socket timeout.
Trying to right-click in order to reach the menu and exit the client didn't work. The icon simply disappeared which I think is a sign of the client either crashing or at least exiting in a strange way.
I still couldn't find any useful log.
Server is now running 14.0.1
#324 looks similar but on the "stable" client, which for me is working like a charm and perfectly survives sleep/resume.
Any way to help further troubleshoot this issue ?
A couple days ago I installed 2.5.0-rc1 and so far I haven't seen the red cross. Fingers crossed.
CCing @camilasan @rednaxela-work
The NextCloud Desktop client for MacOS also stops working when my laptop is resumed from sleep. Even if I pause and resume the sync, it doesn't recover. It looks like I have to manually go into the settings, click on the Account button, and click on Log in. Shouldn't it retry?
My Nextcloud server is running 13.0.8.
Version 2.5.0daily (build 20181112)
Built from Git revision 371001 on Nov 12 2018, 01:03:46 using Qt 5.9.2, OpenSSL 1.0.2m 2 Nov 2017
Same issue here on my Windows 10 system. After hibernate I do get sync error from nextcloud client. Only solvable via restart of client.
Version 2.5.0v2.5.0 (build 20181112). Für weitere Informationen besuchen Sie bitte nextcloud.com.
Gebaut von der GIT-Revision 371001 auf Nov 12 2018, 11:38:51 verwendet Qt 5.11.1, OpenSSL 1.0.1h 5 Jun 2014
Same issue here, Windows 8.1 64 bit. Client version 2.5.0v2.5.0 (build 20181112), server version 14.0.4 on Debian stretch
For me the problem has disappeard with one of the later nightly versions prior to the 2.5.0 client release.
So I'm not experiencing such issues anymore (Windows 7 64bit and Windows 10 64bit).
The situation has greatly improved with 2.5. I sometime had the client crashing on me when trying to open the UI (with a QT app crash event log), however since 2.5.1 this seems to be fixed. I'll open a new issue if I can reproduce this crash.
Thanks for the hard work!
Version 2.5.1 (build 20181204) - same issue - red cross after resume from sleep :( Restart client is necessary. Windows 10 x64 (1803)
Same issue with 2.5.1 on all Windows 10 machines.
Same here (using Windows 10). It is not limited to hibernation, though. It's the same issue when I connect to or disconnect from a VPN network (using Cisco AnyConnect, in case that matters to anyone). It looks like any change to the network adapter throws the client off the rails.
Same issue here, 2.5.1 client / Windows 10
Same issue with Version 2.5.1final (build 20181204), Win10 1709 German. By the way I have Comodo Firewall installed but the logs are not showing any entries.
NC client log: QNetworkReply::NetworkError(UnknownNetworkError) [OCC::WebFlowCredentials::stillValid "Der Zugriff auf das Netzwerk ist nicht gestattet." [OCC::PropfindJob::finished PROPFIND of QUrl("***") FINISHED WITH STATUS "UnknownNetworkError Der Zugriff auf das Netzwerk ist nicht gestattet." [OCC::PropfindJob::finished not successful, http result code is 0 ""
Same here: 2.5.1 on Windows 10. This is pretty annoying.
Is there any workaround that does not include restarting Nextcloud?
I ended up downgrading my client to the one that was out before 2.5... I think it was released Dec 2017? I’m not at my desktop right now. I got tired of this bug and also another regression I noticed where the 2.5.x client tries to sync files that are still open for write which results in an error that it failed to sync...
Same issues, It seems to happen when windows stops network services.
As a workaround create a Powershell script with following two lines, and run it automatically everytime you wake your PC by using a scheduled task. It will then restart the Nextcloud application:
Stop-Process -name nextcloud
Start-Process -FilePath "C:\Program Files (x86)\Nextcloud\nextcloud.exe"
Create then a new scheduled task, enter following XML code as a trigger:
<QueryList>
<Query Id="0" Path="System">
<Select Path="System">*[System[Provider[@Name='Microsoft-Windows-Power-Troubleshooter'] and (Level=4 or Level=0) and (EventID=1)]]</Select>
</Query>
</QueryList>
To run a PS script as a scheduled task see https://community.spiceworks.com/how_to/17736-run-powershell-scripts-from-task-scheduler
I'm also experiencing this issue. When the laptop system sleeps/hibernates, the client crashes. Running Version 2.5.1final (build 20181204).
After a few tests however, I can see that the service has stayed up once I un-ticked "Launch on system startup" under the settings tab. ~~Of course I have to remember to launch the client on full reboot, but as this is a laptop, that happens less frequently than sleep/hibernate.~~
*edit - totally forgot that I can add nextcloud to the list of programs that Windows starts on boot. Hopefully this work-around solves my problems.
Same issue for me. Sleeping/Hibernating Windows 10 will cause the 2.5.1 client to fail after resuming. Restarting client will fix the failure.
Trivial to reproduce, yet still at triage stage after 7 months?
Will experiment with the suggested workarounds above...