Hi,
I am trying to connect to a SonarCube instance but I am getting the error
INFO - ellij.tasks.ConnectionTestTask - Connection test failed
java.lang.IllegalStateException: Unable to parse server infos from: <!DOCTYPE html>
<!--[if IE 7]><html class="lt-ie10 lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><htm...
I was puzzled, since the only thing SonarLint code is trying to do it a simple
which when I use my Chrome browser returns a Json payload.
So I did a curl request and boom (I am stripping company names etc)
!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>303 See Other</title>
</head><body>
<h1>See Other</h1>
<p>The answer to your request is located <a href="https://sonar/login?ReturnTo=https%3A%2F%2Fsonar%2F&IdP=http%3A%2F%2Fwww.okta.com%2Fexk1778evlylH8os91d8">here</a>.</p>
</body></html>
So apparently due to using Okta authentication SonarLint cannot connect to SonarCube.
Is there any workaround for this?
Thanking in advance :)