portainer: Git Pull on Stack Deploy fails with valid URL
Bug description
VSTS Git URLs look like this:
https://user:password@example.visualstudio.com/TeamName/_git/repo
where repo is the name of the repository. The bug is that portainer fails to pull a valid repo with the following error message:
Deployment error
unexpected client error: unexpected requesting "https://turbo:***@***.visualstudio.com/***Cloud/_git/azure/git-upload-pack" status code: 400
Expected behavior
The same as git clone, which doesn’t fail:
$ git clone https://turbo:***@***.visualstudio.com/***Cloud/_git/azure
Cloning into 'azure'...
Clones the repo just fine.
Technical details:
- Portainer version: 1.17.1
- Docker version (managed by Portainer): 18.03ce
- Platform (windows/linux): linux
- Command used to start Portainer (
docker run -p 9000:9000 portainer/portainer): stack - Browser: Chrome
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 28 (11 by maintainers)
Commits related to this issue
- feat(ui): UI improvements node details screen EE-3468 (#1926) — committed to portainer/portainer by prabhat-portainer 2 years ago
- refactor(docker/switch/component): implement new design [EE-3688] (#1932) * merge capabilities changes from Chaim * refactor(docker/switch/component): implement new design [EE=3688] * code revi... — committed to portainer/portainer by deleted user 2 years ago
Yes, SSH would be the preferred way to connect to Azure DevOps for us.
@olljanat I saw that, but we don’t use any Windows agents. Since there is a discussion about pulling from git in #1752, I’d prefer a first-party solution.