create project -> git command failed 128 -> unable to access... Failed to connect to github.com port 443

Completed

Team city version 2022.04.2

 

Hello Team City Team,

Team city version 2022.04.2

I cannot create project with git, could you please give me some information? Thanks.

  • Team city start -> create project -> following error

git -c credential.helper= ls-remote origin command failed.

exit code: 128

stderr: fatal: unable to access'htttps://github.com/.../': Failed to connect to github.com

  • In Server Administration\ Diagnostics\ Git

          Native git operations: enabled

  • I can git clone the project in windows cmd.
  • Proxy is seted in Team city\ Internal properties and git.

thanks and best regards

 

1 comment
Comment actions Permalink

Solved.

Reason is, when team city use git in my pc, it loads setting from different path from the path, when i use git in cmd.

methode to solve this problem, is to save the proxy setting in c:\program files\...\ git\...

-1

Please sign in to leave a comment.