Problem with "execute" step in flight-school tutorial

194 views
Skip to first unread message

erg...@gmail.com

unread,
Aug 8, 2016, 9:14:07 AM8/8/16
to Concourse Users
Hi,

I'm doing the flight-school tutorial - however i cant seem to be able to send the task for exececution.

ergo@ergo-virtual-machine:~/workspace/flight-school$ fly -t local pipelines
targeting http://127.0.0.1:8080
name         paused
hello-world  no    
ergo@ergo-virtual-machine:~/workspace/flight-school$ fly -t local execute -c build.yaml 
targeting http://127.0.0.1:8080
executing build 7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
gzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable: exiting now
exit status 2
failed


so it seems that fly is able to connect to the server, and i managed to run hello-world just fine, but when execute tries to curl the data to Ci it fails.

Any idea what might be the case?

http://127.0.0.1:8080 IS reachable.

Regards

Marcin

tpbr...@gmail.com

unread,
Sep 10, 2016, 6:03:31 AM9/10/16
to Concourse Users, erg...@gmail.com

Did you find a solution to this?  I'm hitting this same issue -- talking to the local pipeline works, but "execute" fails with the curl....

ergo

unread,
Sep 10, 2016, 7:05:47 AM9/10/16
to tpbr...@gmail.com, Concourse Users

Sure,

it seems the solution is to never use 127.0.0.1 (loopback), instead one should use the public IP of the interface.

Steve

unread,
Sep 20, 2016, 12:21:16 PM9/20/16
to Concourse Users, erg...@gmail.com
Thanks for the workaround.  This was pretty non-obvious so I posted a bug:


Steve
Reply all
Reply to author
Forward
0 new messages