What is an X509_USER_PROXY, what does it mean that it isn't set and how do I fix this error?

So I got an error involving something I don’t understand at all:

Filename root://cms-xrd-global.cern.ch/Neither X509_USER_PROXY or X509_USER_KEY/X509_USER_CERT are set is remote, will do a copy to local path /tmp/migordon/X509_USER_CERT are set-3232313431333134.root
Run: [ERROR] Server responded with an error: [3010] Opening relative path 'Neither X509_USER_PROXY or X509_USER_KEY/X509_USER_CERT are set' is disallowed. (source)

Error: could not save file locally, will run from remotetemp output 0: /eos/user/m/migordon/SWAN_projects/JPsiSkims/TTToSemiLeptonic_mtop166p5_TuneCP5_13TeV-powheg-pythia8/RunIISummer20UL18NanoAODv2-106X_upgrade2018_realistic_v15_L1v1-v1/X509_USER_CERT are set
Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3010] Opening relative path 'Neither X509_USER_PROXY or X509_USER_KEY/X509_USER_CERT are set' is disallowed.

Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3010] Opening relative path 'Neither X509_USER_PROXY or X509_USER_KEY/X509_USER_CERT are set' is disallowed.
Error in <TNetXNGFile::Open>: [ERROR] Server responded with an error: [3010] Opening relative path 'Neither X509_USER_PROXY or X509_USER_KEY/X509_USER_CERT are set' is disallowed.
Traceback (most recent call last):
  File "/eos/user/m/migordon/SWAN_projects/TTBarProject/SkimScript.py", line 282, in <module>
    rdfFinal = rdfFinal.Filter(defn, name)
cppyy.gbl.std.runtime_error: Template method resolution failed:
  ROOT::RDF::RInterface<ROOT::Detail::RDF::RJittedFilter,void> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Filter(basic_string_view<char,char_traits<char> > expression, basic_string_view<char,char_traits<char> > name = "") =>
    runtime_error: GetBranchNames: error in opening the tree Events
  ROOT::RDF::RInterface<ROOT::Detail::RDF::RJittedFilter,void> ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager,void>::Filter(basic_string_view<char,char_traits<char> > expression, basic_string_view<char,char_traits<char> > name = "") =>
    runtime_error: GetBranchNames: error in opening the tree Events

I was wondering what this even means and how do I fix it. Thanks.

As it seems RDF related, @eguiraud might know.

Hi,

not a RDF issue, this is an xrootd error related to remote file access. Make sure you can call TFile::Open on the input file from a SWAN Jupyter notebook. This looks like a permission issue.

Cheers,
Enrico

Ok, I realized I had a voms-proxy-init issue and that the grid certificate I had installed was in fact a re-installation of an old, expired one. I downloaded a new one, but need help installing it in SWAN. How do I get the new certificate into SWAN?

Hi @Diracula ,

I’m glad to hear you could figure out what the problem was.
I’m afraid your last question is really for the SWAN admins :sweat_smile:

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.