Hi,
sometimes I get the following error while plotting TTree variables from chained files stored in castor (all files are staged):
SysError in : connect (lxfs6091:1094) (Connection refused)
Error in : can’t open connection to rootd on host lxfs6091 at port 1094
Error in : authentication attempt unsuccessful
Error in : failing on file rootug://lxfs6091//shift/lxfs6091/data0 … oot.771007
Does it happen systematically on the same file?
If yes, can you open the file using TFile::Open(“castor:/castor/cern.ch/…”)?
If not, it looks more like a temporary problem on the server side. In such a
case, the best is probably to collect the list of failed attempts (file name and time of the attempt) and ask the castor support if they have anything in
their logs in relation to such attempts.
It took a while, which probably means that the file was staged again, as indicated by the fact that the disk server is different from the one you had in your error message.
I would try to remove the files that give problems so that they are staged again, and see if the problem persist. The command should be stageclr.