Hi
Getting below Error while integrating with Azure DevOps Server 2020
Invalid Azure URL or Personnel access token
and
web[AX+IJFQuZZm3rj+zAAAX][o.s.a.c.a.AzureDevOpsHttpClient] check pat : [https://servername/DefaultCollection/_apis/projects?api-version=3.0]
2022.03.14 16:46:20 DEBUG web[][o.a.h.i.n.c.MainClientExec] [exchange: 59] start execution
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAddCookies] CookieSpec selected: default
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAuthCache] Re-using cached 'basic' auth scheme for http://127.0.0.1:9001
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAuthCache] No credentials for preemptive authentication
2022.03.14 16:46:20 DEBUG web[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 59] Request connection for {}->http://127.0.0.1:9001.
Configured SonarQube HTTPS configuration by using
Configure SSL for SonarQube on Windows (jessehouwing.net)
Server details:
sonarqube-9.3.0.51899 – Windows Server 22
Azure DevOps Server 2020
can you please help on this?
Thank you
ganncamp
(G Ann Campbell)
March 15, 2022, 1:19pm
2
Hi,
Welcome to the community!
It’s not clear to me why you’ve put a proxy between SonarQube and your own self-hosted(?) ADO Server. But IIS configuration is really out of scope for this community. Maybe you could talk to your network folks?
HTH,
Ann
We are unable to integrate Azure DevOps server 2020(On-Prem) which is on https with sonarqube.
Getting Error Invalid Azure Url or Personal Access Token .
In logs it shows check pat : server url .
is it possible to integrate sonarqube (HTTP) with ADS 2020 On-Prem(HTTPS)?
if possible please let us know how to integrate both.
Thank you
Hi All,
Getting Invalid Azure URL or Personnel access token Error
in DEBUG log
2022.04.19 13:57:55 DEBUG web[AYBC+LZQ+xt7G0zHAAAj][o.s.a.c.a.AzureDevOpsHttpClient] check pat : [server url]
Try to resolve by following below steps, but still facing the same issue
Azure DevOps Server On-Premise URL or PAT fails - SonarQube - Sonar Community (sonarsource.com)
Can anyone please help me out
Thank you.
Here the problem with communication of two servers using SSL Certificate.
Issue solved with following steps:
Requirements:
SSL Certificate (Domain Certificate & System Certificate) in .csr format from Azure DevOps server
JAVA_HOME
PAT with Full access on Code from Azure DevOps Account
Uninstall Basic Authentication feature from security under IIS
Process:
Copy Certificates to SonarQube Server
Open Command Prompt as Administrator
Change Directory to keytool.exe path under JAVA_HOME Eg: C:\Java\Jdk-11\bin
Run command →
keytool -import -alias -keystore “JAVA_HOME\lib\security\cacerts” -file
Eg : keytool -import -alias AzureDevOps -keystore “C:\Program Files\Java\jdk-11.0.1\lib\security\cacerts” -file c:\certs\my-b64.cer
Restart SonarQube Server
Check configuration