sonarqube - How to avoid the "Fail to request server version" exception, when analyzing code? -


whenever run sonar analysis using sonar-runner, exception:

exception in thread "main" java.lang.illegalstateexception: fail request server version      @ org.sonar.runner.bootstrapper.getserverversion(bootstrapper.java:73)      @ org.sonar.runner.runner.checksonarversion(runner.java:220)      @ org.sonar.runner.runner.execute(runner.java:150)      @ org.sonar.runner.main.execute(main.java:84)      @ org.sonar.runner.main.main(main.java:56) caused by: java.io.ioexception: server returned http response code: 503 url: http://localhost:8085/api/server/version      @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlconnection.java:1626)      @ java.net.urlconnection.getcontent(urlconnection.java:748)      @ org.sonar.runner.bootstrapper.remotecontent(bootstrapper.java:125)      @ org.sonar.runner.bootstrapper.getserverversion(bootstrapper.java:71) 

how can avoid exception , analyze code?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -