Command :- mvn -X verify sonar:sonar -Dsonar.projectKey=CPRO -Dsonar.projectName=IntegratedUI -Dsonar.host.url=http://sonarqube.broadridge.net:9000 -Dsonar.login=

Command :-

mvn -X verify sonar:sonar -Dsonar.projectKey=CPRO -Dsonar.projectName=IntegratedUI -Dsonar.host.url=http://sonarqube.broadridge.net:9000 -Dsonar.login=************

Same command was run successfully in Dec19 .

Getting as below

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project Integrated-UI: Unable to execute SonarQ

ube: Fail to get bootstrap index from server: Status returned by url [http://sonarqube.broadridge.net:9000/batch/index] is not valid: [400] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on

project Integrated-UI: Unable to execute SonarQube

What is the cause ?

Hi,

First, I suggest you immediately revoke the user token you’ve broadcasted to the internet in the title and body of this post.

Second, a 400 code means the server received an invalid request. You probably want to talk to your network folks and/or SonarQube admin to see what changed since December.

 
HTH,
Ann

as a sonar qube admin how can we see the changes done and were in server exactly …

Is this something related to reverse proxy set up

Hi,

Assuming you’re a SQ admin, what did you change since December? Did you move the server on the network? To a new URL? Upgrade the version of SonarQube?

 
Ann

No Changes were made recently …

We are sure about the same

What do your logs say?

 
Ann

Hi Ann,

You mean to say my sonar.log ?

Thanks

Hi,

There’s a full description in that link I gave you of all the relevant logs and what’s in them.

 
Ann

Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.03.21 00:01:59 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.03.21 00:01:59 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.03.21 00:01:59 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.03.21 00:01:59 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.03.21 00:01:59 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.03.21 00:01:59 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.03.21 00:02:07 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.03.21 00:02:07 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process4047896379974055446properties
2019.03.21 00:02:10 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.03.21 00:02:11 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.03.21 00:02:11 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.03.21 00:02:11 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.03.21 00:04:41 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.03.21 00:04:41 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.03.21 00:04:41 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.03.21 00:04:41 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.03.21 00:04:41 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.03.21 00:04:41 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.03.21 00:04:50 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.03.21 00:04:50 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process3502901552194982847properties
2019.03.21 00:04:53 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.03.21 00:04:53 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.03.21 00:04:53 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.03.21 00:04:53 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.03.21 00:07:35 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.03.21 00:07:35 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.03.21 00:07:35 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.03.21 00:07:35 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.03.21 00:07:35 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.03.21 00:07:35 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.03.21 00:07:44 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.03.21 00:07:44 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process6686652641387482424properties
2019.03.21 00:08:14 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.03.21 00:08:14 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/sonarqube-7.7/temp/sq-process1520529634657493536properties
2019.03.21 00:08:18 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.03.21 00:08:18 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
TERM trapped.  Shutting down.
2019.04.03 23:19:20 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2019.04.03 23:19:21 INFO  app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.04.03 23:19:22 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.04.03 23:19:22 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.04.03 23:19:22 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
2019.04.03 23:19:22 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.04.03 23:19:23 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.04.03 23:19:24 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.04.03 23:19:24 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.04.03 23:19:24 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.04.03 23:19:24 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.04.03 23:19:24 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.03 23:19:34 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.03 23:19:34 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process6812198403440958917properties
2019.04.03 23:19:41 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.04.03 23:19:41 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.04.03 23:19:41 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.04.03 23:19:41 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.04.03 23:23:08 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.04.03 23:23:08 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.04.03 23:23:08 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.04.03 23:23:08 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.04.03 23:23:08 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.04.03 23:23:08 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.03 23:23:18 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.03 23:23:18 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process536779568979536066properties
2019.04.03 23:23:25 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.04.03 23:23:25 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.04.03 23:23:25 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.04.03 23:23:25 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.04.03 23:25:35 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.04.03 23:25:35 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.04.03 23:25:35 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.04.03 23:25:35 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.04.03 23:25:36 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.04.03 23:25:36 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.03 23:25:45 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.03 23:25:45 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process7061471188941973414properties
2019.04.03 23:25:52 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.04.03 23:25:53 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.04.03 23:25:53 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.04.03 23:25:53 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.04.03 23:27:53 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.04.03 23:27:54 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.04.03 23:27:54 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.04.03 23:27:54 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.04.03 23:27:54 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.04.03 23:27:54 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.04.03 23:28:03 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.04.03 23:28:03 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process7744448201189449677properties
2019.04.03 23:28:15 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.04.03 23:28:15 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/sonarqube-7.7/temp/sq-process6526329254843303483properties
2019.04.03 23:28:19 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.04.03 23:28:19 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
TERM trapped.  Shutting down.
2019.05.03 16:03:01 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2019.05.03 16:03:03 INFO  app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.05.03 16:03:04 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.05.03 16:03:04 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.05.03 16:03:04 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.05.03 16:03:04 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.05.03 16:03:12 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.05.03 16:03:12 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.05.03 16:03:12 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.05.03 16:03:12 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.05.03 16:03:12 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.05.03 16:03:12 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.05.03 16:03:22 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.05.03 16:03:22 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process3584478976644814979properties
2019.05.03 16:03:34 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.05.03 16:03:34 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/sonarqube-7.7/temp/sq-process6203459628563117969properties
2019.05.03 16:03:38 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.05.03 16:03:38 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
TERM trapped.  Shutting down.
2019.07.21 22:18:35 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2019.07.21 22:18:36 INFO  app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.07.21 22:18:39 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.07.21 22:18:39 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.07.21 22:18:39 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.07.21 22:18:39 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.07.21 22:18:41 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.07.21 22:18:41 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.21 22:18:41 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.07.21 22:18:41 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.21 22:18:41 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.21 22:18:41 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.21 22:18:51 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.07.21 22:18:51 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process6845179420148773346properties
2019.07.21 22:18:58 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.07.21 22:18:58 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.07.21 22:18:58 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
2019.07.21 22:18:58 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.07.21 22:20:12 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.07.21 22:20:12 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.21 22:20:12 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.07.21 22:20:12 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.21 22:20:13 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.21 22:20:13 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.21 22:20:22 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.07.21 22:20:22 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process1378186700094755362properties
2019.07.21 22:20:28 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.07.21 22:20:28 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.07.21 22:20:28 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.07.21 22:20:28 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.07.21 22:30:47 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.07.21 22:30:47 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.21 22:30:47 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.07.21 22:30:47 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.21 22:30:48 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.21 22:30:48 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.21 22:30:58 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.07.21 22:30:58 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process1519238154063467938properties
2019.07.21 22:31:10 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.07.21 22:31:10 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/sonarqube-7.7/temp/sq-process5750771262323182920properties
2019.07.21 22:31:14 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.21 22:31:14 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
TERM trapped.  Shutting down.
2019.07.21 23:04:18 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2019.07.21 23:04:19 INFO  app[][o.s.a.SchedulerImpl] Process [ce] is stopped
2019.07.21 23:04:21 INFO  app[][o.s.a.SchedulerImpl] Process [web] is stopped
2019.07.21 23:04:21 INFO  app[][o.s.a.SchedulerImpl] Process [es] is stopped
2019.07.21 23:04:21 WARN  app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
2019.07.21 23:04:21 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.07.21 23:04:28 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-7.7/temp
2019.07.21 23:04:28 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.07.21 23:04:28 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/sonarqube-7.7/elasticsearch]: /opt/sonarqube/sonarqube-7.7/elasticsearch/bin/elasticsearch
2019.07.21 23:04:28 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.07.21 23:04:28 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.07.21 23:04:28 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.07.21 23:04:38 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2019.07.21 23:04:38 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process726726548758824384properties
2019.07.21 23:04:50 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2019.07.21 23:04:50 INFO  app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='ce', ipcIndex=3, logFilenamePrefix=ce]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/sonarqube-7.7/temp/sq-process3848759419507737873properties
2019.07.21 23:04:54 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2019.07.21 23:04:54 INFO  app[][o.s.a.SchedulerImpl] SonarQube is up
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid38271.hprof ...
Heap dump file created [710547626 bytes in 4.035 secs]

