java.util.concurrent.ExecutionException

org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.SocketTimeoutException: connect timed out: 10.117.50.52:4335" [90067-165]

Samebug tips1

Check for proxy misconfigurations and AWS issues.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web676

  • via Google Groups by Henrik Mohr, 11 months ago
    org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.SocketTimeoutException: connect timed out: 10.117.50.52:4335" [90067-165]
  • via GitHub by mchampine
    , 3 months ago
    org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: localhost:4335" [90067-171]
  • via GitHub by Tanen
    , 6 months ago
    java.net.SocketTimeoutException: connect timed out
  • Stack trace

    • java.util.concurrent.ExecutionException: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.SocketTimeoutException: connect timed out: 10.117.50.52:4335" [90067-165] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at clojure.core$future_call$reify__6110.deref(core.clj:6156) at clojure.core$deref.invoke(core.clj:2080) at datomic.coordination$lookup_transactor_endpoint$fn__4291.invoke(coordination.clj:98) at datomic.coordination$lookup_transactor_endpoint.invoke(coordination.clj:96) at datomic.connector$create_connector.invoke(connector.clj:251) at datomic.peer$send_admin_request$fn__4968.invoke(peer.clj:419) at datomic.peer$send_admin_request.invoke(peer.clj:414) at datomic.peer$create_database.invoke(peer.clj:432) at clojure.lang.Var.invoke(Var.java:415) at datomic.Peer.createDatabase(Peer.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at bsh.Reflect.invokeMethod(Reflect.java:146) at bsh.Reflect.invokeStaticMethod(Reflect.java:94) at bsh.Name.invokeMethod(Name.java:874) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.run(Interpreter.java:479) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:298) at user$eval29.invoke(shell.clj:50) at clojure.lang.Compiler.eval(Compiler.java:6511) at clojure.lang.Compiler.load(Compiler.java:6952) at clojure.lang.Compiler.loadFile(Compiler.java:6912) at clojure.main$load_script.invoke(main.clj:283) at clojure.main$script_opt.invoke(main.clj:343) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.lang.Var.invoke(Var.java:415) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at jline.ConsoleRunner.main(ConsoleRunner.java:69) Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.SocketTimeoutException: connect timed out: 10.117.50.52:4335" [90067-165] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:158) at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:397) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:287) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94) at org.h2.Driver.connect(Driver.java:72) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:266) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:175) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:684) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:616) at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:479) at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:135) at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:114) at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:101) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:125) at datomic.sql$connect.invoke(sql.clj:12) at datomic.sql$select.invoke(sql.clj:74) at datomic.kv_sql.KVSql.get(kv_sql.clj:60) at datomic.kv_cluster.KVCluster$fn__2086$fn__2088.invoke(kv_cluster.clj:83) at datomic.kv_cluster.KVCluster$fn__2086.invoke(kv_cluster.clj:81) at clojure.core$binding_conveyor_fn$fn__3989.invoke(core.clj:1819) at clojure.lang.AFn.call(AFn.java:18) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546) at org.h2.util.NetUtils.createSocket(NetUtils.java:119) at org.h2.util.NetUtils.createSocket(NetUtils.java:100) at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:93) at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:393) ... 25 more

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 16 hours ago
    Unknown user
    Once, 16 hours ago
    Unknown user
    Once, 16 hours ago
    24 times, 3 days ago
    Unknown user
    Once, 3 days ago
    1196 more bugmates