5

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!"]  
Dwayne Forde
  • 1,324
  • 13
  • 13
Ritesh Kumar
  • 79
  • 2
  • 8

3 Answers3

1

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

Little Roys
  • 5,383
  • 3
  • 30
  • 28
0

Image for details

You can use the following command to restart your docker-machine, then the network will reconnect:

$ docker-machine restart default

Result: enter image description here

More info: https://forums.docker.com/t/error-response-from-daemon-get-https-registry-1-docker-io-v2/23741/10

g00glen00b
  • 41,995
  • 13
  • 95
  • 133
-4

Close your agent like following:

enter image description here

NSNoob
  • 5,548
  • 6
  • 41
  • 54
allennic
  • 1
  • 1