Skip to content

Heidi's error message with rucio and no proxy: #1056

@StevenCTimm

Description

@StevenCTimm

This was quickly determined to be because Heidi hadn't run the second Justin get-token command
and thus the expected proxy field was non existent, but rucio comes up with an incredible error message.
should follow up with the devs.

Apptainer> rucio -v whoami
2025-12-22 13:18:36,804 DEBUG baseclient.py No trace_host passed. Using rucio_host instead
2025-12-22 13:18:36,804 DEBUG baseclient.py No creds passed. Trying to get it from the config file.
2025-12-22 13:18:36,806 DEBUG utils.py Traceback (most recent call last):
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/cli/utils.py”, line 59, in new_funct
return function(*args, **kwargs)
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/click/decorators.py”, line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/cli/command.py”, line 223, in main
client = get_client(args, logger) # TODO Future improvement - use envvar functionality in click to remove conditionals checking env vars
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/cli/utils.py”, line 198, in get_client
client = Client(rucio_host=args.host, auth_host=args.auth_host, account=args.issuer, auth_type=auth_type, creds=creds, ca_cert=args.ca_certificate, timeout=args.timeout, user_agent=args.user_agent, vo=args.vo, logger=logger)
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/client/client.py”, line 130, in init
super(Client, self).init(**args)
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/client/baseclient.py”, line 175, in init
self.creds = self._get_creds(creds)
File “/cvmfs/dune.opensciencegrid.org/products/dune/rucio/v38_1_0/NULL/lib/python3.9/site-packages/rucio/client/baseclient.py”, line 355, in _get_creds
creds[‘client_proxy’] = _expand_path(creds[‘client_proxy’])
KeyError: ‘client_proxy’
2025-12-22 13:18:36,807 ERROR
The object is missing this property: ‘client_proxy’
This should never happen. Please rerun the last command with the “-v” option to gather more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions