dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

WebDAV issue on trunk #6703

Open DmitryLitvintsev opened 2 years ago

DmitryLitvintsev commented 2 years ago

Running this command:

curl -L --capath /etc/grid-security/certificates --cert /tmp/x509up_u8637 --cacert /tmp/x509up_u8637 --key /tmp/x509up_u8637 -Tjunk https://fndcaitb4.fnal.gov:2880/pnfs/fnal.gov/usr/test/litvinse/world_readable/test.4

produced error:

Internal problem: Protocol Https-1.1:2620:6a:0:87:219:b9ff:fe03:7377:0:WebDAV-fndcaitb4-1:webdavDomain:/pnfs/fnal.gov/usr/pnfs/fnal.gov/usr/test/litvinse/world_readable/test.4 is not supported

7.2 successful:

curl -L --capath /etc/grid-security/certificates --cert /tmp/x509up_u8637 --cacert /tmp/x509up_u8637 --key /tmp/x509up_u8637 -Tjunk https://fndcaitb4.fnal.gov:2880/pnfs/fnal.gov/usr/test/litvinse/world_readable/test.7.2 837787900 bytes uploaded

DmitryLitvintsev commented 2 years ago
[litvinse@litvintsev dcache]$ git bisect good 
05524104505f85288ef0dc3d86a383600a54af34 is the first bad commit
commit 05524104505f85288ef0dc3d86a383600a54af34
Author: Marina Sahakyan <marina.sahakyan@desy.de>
Date:   Thu Apr 14 18:47:34 2022 +0200

    dcahce: set https  redirect to true by default

    Motivation

    New browsers are  preventin   downloading any from  https://.../ stating that  it uses an insecure connection.
    This is result of redirecting to http from original httpS link.

    Modification

    set the https redirect configuration to true.

    Result

    webdav.redirect.allow-https and pool.enable.encrypted-transfers are now set by default to true

    Target: master
    Acked-by: Tigran Mkrtchyan

:040000 040000 96b76095ddc1ec593c5aec3ddb59d13ce9de2b15 80e0ddc50c33034eacb559c2bcf3c611cafd7d7d M  skel
[litvinse@litvintsev dcache]$ 
DmitryLitvintsev commented 2 years ago

May be this is my issue - I did not upgrade dCache on all the pools as well?