Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Concourse CI Pipeline giving error :- Get https://registry-1.docker.io/v2: net/http: request canceled while waiting for connection

I installed Concourse CI using BOSH deployment on AWS.

After successful installation i am able to see Concourse CI on browser.I have created hello-world pipeline using Concourse CI official page :- http://concourse-ci.org/getting-started.html

But when I am trying to run build for hello-world pipeline i am getting error :-

Get https://registry-1.docker.io/v2: net/http: request canceled while waiting for connection

Please let me know how i can fix this issue.Thanks in advance. My CI Pipeline code :-

jobs:        
- name: hello-world     
  plan:      
  - task: say-hello    
    config:   
      platform: linux   
      image: "docker:///ubuntu"   
      run:  
        path: echo  
        args: ["Hello, world!"]  
like image 446
Ritesh Kumar Avatar asked Nov 27 '22 18:11

Ritesh Kumar


1 Answers

I met this problem too, but a little different.I use docker to install concourse ci. It fails with ping https://registry-1.docker.io/v2 always timeout. Finally, I found that the DNS address cause this problem. I bind specify the dns server address, then it works! So you should check your dns configuration. Hope this can help you!

You can still refer this link [https://github.com/concourse/concourse/issues/347]

enter image description here

like image 54
Little Roys Avatar answered Dec 06 '22 17:12

Little Roys