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

svn: E175013: Unable to connect to a repository

Mary Hsieh November 20, 2012

My bamboo build server v.4.2.1 is running on Windows Server 2008 R2. I installed our compiler along with BSP on the C:\ drive of the server. There are some parts of the BSP that is checked into subversion. So for my task, I run a windows .bat script that is stored locally on the server to update the code.

The script just contains the line:

svn update c:\ghs\int1002

Unfortunately, I get an error from the bamboo log:

svn: E175013: Unable to connect to a repository

The repository is set up in bamboo with working username and password and when I use inline script to do the update, it fails too. I thought it's because bamboo doesn't automatically put in a username and password for svn if you run a script. So I did a local script on the server and it still fails. I'm starting to think it's because I didn't specify a username or password so I did and that's not why either. I'm not really sure if it's a subversion issue or bamboo issue or windows issue or me!

Is there a way to resolve or workaround this? It's just a simple svn update. I don't really understand why it's so hard. Previously, I tried to use the checkout widget but it does not let me specify a location and it this case I need it to update code in a specific location.

3 answers

1 accepted

0 votes
Answer accepted
Mary Hsieh November 30, 2012

Used http: instead of https: to check out and the problem went away. Still think there's a conflict between Windows authentication and SVN authentication.

0 votes
Mary Hsieh November 25, 2012

Use http instead of https.

0 votes
Felipe Cuozzo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2012

If you connect into the server and run the same script does it work?

Does the server have connectivity to the other server where the SVN repository is located? The message seems to be related to networking issues.

AFAIK unless you specify to not cache the credentials, as long you don't remove the credentials cache from the machine where you script is running SVN should be able to re-use the same credentials and just run the update as you expect.

Is Bamboo able to checkout the code from the same place? I didn't understand exactly why do you need a this external script as Bamboo should run a update/checkout on the repository before each build if you configure it correctly.

Not sure you read this page: https://confluence.atlassian.com/display/BAMBOO/Subversion

Cheers,
Felipe

Mary Hsieh November 25, 2012

The problem was solved by using http instead of https. I think the problem was because of Windows. When Bamboo logs in to windows it's probably running as a restricted user and thus had problems using whatever svn user it uses to update the code.

The reason I was doing what I was doing is because the BSPs are updated in the toolchain's directory. I think if I set up svn externals that might help. Not too sure. Thanks for trying.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events