-
-
Notifications
You must be signed in to change notification settings - Fork 867
Closed
Description
I’m trying to follow through the hello-world tutorial and the pipeline bails out with the following error:
resource script '/opt/resource/check []' failed: exit status 1
stderr:
failed to ping registry: 2 error(s) occurred:
* ping https: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
* ping http: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I’m running the Vagrant box. Here’s the output from dig inside the box:
$ dig registry-1.docker.io
; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> registry-1.docker.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53377
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;registry-1.docker.io. IN A
;; ANSWER SECTION:
registry-1.docker.io. 13 IN CNAME registry-origin.docker.io.
registry-origin.docker.io. 13 IN A 52.20.152.217
registry-origin.docker.io. 13 IN A 52.200.190.255
registry-origin.docker.io. 13 IN A 52.22.205.209
;; Query time: 321 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Apr 14 06:55:23 UTC 2016
;; MSG SIZE rcvd: 127
And here’s from curl:
$ curl https://registry-1.docker.io/v2/
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
So it seems the box networking works fine per se.
I’ll be happy if anyone has any clues on how to fix the setup...
This issue seems to be similar to #347, but it's not the DNS that seems to be the problem in this case.
Metadata
Metadata
Assignees
Labels
No labels