[Bug]: SSL Handshake Error on Windows 10 with Client 3.16.0
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
After upgrading to client 3.16.0, the client no longer connects to my Nextcloud server due to an SSL error.
E.g., using a fresh installation, I get the message:
Failed to connect to Nextcloud at https://REDACTED/; SSL handshake failed: Handshake failed: An unsupported function was requested.
From the logs, I get:
SslHandshakeFailedError: "SSL handshake failed: Handshake failed: An unsupported function was requested" : can be caused by a webserver wanting SSL client certificates
and
QNetworkReply::SslHandshakeFailedError "SSL handshake failed: Handshake failed: An unsupported function was requested" QVariant(Invalid)
Steps to reproduce
- Start Nextcloud (not logged-in)
- Click "Login"
- Enter URL https://REDACTED
- Click "Next >"
- Click either "Retry unencrypted over HTTP (insecure)" or "Configure client-side TLS certificate"
(see screenshots below)
Expected behavior
When logged in: The client connects after starting the app and the Nextcloud app icon shows the "tick" symbol.
When not logged in: After clicking "Next >", the client opens a web browser to log in.
Which files are affected by this bug
20250311_1217_nextcloud.log.0
Operating system
Windows
Which version of the operating system you are running.
Windows 10 22H2 19045.5555
Package
Official Windows MSI
Nextcloud Server version
30.0.6.2
Nextcloud Desktop Client version
3.16.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?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
Additional info
This happens only on Windows 10. Client 3.16.0 works fine on both Windows 11 and macOS. I already tried using a VPN and different DNS server. Also, this only happens with my self-hosted instance on a Synology NAS with a Let's Encrypt certificate. I created a test account on The Good Cloud. The URL https://use08.thegood.cloud works without issues on Windows 10.
The client logs:
We have the same issue. Windows 11 and macOS are working, Windows 10 not. It was also reported here: https://help.nextcloud.com/t/win-client-disconnected-from-server-after-update-to-3-16/219658
Looks to me like this is an issue with Qt's schannel TLS backend... it indeed does not implement some functions
Can you give this daily build a try? It includes Qt's openssl TLS backend again: https://download.nextcloud.com/desktop/daily/windows/windows-20250311.msi
This build fixes the bug for me!
I have the same issue and reported it in the Nextcloud help forum (the post of @limatus above contains the link).
This seems to be a clear regression. Will this be fixed in 3.16.1?
@m3g33 perfect!
@geppi yes, the fix will be part of 3.16.1. Right now you can test it using the daily build posted above
@nilsding That's good news. Thank you!
@nilsding, I also confirm: the daily build fixed it for us!
awesome! I'll close this issue then.