[Bug]: Crash with client certificate
⚠️ 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
Nextcloud client crashes when adding account secured with client certificate
Steps to reproduce
- Try to add new account secured with client certificate
- Fill in url, login, password, point to pfx file and fill pfx password
- Authorize with browser, click allow button as usual. No errors in browser
- Nextcloud client disappears from the tray
- Crash event recorded to Application log
- When starting Nextcloud client once more no new account available NC error new acc.txt
Expected behavior
Nextcloud client must accept new account and begin synchronization
Which files are affected by this bug
nextcloud.cfg
Operating system
Windows
Which version of the operating system you are running.
Windows 10, 11
Package
Official Windows MSI
Nextcloud Server version
31.0.4.1
Nextcloud Desktop Client version
3.16.2
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
{"reqId":"FpKi7lOcwXi1FN6YJTvC","level":2,"time":"2025-04-26T12:17:40+00:00","remoteAddr":"*****","user":"s.merzlikin","app":"notes","method":"GET","url":"/login/v2/flow?direct=0&user=sm","message":"Failed to get notes folder for user s.merzlikin: \u0417\u0430\u043c\u0435\u0442\u043a\u0438 is not a folder","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0","version":"31.0.4.1","data":{"app":"notes"}}
{"reqId":"uJLfdynyrjT21zSkFuH3","level":2,"time":"2025-04-26T12:17:42+00:00","remoteAddr":"*****","user":"s.merzlikin","app":"notes","method":"GET","url":"/login/v2/grant?direct=0&user=sm&stateToken=uLwDhPMv40f3rz6y7xdDlsnMZGnoanhLi7MGZvIqBTIqKhIlylYhNNfSOzVkqNEl","message":"Failed to get notes folder for user s.merzlikin: \u0417\u0430\u043c\u0435\u0442\u043a\u0438 is not a folder","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0","version":"31.0.4.1","data":{"app":"notes"}}
{"reqId":"qiWRPg1JKyOB9G93L98P","level":2,"time":"2025-04-26T12:17:45+00:00","remoteAddr":"*****","user":"s.merzlikin","app":"notes","method":"POST","url":"/login/v2/grant","message":"Failed to get notes folder for user s.merzlikin: \u0417\u0430\u043c\u0435\u0442\u043a\u0438 is not a folder","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0","version":"31.0.4.1","data":{"app":"notes"}}
Relevant Apache logs:
[Sat Apr 26 15:16:37.583906 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/status.php
[Sat Apr 26 15:16:37.584299 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/error
[Sat Apr 26 15:16:37.624493 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/nextcloud
[Sat Apr 26 15:16:37.624512 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/index.php
[Sat Apr 26 15:16:37.629599 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/
[Sat Apr 26 15:16:37.629617 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/index.php
[Sat Apr 26 15:16:37.634617 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/status.php
[Sat Apr 26 15:16:37.634672 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/error
[Sat Apr 26 15:16:37.663174 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/nextcloud
[Sat Apr 26 15:16:37.663193 2025] [authz_core:error] [pid 1764388:tid 1764388] [client *****:2329] AH01630: client denied by server configuration: /var/www/nextcloud/convershouse/index.php
***** - - [26/Apr/2025:15:16:37 +0300] "GET /status.php HTTP/1.1" 404 10506 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:16:37 +0300] "GET /nextcloud/status.php HTTP/1.1" 403 845 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:16:37 +0300] "GET / HTTP/1.1" 403 845 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:16:37 +0300] "GET /status.php HTTP/1.1" 404 6966 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:16:37 +0300] "GET /nextcloud/status.php HTTP/1.1" 403 845 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "GET /status.php HTTP/1.1" 200 3694 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "GET / HTTP/1.1" 302 754 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 4087 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "PROPFIND /remote.php/dav/files// HTTP/1.1" 401 3947 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "GET /login HTTP/1.1" 200 9164 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
***** - - [26/Apr/2025:15:17:34 +0300] "POST /index.php/login/v2 HTTP/1.1" 200 3892 "-" "SM-1 (Desktop Client - Windows)"
***** - - [26/Apr/2025:15:17:39 +0300] "GET /login/v2/flow/F4yngN5wquYJleNQolD1jnWjw9bZGyXiXKw6UuNRkGzv795Bd36LMV5n5APfQs3Sn1OnHbDcrsuoROJh2EJTnbOnZ7jvcrAVUflLkahGHeQ2r3p7lkovj7me2UkB2koV?user=sm HTTP/1.1" 303 4611 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:39 +0300] "GET /login/v2/flow?direct=0&user=sm HTTP/1.1" 200 9996 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /core/css/server.css?v=33f8f4a0-4 HTTP/1.1" 200 19783 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /core/css/login/authpicker.css?v=33f8f4a0-4 HTTP/1.1" 200 924 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/css/default.css?v=93b0fe65-4 HTTP/1.1" 200 2230 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /core/css/guest.css?v=33f8f4a0-4 HTTP/1.1" 200 5146 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/light.css?plain=1&v=d8e9bc1b HTTP/1.1" 200 4892 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/default.css?plain=1&v=d8e9bc1b HTTP/1.1" 200 2417 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/icons.css HTTP/1.1" 200 39191 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/dark-highcontrast.css?plain=0&v=d8e9bc1b HTTP/1.1" 200 2204 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/dark.css?plain=0&v=d8e9bc1b HTTP/1.1" 200 4910 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/light-highcontrast.css?plain=0&v=d8e9bc1b HTTP/1.1" 200 2175 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/light.css?plain=0&v=d8e9bc1b HTTP/1.1" 200 4914 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/opendyslexic.css?plain=0&v=d8e9bc1b HTTP/1.1" 200 1176 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/core-files_fileinfo.js?v=33f8f4a0-4 HTTP/1.1" 200 1086 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/core-files_client.js?v=33f8f4a0-4 HTTP/1.1" 200 4838 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /core/l10n/ru.js?v=33f8f4a0-4 HTTP/1.1" 200 15162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /core/js/login/authpicker.js?v=33f8f4a0-4 HTTP/1.1" 200 958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/calendar/l10n/ru.js?v=33f8f4a0-4 HTTP/1.1" 200 15967 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/l10n/ru.js?v=33f8f4a0-4 HTTP/1.1" 200 6431 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/js/theming.js?v=33f8f4a0-4 HTTP/1.1" 200 778 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/files_sharing/l10n/ru.js?v=33f8f4a0-4 HTTP/1.1" 200 11839 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/core-main.js?v=33f8f4a0-4 HTTP/1.1" 200 294025 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /js/core/merged-template-prepend.js?v=33f8f4a0-4 HTTP/1.1" 200 3766 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/files_sharing-main.js?v=33f8f4a0-4 HTTP/1.1" 200 854 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/img/background/jenna-kim-the-globe.webp HTTP/1.1" 200 99683 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/image/logo?v=4 HTTP/1.1" 200 11727 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/dark.css?plain=1&v=d8e9bc1b HTTP/1.1" 200 2090 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/light-highcontrast.css?plain=1&v=d8e9bc1b HTTP/1.1" 200 2150 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/theming/theme/dark-highcontrast.css?plain=1&v=d8e9bc1b HTTP/1.1" 200 2180 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /apps/calendar/js/calendar-contacts-menu.js?v=33f8f4a0-4 HTTP/1.1" 200 721656 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:40 +0300] "GET /dist/core-common.js?v=33f8f4a0-4 HTTP/1.1" 200 1050220 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:41 +0300] "GET /apps/theming/manifest?v=c5265bbb HTTP/1.1" 200 1111 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:41 +0300] "GET /apps/theming/icon?v=4 HTTP/1.1" 200 12159 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:42 +0300] "GET /login/v2/grant?direct=0&user=sm&stateToken=uLwDhPMv40f3rz6y7xdDlsnMZGnoanhLi7MGZvIqBTIqKhIlylYhNNfSOzVkqNEl HTTP/1.1" 200 9603 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:42 +0300] "GET /core/js/login/grant.js?v=33f8f4a0-4 HTTP/1.1" 200 967 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:44 +0300] "GET /core/img/loading-small-dark.gif HTTP/1.1" 200 2355 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:44 +0300] "GET /index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 6415 "https://{url obfuscated}:55445/index.php/apps/files/preview-service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:44 +0300] "POST /login/v2/grant HTTP/1.1" 200 9271 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:47 +0300] "GET /index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 6415 "https://{url obfuscated}:55445/index.php/apps/files/preview-service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
***** - - [26/Apr/2025:15:17:52 +0300] "POST /login/v2/poll HTTP/1.1" 200 3736 "-" "Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
And corresponding lines from client log:
2025-04-26 15:17:26:170 [ info nextcloud.gui.wizard C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\gui\owncloudsetupwizard.cpp:207 ]: No system proxy set by OS
2025-04-26 15:17:26:170 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:75 ]: 2 "" "https://{url obfuscated}:55445/status.php" has X-Request-ID "6bf3e6e8-b59e-4c26-9cbd-4b6885e23f11"
2025-04-26 15:17:26:170 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\abstractnetworkjob.cpp:364 ]: OCC::CheckServerJob created for "https://{url obfuscated}" + "status.php" "OCC::OwncloudSetupWizard"
2025-04-26 15:17:26:233 [ warning nextcloud.sync.networkjob.checkserver C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:528 ]: No SSL session identifier / session ticket is used, this might impact sync performance negatively.
2025-04-26 15:17:26:233 [ info nextcloud.sync.networkjob.checkserver C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:556 ]: status.php returns: QJsonDocument({"edition":"","extendedSupport":false,"installed":true,"maintenance":false,"needsDbUpgrade":false,"productname":"Nextcloud","version":"31.0.4.1","versionstring":"31.0.4"}) QNetworkReply::NoError Reply: QNetworkReplyHttpImpl(0x21b953d19c0)
2025-04-26 15:17:26:233 [ info nextcloud.sync.networkjob.determineauthtype C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:1029 ]: Determining auth type for QUrl("https://{url obfuscated}:55445/remote.php/dav/files//")
2025-04-26 15:17:26:233 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:75 ]: 2 "" "https://{url obfuscated}:55445" has X-Request-ID "87a0b131-df73-4a9c-9501-b8e60492476b"
2025-04-26 15:17:26:233 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\abstractnetworkjob.cpp:364 ]: OCC::SimpleNetworkJob created for "https://{url obfuscated}" + "" ""
2025-04-26 15:17:26:233 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:75 ]: 6 "PROPFIND" "https://{url obfuscated}:55445/remote.php/dav/files//" has X-Request-ID "7e4f251c-15e3-40f4-a86f-2364fd4d555e"
2025-04-26 15:17:26:233 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\abstractnetworkjob.cpp:364 ]: OCC::SimpleNetworkJob created for "https://{url obfuscated}" + "" ""
2025-04-26 15:17:26:233 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:75 ]: 2 "" "https://{url obfuscated}:55445/ocs/v2.php/cloud/capabilities?format=json" has X-Request-ID "ab50815b-d8cb-4935-8ee5-33c6892be659"
2025-04-26 15:17:26:233 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\abstractnetworkjob.cpp:364 ]: OCC::JsonApiJob created for "https://{url obfuscated}" + "/ocs/v2.php/cloud/capabilities" "OCC::DetermineAuthTypeJob"
2025-04-26 15:17:26:284 [ info nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:969 ]: JsonApiJob of QUrl("https://{url obfuscated}:55445/ocs/v2.php/cloud/capabilities?format=json") FINISHED WITH STATUS "OK"
2025-04-26 15:17:26:313 [ warning nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:43 ]: Server requested authentication and we didn't provide a user
2025-04-26 15:17:26:313 [ warning nextcloud.sync.networkjob.determineauthtype C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:1073 ]: Unknown WWW-Authenticate reply to auth-test PROPFIND: "basic realm=\"\xD0\x9E\xD0\xB1\xD0\xBB\xD0\xB0\xD0\xBA\xD0\xBE {obfuscated}\", charset=\"utf-8\""
2025-04-26 15:17:26:335 [ info nextcloud.sync.networkjob.determineauthtype C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\networkjobs.cpp:1155 ]: Auth type for QUrl("https://{url obfuscated}:55445/remote.php/dav/files//") is OCC::DetermineAuthTypeJob::LoginFlowV2
2025-04-26 15:17:26:335 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\accessmanager.cpp:75 ]: 4 "" "https://{url obfuscated}:55445/index.php/login/v2" has X-Request-ID "9d46b1ef-6d6b-4167-9a7a-b7624958dc4a"
2025-04-26 15:17:26:335 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\libsync\abstractnetworkjob.cpp:364 ]: OCC::SimpleNetworkJob created for "https://{url obfuscated}" + "" ""
2025-04-26 15:17:26:519 [ info nextcloud.sync.credentials.flow2auth C:\Users\User\AppData\Local\Temp\windows-29332\client-building\desktop\src\gui\creds\flow2auth.cpp:150 ]: setting remote poll timer interval to 30000 msec
Additional info
I can downgrade desktop client to v. 3.13.4 (this is last client without this bug) and successfully add an account secured with client certificate. Then I can upgrade desktop client up to current version, and it will work, synchronizing this account as usual, but:
- closing client leads to silent crash: Application log registers Nextcloud client failure at this moment;
- shutting down or reboot computer leads to visible application crash window which prevents reboot/shutdown until the user responds on this window.
Unfortunaly no relevant lines in client log tied with these crashes can be found.
Thank you for the suggestion of 3.13.4 - I have a brand new install of nextcloud and was convinced I was doing something wrong!
Can replicate here - I am using the FPM docker image (31.0.4), with redis in docker, and apache2 on the host with Ubuntu Server 24.04.2 LTS Using client certificates with my own CA Android client connected fine, windows client (3.16.4) gets through to granting access, but then crashes Logs state:
Exception HMAC does not match.
Could not decrypt or decode encrypted session data
Downgrade to 3.13.4 enables connection as expected.
I just compiled current development build (3.16.50-daily or 3.17.0-alfa). Seems this bug is fixed in this version.
Hello, this could be a duplicate of : #7762 [Bug]: 3.16.x asks to log in on every start (PKCS#12 client certificate)
@smsoft-ru apparently this is no longer reproduced by you. I am closing it