https://pantsbuild.org/ logo
#general
Title
# general
b

bland-family-75364

08/07/2020, 3:04 PM
Engine traceback: in Create PEX Traceback (no traceback): <pants native internals> Exception: Error downloading file: error sending request for url (https://github.com/pantsbuild/pex/releases/download/v2.1.11/pex): error trying to connect: invalid certificate: UnknownIssuer Traceback (most recent call last): File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 356, in run engine_result = self._maybe_run_v2(v2) File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 236, in _maybe_run_v2 return self._maybe_run_v2_body(goals, poll=False) File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 260, in _maybe_run_v2_body poll_delay=(0.1 if poll else None), File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/init/engine_initializer.py", line 256, in run_goal_rules goal_product, params, poll=poll, poll_delay=poll_delay File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 614, in run_goal_rule self._raise_on_error([t for _, t in throws]) File "/home/mafunk/.cache/pants/setup/bootstrap-Linux-x86_64/1.29.0_py37/lib/python3.7/site-packages/pants/engine/internals/scheduler.py", line 578, in _raise_on_error wrapped_exceptions=tuple(t.exc for t in throws), pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
h

happy-kitchen-89482

08/07/2020, 8:37 PM
Hmmm, this is fetched in Rust code, it looks like, and I'm assuming
REQUESTS_CA_BUNDLE
is a python
requests
-specific thing.
@witty-crayon-22786, can we pass CA bundles through to Rust?
w

witty-crayon-22786

08/07/2020, 8:41 PM
we use https://docs.rs/reqwest/0.10.7/reqwest/ … I don’t know my way around certs, but the answer should be yes
@happy-kitchen-89482: sorry, have been distracted. i can file this one?
h

happy-kitchen-89482

08/07/2020, 9:33 PM
I'll file it
@bland-family-75364 have you found a workaround for the CA bundle issue?
7 Views