Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,988
Community Members
 
Community Events
176
Community Groups

fatal: unable to access stash. Could not resolve host: stash

Edited

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?

1 answer

0 votes

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 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.

Like jvelapol likes this

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.

Like Nic Brough -Adaptavist- likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events