Skip to content

SubversionHistory.getHistoryGet doesn't add svn credentials #1601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
justoaguilar opened this issue May 22, 2017 · 0 comments
Closed

SubversionHistory.getHistoryGet doesn't add svn credentials #1601

justoaguilar opened this issue May 22, 2017 · 0 comments
Labels

Comments

@justoaguilar
Copy link

justoaguilar commented May 22, 2017

Both environments variables (OPENGROK_SUBVERSION_USERNAME, OPENGROK_SUBVERSION_PASSWORD) are set. All the other commands include authorization parameters.

SubversionHistory.getHistoryGet is missing the line

cmd.addAll(getAuthCommandLineParams());

The error can be triggered when clicking history link and then compare button of two revisions inside a source file page.

org.opensolaris.opengrok.util.Executor.exec Non-zero exit status 1 from command [/usr/bin/svn, cat, -r, 76898, pom.xml@] in directory /src/hce: svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'http://**/hce/pom.xml'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants