Svn: E170001: Authentication required

scanner
sonarqube

(Günter Wirth) #1

Hi,

trying to enable SCM I get:

Error when executing blame for file
svn: E170001: Authentication required ...

Question 1: In case scanner and server are running on different machines with different users which user need SVN access rights? User on scanner side or user on server side?

Question 2: In case I add no user/password to configuration which default user is used to try access?

Thanks in advance.

Regards,
Günter


(G Ann Campbell) #2

Hi Guenter,

It’s the scanner side that’s making the requests, so that user needs permission. Are you using Git? On Linux? There’s some information in the docs about troubleshooting blame problems.

 
Ann


(Günter Wirth) #3

Hi Ann,

Thanks for your fast answer. We are using on client (scanner) side:

  • Windows 7
  • SVN
  • sonar-scanner-3.0.3.778
  • SQ 6.7.4
  • Svn Integration 1.8.0.1168

The user starting the scanner has SVN access rights. Our configuration is empty (contains no sonar.svn.username, sonar.svn.password.secured). That was the reason for the second question with the default user the scanner is using?

Regards,
Günter


(G Ann Campbell) #4

Hi Guenter,

Your checkout is using explicit credentials? If so, you’ll need to provide explicit credentials for the blame operation. Alternately, I have a dusty old memory of setting something up in the analysis machine on the user. This may be relevant.

 
Good luck,
Ann