Qarik-Group / concourse-tutorial

Learn to use https://concourse-ci.org with this linear sequence of tutorials. Learn each concept that builds on the previous concept.
870 stars 555 forks source link

The tutorial "Hello World" encounter a "could not find a valid token" in Windows 10 #233

Closed onlookor closed 4 years ago

onlookor commented 4 years ago

As title. I followed the tutorial until the command "fly -t tutorial execute -c task_hello_world.yml". It returned "could not find a valid token". And, it gave out a warning: fly version (6.1.0) is out of sync with the target (6.3.0). It told me to run command "fly -t tutorial sync", but that does'nt help. My fly was from the archiev downloaded from https://github.com/concourse/concourse/releases/download/v6.3.0/concourse-6.3.0-windows-amd64.zip.

onlookor commented 4 years ago

The cause is that I ran "docker-compose up" without the docker-compose.yml file. And I find another issue - a real issue - in the section "Target Concourse" of "Instruction", the command "fly --target tutorial login --concourse-url http://127.0.0.1:8080 -u admin -p admin" incorrectly uses an user/password pair "admin". It should be "test" according to file docker-compose.yml.