Frontend code ending with Not authorized. Please check the properties sonar.login and sonar.password

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm : Docker
  • what are you trying to achieve : execute Jenkins Pipeline for FrontEnd nodejs code, initially it was executing successfully, but suddenly throwing an error for sonar.login and sonar.password which was not configured before as well.
  • what have you tried so far to achieve this : fix authentication issue.

Attaching Jenkins job logs.
jenkins logs.txt (400.0 KB)

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


It’s not clear to me what you mean here. Analysis used to work. Suddenly it stopped.

It stopped when you added login/password configuration? Or are you saying that the credentials used to work and suddenly you get this error on them? Because in that case, it sounds like your token expired.


Hi Ann
Getting attached notification, does it stopping code analysis

Hi Ann

SonarScan did analysis successfully and report got generated but Project in SonarQube not getting updated with latest scan and cant see coverage of todays date.

Kindly let me know if you need any logs


What does that error you’re seeing in the SonarQube UI mean to you?


It is fixed now. It was licence problem, number of lines to be scanned has crossed limit, so scanning was stopped. Since we have renewed license it is working now.
We may close the thread.

1 Like