I am getting this error while linking the stash repositories.
Authentication type: Username and password
Error log
2022-07-27 04:20:26,843 INFO [9-BAM::PlanExec:pool-16-thread-4] [DefaultErrorHandler] Recording an error: Unable to detect changes : ***-TEST : command 'C:\Program Files\Git\cmd\git.exe' ls-remote https://stash.bbpd.io/***.git failed with code 128. Working directory was [.]., stderr:
fatal: unable to access 'https://stash.bbpd.io/***.git/': Could not resolve host: stash.bbpd.io.
Could someone help me, please?
This simply means that your network can't find the address behind the server name you have given it - https://stash.bbpd.io/***.git simply doesn't exist.
It's a bit like writing "Bob, one hundred and eleventy twelve, turnip street, royston vasey, UK" on a mail envelope - the Royal Mail in the UK will "return to sender" because the address does not exist.
You'll need to ask for the actual address of the repository, or fix your network so that it can look it up correctly.
@Nic Brough -Adaptavist- - If I tried accessing the Stash URL which I feed in Bamboo is working. The URL which I have posted 'https://stash.bbpd.io/***.git/ is an incorrect URL because this is a private repository. I am not sure whether I can post the repo URL here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need to give us the URL, it's not going to help us solve the problem.
You need to fix your network lookup of the url, or start using a valid url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, I agree with Nic - the problem is that the server that's running the Bamboo agent isn't able to connect to the server that's running bitbucket.
Could not resolve host: stash.bbpd.io.
That means that the host that the Bamboo Agent is running on literally has no DNS entry that resolves to the stash server. There's nothing that anyone here can help fix that. It's a networking problem between your Bamboo Agent server and your stash server.
You can try logging in to the bamboo agent host and running something equivalent to:
curl https://stash.bbpd.io
(or whatever the equivalent is in the Windows world).
Once that works, you'll be further along, I think.
EDIT: I've seen cases when the host that runs the agent sits behind a proxy server, and that proxy server isn't configured to allow traffic to whatever destination. But that's only one of about a thousand possible reasons why this isn't working for you, all of which are specific to your networking topology.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.