org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • exceptions at checing
    via GitHub by dkrupp
    ,
  • GitHub comment 3114#230733266
    via GitHub by Opalo
    ,
  • GitHub comment 942#258262378
    via GitHub by briandealwis
    ,
  • GitHub comment 1#258419090
    via GitHub by MatousJobanek
    ,
  • GitHub comment 1#259550069
    via GitHub by ALRubinger
    ,
    • org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:356) at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:65) at cc.codechecker.service.thrift.gen.CodeCheckerDBAccess$Client.send_getRunData(CodeCheckerDBAccess.java:163) at cc.codechecker.service.thrift.gen.CodeCheckerDBAccess$Client.getRunData(CodeCheckerDBAccess.java:156) at cc.codechecker.api.thrift.run.list.ListRunsActionThriftImpl.runThrift(ListRunsActionThriftImpl.java:38) at cc.codechecker.api.thrift.run.list.ListRunsActionThriftImpl.runThrift(ListRunsActionThriftImpl.java:22) at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:33) at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:17) at cc.ecl.action.AbstractActionImpl.doRun(AbstractActionImpl.java:44) at cc.ecl.action.Action.runWithImpl(Action.java:64) at cc.ecl.action.SimpleActionRunner.requireResult(SimpleActionRunner.java:152) at cc.codechecker.api.thrift.result.count.ResultCountActionThriftImpl.runThrift(ResultCountActionThriftImpl.java:54) at cc.codechecker.api.thrift.result.count.ResultCountActionThriftImpl.runThrift(ResultCountActionThriftImpl.java:23) at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:33) at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:17) at cc.ecl.action.AbstractActionImpl.doRun(AbstractActionImpl.java:44) at cc.ecl.action.Action.runWithImpl(Action.java:64) at cc.ecl.action.ActionQueue$QueueItem.runAction(ActionQueue.java:89) at cc.ecl.action.SimpleActionRunner.runAction(SimpleActionRunner.java:53) at cc.ecl.action.SimpleActionRunner.run(SimpleActionRunner.java:98) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:344) ... 20 more

    Users with the same issue

    batwalrus76
    batwalrus763 times, last one,
    slash
    slash2 times, last one,
    tvrmsmith
    tvrmsmith1 times, last one,
    musketyr
    musketyr2 times, last one,
    Unknown visitor1 times, last one,
    290 more bugmates