[Pulp-list] pulp_rpm 3.6.1 not able to connect through proxy
Bin Li (BLOOMBERG/ 120 PARK)
bli111 at bloomberg.net
Sat Aug 29 12:35:07 UTC 2020
After we upgraded to latest pulp version from 3.3, we got the following errors to sync repos through proxy. This works fine before the upgrade. I tried the upgrade on multiple hosts and got the same errors. This error only happens when sync external repos which requires proxy. Please advise
"description": "Cannot connect to host cdn.redhat.com:443 ssl:default [Connect call failed ('173.222.100.251', 443)]",
"traceback": " File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\", line 884, in perform_job\n rv = job.perform()\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 664, in perform\n self._result = self._execute()\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 211, in synchronize\n remote_url = fetch_remote_url(remote)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 136, in fetch_remote_url\n downloader.fetch()\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py\", line 160, in fetch\n return done.pop().result()\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/download/base.py\", line 227, in run\n return await self._run(extra_data=extra_data)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/downloaders.py\", line 87, in _run\n async with self.session.get(url) as response:\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py\", line 1012, in __aenter__\n self._resp = await self._coro\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/client.py\", line 483, in _request\n timeout=real_timeout\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py\", line 523, in connect\n proto = await self._create_connection(req, traces, timeout)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py\", line 859, in _create_connection\n req, traces, timeout)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py\", line 1004, in _create_direct_connection\n raise last_exc\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py\", line 986, in _create_direct_connection\n req=req, client_error=client_error)\n File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/aiohttp/connector.py\", line 943, in _wrap_create_connection\n raise client_error(req.connection_key, exc) from exc\n"
The pulp version we are running:
"versions": [
{
"component": "pulpcore",
"version": "3.6.0"
},
{
"component": "pulp_rpm",
"version": "3.6.1"
},
{
"component": "pulp_file",
"version": "1.2.0"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200829/ec86bf84/attachment.htm>
More information about the Pulp-list
mailing list