Sonar .log as above

web.lognew.txt (179.2 KB)

Is there any updates please ?

Hi,

You’ve posted sonar.log and web.log. Any errors in the other logs?

 
Ann

Sonar web.log:

2020.02.11 08:05:16 ERROR web[AWwXpBlmBetGw3VOI1pM][o.s.s.p.UpdateCenterClient] Fail to connect to update center
org.sonar.api.utils.SonarException: Fail to download: https://update.sonarsource.org/update-center.properties (no proxy)

Sonar es.log:

Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp/es6, -XX:ErrorFile=/opt/sonarqube/sonarqube-7.7/logs/es_hs_err_pid%p.log, -Xms512m, -Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/sonarqube-7.7/elasticsearch, -Des.path.conf=/opt/sonarqube/sonarqube-7.7/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]

Sonar app .log:

2019.07.21 22:30:58 INFO app[o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube/sonarqube-7.7]: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/sonarqube-7.7/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/opt/sonarqube/sonarqube-7.7/lib/jdbc/postgresql/postgresql-42.2.5.jar org.sonar.server.app.WebServer /opt/sonarqube/sonarqube-7.7/temp/sq-process1519238154063467938properties
2019.07.21 22:31:10 INFO app[o.s.a.SchedulerImpl] Process[web] is up

Please could you check and help me ?

still getting same issue

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project Integrated-UI: Unable to execute SonarQube: Fail to get bootstrap index from server: Status returned by url [http://sonarqube.broadridge.net:9000/batch/index] is not valid: [400] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project Integrated-UI: Unable to execute SonarQube

Hi,

Sorry, but I really don’t know what to tell you. Since you’re apparently not getting any relevant errors in your server logs but analysis gets a 400 when it tries to contact the server then I guess you need to look at what’s on the network between the analysis machine and SonarQube.

 
HTH,
Ann

Hi Ann,

This is the latest error which we received

Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server
at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42)
at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)
at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
… 28 more
Caused by: java.lang.IllegalStateException: Status returned by url [http://sonarqube.broadridge.net:9000/batch/index] is not valid: [400]
at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98)
at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)
… 31 more

PFA–
jdk1.8.0_162

Hi Geeth.
As Ann said, it looks like it’s a network problem, we can’t help with that.
I would start by querying http://sonarqube.broadridge.net:9000/batch/index with curl or wget and see what you get. See if you have a proxy in between that could be the problem.