continuous integration - concourse fly cli issue on Mac: could not reach the Concourse server called - Stack Overflow

I have no permission on sudo or update Security&Privacy Setting. Below are my step:Downloaded neede

I have no permission on sudo or update Security&Privacy Setting. Below are my step:

  • Downloaded needed version 6.7.1.

  • chmod +x fly

  • mv fly ~/bin

  • export PATH=$PATH:~/bin

  • source ~/.zshrc

  • xattr -d com.apple.quarantine ~/bin/fly

"fly --version" shows correct version. But I can't connect to server. I can access server in browser!

fly -t main login --concourse-url '' --team-name 'my-team'

logging in to team 'my-team'

could not reach the Concourse server called main:

    Get ,com/api/v1/info: dial tcp: i/o timeout

is the targeted Concourse running? better go catch it lol

I tried another way:

brew install --cask fly
xattr -d com.apple.quarantine /opt/homebrew/bin/fly

It gets the latest version and prompts for login, and I was able to login. But it gives error:

fly version (7.12.0) is out of sync with the target (6.7.1). to sync up, run the following:

    fly -t main sync

I ignored the warning and run the command, it refused to connect

cowardly refusing to run due to significant version discrepancy

So I run "fly -t main sync" to sync with server vision 6.7.1

Then I got this lol message again!

could not reach the Concourse server called main:

    Get ,com/api/v1/info: dial tcp: i/o timeout

is the targeted Concourse running? better go catch it lol

Please suggest. Thanks!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742414040a4439387.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信