Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure repo bootstrap failure #267

Open
liuzhiyong1982 opened this issue Apr 3, 2022 · 11 comments
Open

azure repo bootstrap failure #267

liuzhiyong1982 opened this issue Apr 3, 2022 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@liuzhiyong1982
Copy link

After GIT_USER, GIT_TOKEN and GIT_REPO have been set, attempt to run argocd-autopilot repo bootstrap, always get below error:

FATAL unexpected client error: unexpected requesting "https://dev.azure.com/MyADOSubscription/Portal%20Platform/_git/argocd-gitops/git-upload-pack" status code: 400 ; then click the https link, get below error msg: TF401041: The Git protocol sent is not as expected (Unable to read the 4-byte length header of the message.).

Is this a bug?

@noam-codefresh noam-codefresh self-assigned this Apr 8, 2022
@noam-codefresh noam-codefresh added the bug Something isn't working label Apr 8, 2022
@noam-codefresh noam-codefresh linked a pull request Apr 8, 2022 that will close this issue
@noam-codefresh
Copy link
Collaborator

sorry, linked to the wrong pr

@liuzhiyong1982
Copy link
Author

I still face the same issue with the latest argocd-autopilot binary on v0.3.2.

@naveenkumarsp
Copy link

I am also facing the same issue. with v0.3.4

@yanndb
Copy link

yanndb commented May 25, 2022

@noam-codefresh did your incorrect PR go out in release 0.3.2 notes which is leading people to think the bootstrap is fixed, because the PR was for a docker fix

@yanndb
Copy link

yanndb commented May 26, 2022

Just to confirm - v0.3.7, "argocd-autopilot repo bootstrap" fails only if the repo already exists in azure ado. If the repo doesn't exist it can create it fine.
The error:
level=info msg="cloning repo: https://[email protected]/myorg/myproj/_git/argo-starter"
level=fatal msg="unexpected client error: unexpected requesting "https://[email protected]/myorg/myproj/_git/argo-starter/git-upload-pack\" status code: 400"

If I add the --upsert-branch mybranch parameter, it still fails.

Also, after I create a new repo and then try to add a project I equally get a 400 error back because the repo parameter is pointing to a repo that exists.

All same commands work find on github as expected

@avo-sepp
Copy link

avo-sepp commented Apr 17, 2023

Hi, I am having the same error right now. Bumping for visibility. v0.4.15

@polinchw
Copy link

polinchw commented May 1, 2023

Hi, I am having the same error right now. Bumping for visibility. v0.4.15

I'm having the same issue.

@AalimahG
Copy link

Having the same issue :(
Any update on this ?

@teuferjo
Copy link

teuferjo commented Jul 5, 2023

facing the same issue with v0.4.15

@jblaaa-codes
Copy link

using v0.4.17 and running into the same issue with azure devops repo

@krebsmar-materna
Copy link

I'm encountering the same error in v0.4.17. Does this mean that ArgoCD AutoPilot is unusable with Azure DevOps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants