Upgraded JIRA to 5.1.2 and now subversion plugin can't authenticate. Are there any authentication changes?

David Shak August 27, 2012

Hello,

We recently upgraded our JIRA (was using 3.4 and now using 5.1.2). We still have the old install, as we just did a fresh install on a new server.

Everything seems to work except for the subversion plugin. I have checked countless times and tried many different variations to get it to work but for some reason it doesn't want to.

We upgraded our plugin from 0.10.5.4 to 0.10.11

As of now, I've:

Checked the SVN repo link (http) from the browser on both servers using the same credentials and both servers can access it.

I've removed the repo's from both sections in administation, made sure both subversion-jira-plugin.properties files had the same configs, and restarted the JIRA instances. Old server comes with an activated repo, while the other asks to activate it. It fails to activate on attempt.

When trying to add the repo manually on the new server, I receive the following error:

Subversion Revision Indexing Service [plugin.ext.subversion.SubversionManagerImpl] Connection to Subversion repository http://XXXXXXX:8888/svn/XXXXXX failed: org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: Authentication required for '<http://XXXXXXX:8888> Subversion repository'
org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: Authentication required for '<http://XXXXXXX:8888> Subversion repository'

(Obviously not XXX's)

I've also dug into the database instances and checked the property values / keys for the plugin. Both are identical on JIRA service restart.

Any thoughts on the matter would be very appreciated.

Thanks,

Chris

3 answers

1 accepted

4 votes
Answer accepted
Fabian Meier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2012

For me I had to add the following to the JVM parameters (edited the service in regedit):

-Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM

To find the service in regedit, just lookup the Service name in services.msc (e.g. JIRA031011191852) and search for it in regedit.

This solved the exact error you are reporting.

David Shak October 10, 2012

Thanks, this worked.

Fabian Meier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2012

Great! Please select this as the correct answer to your question so other users have a better chance of finding the solution!

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2012

Not very sure about this answer, but you can try out. Can you clear the directory ~/.subversion on the server that is hosting JIRA (for the same user account which is running JIRA)?

0 votes
tg September 25, 2012

Here are a few things to check. Verify that your site certificate is up to date. (Ours wasn't.) The authentication issue may be coming from an old site certificate. JIRA may be getting a pop-up that asks if you want to accept the certificate.

Also, if using SSL be sure it's enabled in the JVM input arguments.

-Dsvnkit.http.sslProtocols=SSLv3

Teresa

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events