java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
at java.base/java.lang.Thread.run(Thread.java:829)
2022.02.05 10:47:23 DEBUG app[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 1] connection request failed
2022.02.05 10:47:23 DEBUG app[][o.e.c.RestClient] request [GET http://127.0.0.1:9001/] failed
java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
at java.base/java.lang.Thread.run(Thread.java:829)
2022.02.05 10:47:23 DEBUG app[][o.e.c.RestClient] added [[host=http://127.0.0.1:9001]] to blacklist
2022.02.05 10:47:23 DEBUG app[][o.a.h.i.n.c.MainClientExec] [exchange: 2] start execution
2022.02.05 10:47:23 DEBUG app[][o.a.h.c.p.RequestAddCookies] CookieSpec selected: default
2022.02.05 10:47:23 DEBUG app[][o.a.h.c.p.RequestAuthCache] Re-using cached 'basic' auth scheme for http://127.0.0.1:9001
2022.02.05 10:47:23 DEBUG app[][o.a.h.c.p.RequestAuthCache] No credentials for preemptive authentication
2022.02.05 10:47:23 DEBUG app[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 2] Request connection for {}->http://127.0.0.1:9001
2022.02.05 10:47:23 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection request: [route: {}->http://127.0.0.1:9001][total kept alive: 0; route allocated: 0 of 10; total allocated: 0 of 30]
2022.02.05 10:47:23 DEBUG app[][o.a.h.i.n.c.PoolingNHttpClientConnectionManager] Connection request failed
java.net.ConnectException: Connection refused
Hi @Rumi7890 and welcome to the community
can you share a little more what exactly are you trying to do, how is your configuration looking and with which versions are you working?
A complete log and not just a snippet would also help as i can only see that ES is not starting up but nothing more. You can find additional information in our troubleshooting guide
Hi Tobias,
I was originally trying to install sonarqube via a custom docker image on ECS. Now i have moved the setup to an amazon ec2 with RDS as database.
sonar qube is installed and works as well locally. However, while putting in the RDS url in the sonar properties file, the sonar qube server does not start.
Below is the settings of file sonar properties
onar.jdbc.username=sonar
sonar.jdbc.password=Hello123!=
sonar.jdbc.url=jdbc:posgresqtl://sonarqubedb.c81nuf3tiyjs.us-west-2.rds.amazonaws.com:5432/sonarqubedb
sonar.web.javaOpts=-Djava.net.preferIPv4Stack=true
sonar.web.javaAdditionalOpts=-server
sonar.web.host=0.0.0.0
And, this is the error log
WrapperSimpleApp: Encountered an error running main: org.sonar.process.MessageException: Unsupported JDBC driver provider: posgresqtl
org.sonar.process.MessageException: Unsupported JDBC driver provider: posgresqtl
← Wrapper Stopped
Hi @Rumi7890 ,
there is a typo in your jdbc url: posgresqtl
should be postgresql
.
Also
why do you set this and where did you get the impression that this is a needed additional property?