Issue #9290

Updated by pulpbot about 1 year ago


 **Ticket moved to GitHub**: "pulp/pulp_deb/420": 


 Hello    everybody , 

 I try to implement a staged repository workflow at the moment . I created a repository dv with a distant remote and synced with    success.  
 Now I    created a repository in with    the distribution of dv    as remote    ( http://$(hostname):8080/pulp/content/repo/deb/dv )  
 I switched of tls validation    but when I try to sync this new remote I run into the following error  

 (failed; Cannot connect to host localhost:8080 ssl:default [Connect call failed ('', 8080)]) 

 In the logs I see the following error [¹] 

 the pulp is dockerized with the following version: pulp/pulp:3.14   

 Can it be that pulp is expecting alwasy a https repository even when http is configured ?  

 Kind regards 

 pulp [4d4c93f49ea94ab68f733fc22def7e53]: pulpcore.tasking.pulpcore_worker:INFO: Task 05ef9319-9854-4228-a459-4cc24eaafb45 failed (Cannot connect to host localhost:8080 ssl:default [Connect call failed ('', 8080)]) 
 pulp [4d4c93f49ea94ab68f733fc22def7e53]: pulpcore.tasking.pulpcore_worker:INFO:     File "/usr/local/lib/python3.6/site-packages/pulpcore/tasking/", line 272, in _perform_task 
     result = func(*args, **kwargs) 
   File "/usr/local/lib/python3.6/site-packages/pulp_deb/app/tasks/", line 124, in synchronize 
     DebDeclarativeVersion(first_stage, repository, mirror=mirror).create() 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 151, in create 
   File "/usr/lib64/python3.6/asyncio/", line 484, in run_until_complete 
     return future.result() 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 225, in create_pipeline 
     await asyncio.gather(*futures) 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 43, in __call__ 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 181, in run 
     pb.done += task.result()    # download_count 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 207, in _handle_content_unit 
     await asyncio.gather(*downloaders_for_content) 
   File "/usr/local/lib/python3.6/site-packages/pulp_deb/app/tasks/", line 137, in download 
     await super().download() 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/", line 89, in download 
     download_result = await 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/download/", line 258, in run 
     return await download_wrapper() 
   File "/usr/local/lib/python3.6/site-packages/backoff/", line 133, in retry 
     ret = await target(*args, **kwargs) 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/download/", line 256, in download_wrapper 
     return await self._run(extra_data=extra_data) 
   File "/usr/local/lib/python3.6/site-packages/pulpcore/download/", line 277, in _run 
     self.url, proxy=self.proxy, proxy_auth=self.proxy_auth, auth=self.auth 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 1117, in __aenter__ 
     self._resp = await self._coro 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 521, in _request 
     req, traces=traces, timeout=real_timeout 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 535, in connect 
     proto = await self._create_connection(req, traces, timeout) 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 892, in _create_connection 
     _, proto = await self._create_direct_connection(req, traces, timeout) 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 1051, in _create_direct_connection 
     raise last_exc 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 1032, in _create_direct_connection 
   File "/usr/local/lib64/python3.6/site-packages/aiohttp/", line 975, in _wrap_create_connection 
     raise client_error(req.connection_key, exc) from exc