You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We have a Jenkins pipeline that checks out the code from https://bitbucket.org/company/repo.git. This has been working fine for the last 3-4 years, but started failing over the weekend with the error "fatal: could not read Username for 'https://bitbucket.org': No such device or address".
The issue does not occur during checkout, that seems fine, but instead when we run the command "git fetch --prune --prune-tags origin" on the checked out workspace.
We found a solution to include the username and password in the URL, which is fine, it seems to work, but various posts on here seem to suggest switching to SSH keys instead.
Welcome to the community.
I have reviewed the recent changes and existing customer reports, and I can confirm that there have been no recent changes or reports of customers experiencing the same issue.
However, it's challenging to pinpoint the exact cause since the Jenkins server is hosted on your end. That said, I can confirm that using username:app_password behavior aligns with the expected outcome when using HTTPS.
To prevent similar issues in the future, I recommend switching to SSH.
I hope this information is helpful.