dcache icon indicating copy to clipboard operation
dcache copied to clipboard

WebDAV issue on trunk

Open DmitryLitvintsev opened this issue 2 years ago • 2 comments

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 avatar Jun 23 '22 15:06 DmitryLitvintsev

[litvinse@litvintsev dcache]$ git bisect good 
05524104505f85288ef0dc3d86a383600a54af34 is the first bad commit
commit 05524104505f85288ef0dc3d86a383600a54af34
Author: Marina Sahakyan <[email protected]>
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 avatar Jun 23 '22 18:06 DmitryLitvintsev

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

DmitryLitvintsev avatar Jun 23 '22 18:06 DmitryLitvintsev