[knetattach] [Bug 485682] New: knetattach/dolphin webdavs permanent mount fails -- mount request incorrectly sent as insecure HTTP, not required HTTPS
pgnd
bugzilla_noreply at kde.org
Wed Apr 17 16:37:51 BST 2024
https://bugs.kde.org/show_bug.cgi?id=485682
Bug ID: 485682
Summary: knetattach/dolphin webdavs permanent mount fails --
mount request incorrectly sent as insecure HTTP, not
required HTTPS
Classification: Applications
Product: knetattach
Version: 5.27.11
Platform: Other
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: pgnd at dev-mail.net
CC: dolphin-bugs-null at kde.org
Target Milestone: ---
on
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.8.5-201.fc39.x86_64 (64-bit)
Graphics Platform: X11
i've set up a local WebDav server; nginx, config
server {
listen [fd80:10:10::17]:443 ssl;
listen 10.10.10.17:443 ssl;
http2 on;
server_name webdav.example.com;
...
ssl_verify_client off;
ssl_trusted_certificate "/sec/CA.chain.CHAIN.crt.pem";
ssl_certificate "/sec/webdav.example.com.crt.pem";
ssl_certificate_key "/sec/webdav.example.com.key.pem";
location = /favicon.ico { access_log off; log_not_found off; }
location / {
root /webdav;
autoindex on;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
dav_access user:rw group:rw all:rw;
client_body_temp_path /tmp/;
client_max_body_size 0;
create_full_put_path on;
}
}
it's up & accessible
cadaver https://webdav.example.com
dav:/> ls
Listing collection `/': succeeded.
test.txt 0 Apr 17 09:53
dav:/>
if, in dolphin, i enter a direct URL to webdav path:
webdavs://webdav.example.com
i see 'test.txt' in Dolphin file list, as expected
@ web logs,
2024/04/17 10:54:56 [notice] 53641#53641: *8 "^(.*[^/])$" does not
match "/", client: fd80:10:10::7, server: webdav.example.com, request:
"PROPFIND / HTTP/1.1", host: "webdav.example.com"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND / HTTP/1.1"
207 803 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
2024/04/17 10:54:56 [info] 53641#53641: *9 client sent invalid request
while reading client request line, client: fd80:10:10::7, server:
webdav.example.com, request: "PROPFIND HTTP/1.1"
2024/04/17 10:54:56 [notice] 53641#53641: *8 "^(.*[^/])$" does not
match "/", client: fd80:10:10::7, server: webdav.example.com, request:
"PROPFIND / HTTP/1.1", host: "webdav.example.com"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND / HTTP/1.1"
207 424 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND HTTP/1.1" 400
150 "-" "-" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "PROPFIND /test.txt
HTTP/1.1" 207 467 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
fd80:10:10::7 - - [17/Apr/2024:10:54:56 -0400] "GET /test.txt HTTP/1.1"
200 0 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 dolphin/23.08.5" "-"
if I attempt to create a *permanent* WebDav mount in Dolphin,
dolphin -> remote -> Network -> Add Network Folder
[X] WebFolder (webdav)
Name: [webdavtest]
Server: [webdav.example.com]
Port: [443]
Folder: [/]
-> [Save & Connect]
I get error dialog
Error - KDE Network Wizard
Unable to connect to server. Please check your settings and try again.
and web logs,
2024/04/17 10:52:05 [info] 53553#53553: *11 client sent plain HTTP
request to HTTPS port while reading client request headers, client:
fd80:10:10::7, server: webdav.example.com, request: "PROPFIND / HTTP/1.1",
host: "webdav.example.com:443"
fd80:10:10::7 - - [17/Apr/2024:10:52:05 -0400] "PROPFIND / HTTP/1.1"
400 248 "-" "Mozilla/5.0 (X11; Linux) KIO/5.115 knetattach/5.27.11" "-"
there's neither an auto-config of port 443 as ssl port, nor an obvious
mechanism to specify the ssl usage (webdafs).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list