$ gfal-xattr -vvv https://transfer-test.cr.cnaf.infn.it:8443/tape/2-ddtest10GB user.status DEBUG no GFAL_CONFIG_DIR env var found, try to load configuration from default directory /etc/gfal2.d/ DEBUG try to load configuration file /etc/gfal2.d//bdii.conf ... DEBUG try to load configuration file /etc/gfal2.d//gfal2_core.conf ... DEBUG try to load configuration file /etc/gfal2.d//x509.conf ... DEBUG try to load configuration file /etc/gfal2.d//dcap_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//sftp_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//gsiftp_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//srm_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//http_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//xrootd_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//lfc_plugin.conf ... DEBUG try to load configuration file /etc/gfal2.d//rfio_plugin.conf ... DEBUG Using credentials from default proxy location DEBUG Certificate: /tmp/x509up_u10162 DEBUG Private key: /tmp/x509up_u10162 DEBUG ... no GFAL_PLUGIN_DIR environment variable specified, try to load plugins in the default directory : /usr/lib64/gfal2-plugins/ DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_dcap.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_sftp.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_file.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_gridftp.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_srm.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_http.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_xrootd.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_lfc.so DEBUG [gfal_list_directory_plugins] add plugin to list to load /usr/lib64/gfal2-plugins//libgfal_plugin_rfio.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_dcap.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_dcap.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_sftp.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_sftp.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_file.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_file.so DEBUG -> [gridftp_plugin] try to load .. DEBUG define GSIFTP session re-use to TRUE DEBUG -> [gridftp_plugin] loaded .. INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_gridftp.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_gridftp.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_srm.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_srm.so DEBUG Davix: Enable GRID profile for DAVIX DEBUG Davix: Adding CA path /etc/grid-security/certificates/ to valid CA path list DEBUG Davix: Using standard location for proxy: /tmp/x509up_u10162 DEBUG Davix: HTTP/SSL Session caching ENABLED DEBUG Davix: Redirection Session caching ENABLED DEBUG Davix: libdavix path /lib64/libdavix.so.0, version: 0.8.5 DEBUG Davix: Enable GRID profile for DAVIX DEBUG Davix: Adding CA path /etc/grid-security/certificates/ to valid CA path list DEBUG Davix: Using standard location for proxy: /tmp/x509up_u10162 INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_http.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_http.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_xrootd.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_xrootd.so INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_lfc.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_lfc.so DEBUG lib rfio is not defined in LCG_RFIO_TYPE, try to found it DEBUG rfio library libdpm.so.1 found! configured to use it INFO [gfal_module_load] plugin /usr/lib64/gfal2-plugins//libgfal_plugin_rfio.so loaded with success DEBUG gfal_plugin loaded successfully : /usr/lib64/gfal2-plugins//libgfal_plugin_rfio.so DEBUG plugin priority order: lfc-2.22.1 -> dcap-2.22.1 -> sftp-2.22.1 -> file-2.22.1 -> gridftp-2.22.1 -> srm-2.22.1 -> http-2.22.1 -> xrootd-2.22.1 -> rfio-2.22.1 -> DEBUG Davix: Create HttpRequest for https://transfer-test.cr.cnaf.infn.it:8443/.well-known/wlcg-tape-rest-api DEBUG Impossible to get string_list parameter HTTP:TRANSFER-TEST.CR.CNAF.INFN.IT:HEADERS, set to a default value (null), err Key file does not have group “HTTP:TRANSFER-TEST.CR.CNAF.INFN.IT” DEBUG Impossible to get string_list parameter HTTP PLUGIN:HEADERS, set to a default value (null), err Key file does not have key “HEADERS” in group “HTTP PLUGIN” DEBUG Impossible to get integer parameter HTTP PLUGIN:OPERATION_TIMEOUT, set to default value 1800, err Key file does not have key “OPERATION_TIMEOUT” in group “HTTP PLUGIN” DEBUG Using client X509 for HTTPS session authorization DEBUG Impossible to get string parameter BEARER:TOKEN, set to default value (null), err Key file does not have group “BEARER” DEBUG Davix: -> executeRequest DEBUG Davix: -> negotiateRequest DEBUG Davix: NEON start internal request DEBUG Davix: no cached ne_session, create a new one DEBUG Davix: HTTP session to https://transfer-test.cr.cnaf.infn.it:8443 begins. DEBUG Davix: configure session... DEBUG Davix: define connection timeout to 30 DEBUG Davix: define operation timeout to 1800 DEBUG Davix: add CA PATH /etc/grid-security/certificates/ DEBUG Davix: disable login/password authentication DEBUG Davix: enable client cert authentication by callback DEBUG Davix: Running pre_send hooks INFO Davix: > GET /.well-known/wlcg-tape-rest-api HTTP/1.1 > User-Agent: gfal2-util/1.8.1 gfal2/2.22.1 neon/0.0.29 > Keep-Alive: > Connection: Keep-Alive > TE: trailers > Host: transfer-test.cr.cnaf.infn.it:8443 > DEBUG Davix: Sending request-line and headers: DEBUG Davix: Doing DNS lookup on transfer-test.cr.cnaf.infn.it... DEBUG Davix: clicert callback DEBUG Davix: call client cert callback DEBUG Davix: Request sent; retry is 0. INFO Davix: < HTTP/1.1 200 OK INFO Davix: < Set-Cookie: JSESSIONID=node0uklfrtre72ovmb7zlt7hzsgf26.node0; Path=/; Secure INFO Davix: < Expires: Thu, 01 Jan 1970 00:00:00 GMT INFO Davix: < Content-Type: application/json INFO Davix: < X-Content-Type-Options: nosniff INFO Davix: < X-XSS-Protection: 1; mode=block INFO Davix: < Strict-Transport-Security: max-age=31536000 ; includeSubDomains INFO Davix: < X-Frame-Options: DENY INFO Davix: < Transfer-Encoding: chunked INFO Davix: < DEBUG Davix: End of headers. DEBUG Davix: Running post_headers hooks DEBUG Davix: <- negotiateRequest DEBUG Davix: Bad server answer: Content-Length Invalid, impossible to determine answer size DEBUG Davix: NEON Read data flow DEBUG Davix: [chunk] < C9 DEBUG Davix: Got chunk size: 201 DEBUG Davix: Reading 201 bytes of response body. DEBUG Davix: Got 201 bytes. DEBUG Davix: StandaloneNeonRequestNeonRequest::readBlock read 201 bytes DEBUG Davix: NEON Read data flow DEBUG Davix: [chunk] < 0 DEBUG Davix: Got chunk size: 0 DEBUG Davix: StandaloneNeonRequestNeonRequest::readBlock read 0 bytes INFO Davix: < DEBUG Davix: End of headers. DEBUG Davix: Running post_send hooks DEBUG Davix: <- executeRequest DEBUG Davix: Destroy HttpRequest DEBUG Davix: Running destroy hooks. DEBUG Davix: Request ends. DEBUG Davix: add old session to cache httpstransfer-test.cr.cnaf.infn.it:8443 DEBUG Davix: Create HttpRequest for https://storm-tape.cr.cnaf.infn.it:8443/api/v1/archiveinfo/ DEBUG Impossible to get string_list parameter HTTP:STORM-TAPE.CR.CNAF.INFN.IT:HEADERS, set to a default value (null), err Key file does not have group “HTTP:STORM-TAPE.CR.CNAF.INFN.IT” DEBUG Impossible to get string_list parameter HTTP PLUGIN:HEADERS, set to a default value (null), err Key file does not have key “HEADERS” in group “HTTP PLUGIN” DEBUG Impossible to get integer parameter HTTP PLUGIN:OPERATION_TIMEOUT, set to default value 1800, err Key file does not have key “OPERATION_TIMEOUT” in group “HTTP PLUGIN” DEBUG Using client X509 for HTTPS session authorization DEBUG Impossible to get string parameter BEARER:TOKEN, set to default value (null), err Key file does not have group “BEARER” DEBUG Davix: -> executeRequest DEBUG Davix: -> negotiateRequest DEBUG Davix: NEON start internal request DEBUG Davix: no cached ne_session, create a new one DEBUG Davix: HTTP session to https://storm-tape.cr.cnaf.infn.it:8443 begins. DEBUG Davix: configure session... DEBUG Davix: define connection timeout to 30 DEBUG Davix: define operation timeout to 1800 DEBUG Davix: add CA PATH /etc/grid-security/certificates/ DEBUG Davix: disable login/password authentication DEBUG Davix: enable client cert authentication by callback DEBUG Davix: Running pre_send hooks INFO Davix: > POST /api/v1/archiveinfo/ HTTP/1.1 > User-Agent: gfal2-util/1.8.1 gfal2/2.22.1 neon/0.0.29 > Keep-Alive: > Connection: Keep-Alive > TE: trailers > Host: storm-tape.cr.cnaf.infn.it:8443 > Content-Type: application/json > Content-Length: 33 > DEBUG Davix: Sending request-line and headers: DEBUG Davix: Doing DNS lookup on storm-tape.cr.cnaf.infn.it... DEBUG Davix: clicert callback DEBUG Davix: call client cert callback DEBUG Davix: Sending request body: DEBUG Davix: Request body sent successfully DEBUG Davix: Request sent; retry is 0. INFO Davix: < HTTP/1.1 400 Bad Request INFO Davix: < Server: nginx/1.24.0 INFO Davix: < Date: Tue, 13 Aug 2024 11:17:06 GMT INFO Davix: < Content-Type: text/html INFO Davix: < Content-Length: 215 INFO Davix: < Connection: close INFO Davix: < DEBUG Davix: End of headers. DEBUG Davix: Running post_headers hooks DEBUG Davix: <- negotiateRequest DEBUG Davix: NEON Read data flow DEBUG Davix: Reading 215 bytes of response body. DEBUG Davix: Got 215 bytes. DEBUG Davix: StandaloneNeonRequestNeonRequest::readBlock read 215 bytes DEBUG Davix: NEON Read data flow DEBUG Davix: StandaloneNeonRequestNeonRequest::readBlock read 0 bytes DEBUG Davix: Running post_send hooks DEBUG Davix: sess: Closing connection. DEBUG Davix: sess: Connection closed. DEBUG Davix: <- executeRequest DEBUG Davix: Destroy HttpRequest DEBUG Davix: Running destroy hooks. DEBUG Davix: Request ends. DEBUG Davix: add old session to cache httpsstorm-tape.cr.cnaf.infn.it:8443 gfal-xattr error: 22 (Invalid argument) - [gfal2_getxattr][gfal_plugin_getxattrG][get_archiveinfo] [Tape REST API] Archive polling call failed: HTTP 400 : Server Error : 400 The SSL certificate error

400 Bad Request

The SSL certificate error

nginx/1.24.0
DEBUG gridftp session cache garbage collection ... DEBUG Davix: sess: Destroying session. DEBUG Davix: sess: Closing connection. DEBUG Davix: sess: Connection closed. DEBUG Davix: sess: Destroying session.