go-hep / hep

hep is the mono repository holding all of go-hep.org/x/hep packages and tools
https://go-hep.org
BSD 3-Clause "New" or "Revised" License
230 stars 35 forks source link

Invalid argument xrootd #955

Closed Moelf closed 2 years ago

Moelf commented 2 years ago
baseurl = "fax.mwt2.org"
filepath = "/pnfs/uchicago.edu/atlasscratchdisk/rucio/user/jiling/9f/5a/user.jiling.30104148._000011.ANALYSIS.root"
2022/08/26 07:30:35 invalid argument

calling like: https://github.com/JuliaPackaging/Yggdrasil/blob/51a3da0b040987a7ab2c7f1d3857194d35811842/X/xrootdgo/bundled/main.go#L24

Moelf commented 2 years ago

other location seems to work:

baseurl = "eospublic.cern.ch"
filepath = "/eos/root-eos/cms_opendata_2012_nanoaod/Run2012B_DoubleMuParked.root"

so what string pattern does it not like about the first case?

sbinet commented 2 years ago

most probably, this is because fax.mwt2.org uses the GSI authentication protocol (I'll check that tomorrow).

we are still missing a good soul implementing that protocol for Go-HEP/xrootd. the good news is that now the protocol has a spec:

sbinet commented 2 years ago

yep, that's it:

$> xrd-ls "root://fax.mwt2.org//pnfs/uchicago.edu/atlasscratchdisk/rucio/user/jiling/9f/5a/user.jiling.30104148._00
0011.ANALYSIS.root"
xrd-ls: could not list "root://fax.mwt2.org//pnfs/uchicago.edu/atlasscratchdisk/rucio/user/jiling/9f/5a/user.jiling.30104148._000011.ANALYSIS.root" content: could not create client: xrootd: could not authorize:
[xrootd: could not authorize using gsi: provider was not found]
sbinet commented 2 years ago

closing as a "duplicate" of #250