Skip to content

Instantly share code, notes, and snippets.

@zendevil
Created July 12, 2021 17:43
Show Gist options
  • Save zendevil/ce069eb7375ede709c2e4ebbd3c2ef3b to your computer and use it in GitHub Desktop.
Save zendevil/ce069eb7375ede709c2e4ebbd3c2ef3b to your computer and use it in GitHub Desktop.
datomic docker compose error
web_1 | 32616 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 0, :attempts 0, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 33933 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 50, :attempts 1, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 35299 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 100, :attempts 2, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 36718 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 150, :attempts 3, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 38181 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 200, :attempts 4, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 39698 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 250, :attempts 5, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 41261 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 300, :attempts 6, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 42880 ERROR humboi.middleware - org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): localhost:4335" [90067-171]
web_1 | java.util.concurrent.ExecutionException: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): localhost:4335" [90067-171]
web_1 | at java.util.concurrent.FutureTask.report(FutureTask.java:122)
web_1 | at java.util.concurrent.FutureTask.get(FutureTask.java:192)
web_1 | at clojure.core$deref_future.invokeStatic(core.clj:2304)
web_1 | at clojure.core$future_call$reify__8477.deref(core.clj:6976)
web_1 | at clojure.core$deref.invokeStatic(core.clj:2324)
web_1 | at clojure.core$deref.invoke(core.clj:2310)
web_1 | at datomic.coordination$lookup_transactor_endpoint$fn__5953.invoke(coordination.clj:129)
web_1 | at datomic.coordination$lookup_transactor_endpoint.invokeStatic(coordination.clj:127)
web_1 | at datomic.coordination$lookup_transactor_endpoint.invoke(coordination.clj:124)
web_1 | at datomic.coordination$lookup_compatible_transactor_endpoint.invokeStatic(coordination.clj:145)
web_1 | at datomic.coordination$lookup_compatible_transactor_endpoint.invoke(coordination.clj:143)
web_1 | at datomic.peer$send_admin_request$fn__8430.invoke(peer.clj:758)
web_1 | at datomic.peer$send_admin_request.invokeStatic(peer.clj:752)
web_1 | at datomic.peer$send_admin_request.invoke(peer.clj:750)
web_1 | at datomic.peer$create_database.invokeStatic(peer.clj:772)
web_1 | at datomic.peer$create_database.invoke(peer.clj:762)
web_1 | at datomic.peer$create_database.invokeStatic(peer.clj:764)
web_1 | at datomic.peer$create_database.invoke(peer.clj:762)
web_1 | at clojure.lang.Var.invoke(Var.java:384)
web_1 | at datomic.Peer.createDatabase(Peer.java:117)
web_1 | at datomic.api$create_database.invokeStatic(api.clj:19)
web_1 | at datomic.api$create_database.invoke(api.clj:17)
web_1 | at humboi.db.core$init_db.invokeStatic(core.clj:29)
web_1 | at humboi.db.core$init_db.invoke(core.clj:28)
web_1 | at muuntaja.middleware$wrap_params$fn__5165.invoke(middleware.clj:52)
web_1 | at muuntaja.middleware$wrap_format$fn__5169.invoke(middleware.clj:73)
web_1 | at humboi.middleware$wrap_formats$fn__6030.invoke(middleware.clj:38)
web_1 | at reitit.ring$ring_handler$fn__22358.invoke(ring.cljc:329)
web_1 | at clojure.lang.AFn.applyToHelper(AFn.java:154)
web_1 | at clojure.lang.AFn.applyTo(AFn.java:144)
web_1 | at clojure.lang.AFunction$1.doInvoke(AFunction.java:31)
web_1 | at clojure.lang.RestFn.invoke(RestFn.java:408)
web_1 | at clojure.lang.Var.invoke(Var.java:384)
web_1 | at ring.middleware.flash$wrap_flash$fn__5355.invoke(flash.clj:39)
web_1 | at ring.middleware.session$wrap_session$fn__5636.invoke(session.clj:108)
web_1 | at ring.middleware.keyword_params$wrap_keyword_params$fn__5674.invoke(keyword_params.clj:53)
web_1 | at ring.middleware.nested_params$wrap_nested_params$fn__5724.invoke(nested_params.clj:89)
web_1 | at ring.middleware.multipart_params$wrap_multipart_params$fn__5830.invoke(multipart_params.clj:171)
web_1 | at ring.middleware.params$wrap_params$fn__5846.invoke(params.clj:67)
web_1 | at ring.middleware.cookies$wrap_cookies$fn__5599.invoke(cookies.clj:214)
web_1 | at ring.middleware.absolute_redirects$wrap_absolute_redirects$fn__5970.invoke(absolute_redirects.clj:47)
web_1 | at ring.middleware.resource$wrap_resource_prefer_resources$fn__5866.invoke(resource.clj:25)
web_1 | at ring.middleware.content_type$wrap_content_type$fn__5934.invoke(content_type.clj:34)
web_1 | at ring.middleware.default_charset$wrap_default_charset$fn__5950.invoke(default_charset.clj:31)
web_1 | at ring.middleware.not_modified$wrap_not_modified$fn__5916.invoke(not_modified.clj:61)
web_1 | at ring.middleware.x_headers$wrap_x_header$fn__5326.invoke(x_headers.clj:22)
web_1 | at ring.middleware.x_headers$wrap_x_header$fn__5326.invoke(x_headers.clj:22)
web_1 | at ring.middleware.x_headers$wrap_x_header$fn__5326.invoke(x_headers.clj:22)
web_1 | at humboi.middleware$wrap_internal_error$fn__6024.invoke(middleware.clj:17)
web_1 | at aleph.http.server$handle_request$fn__18516$f__6400__auto____18517.invoke(server.clj:158)
web_1 | at clojure.lang.AFn.run(AFn.java:22)
web_1 | at io.aleph.dirigiste.Executor$Worker$1.run(Executor.java:62)
web_1 | at manifold.executor$thread_factory$reify__6292$f__6293.invoke(executor.clj:44)
web_1 | at clojure.lang.AFn.run(AFn.java:22)
web_1 | at java.lang.Thread.run(Thread.java:748)
web_1 | Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): localhost:4335" [90067-171]
web_1 | at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
web_1 | at org.h2.message.DbException.get(DbException.java:158)
web_1 | at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:399)
web_1 | at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:287)
web_1 | at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:109)
web_1 | at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
web_1 | at org.h2.Driver.connect(Driver.java:72)
web_1 | at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:266)
web_1 | at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:175)
web_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:684)
web_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:616)
web_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:479)
web_1 | at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:135)
web_1 | at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:114)
web_1 | at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:101)
web_1 | at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:125)
web_1 | at datomic.sql$connect.invokeStatic(sql.clj:16)
web_1 | at datomic.sql$connect.invoke(sql.clj:13)
web_1 | at datomic.sql$select.invokeStatic(sql.clj:77)
web_1 | at datomic.sql$select.invoke(sql.clj:75)
web_1 | at datomic.kv_sql.KVSql.get(kv_sql.clj:60)
web_1 | at datomic.kv_cluster.KVCluster$fn__3221$fn__3224$fn__3225.invoke(kv_cluster.clj:225)
web_1 | at datomic.kv_cluster$retry_fn$fn__3136.invoke(kv_cluster.clj:82)
web_1 | at datomic.kv_cluster$retry_fn.invokeStatic(kv_cluster.clj:82)
web_1 | at datomic.kv_cluster$retry_fn.invoke(kv_cluster.clj:57)
web_1 | at clojure.lang.AFn.applyToHelper(AFn.java:178)
web_1 | at clojure.lang.AFn.applyTo(AFn.java:144)
web_1 | at clojure.core$apply.invokeStatic(core.clj:673)
web_1 | at clojure.core$partial$fn__5863.doInvoke(core.clj:2647)
web_1 | at clojure.lang.RestFn.invoke(RestFn.java:421)
web_1 | at datomic.kv_cluster.KVCluster$fn__3221$fn__3224.invoke(kv_cluster.clj:223)
web_1 | at datomic.kv_cluster.KVCluster$fn__3221.invoke(kv_cluster.clj:221)
web_1 | at clojure.core$binding_conveyor_fn$fn__5772.invoke(core.clj:2034)
web_1 | at clojure.lang.AFn.call(AFn.java:18)
web_1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
web_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
web_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
web_1 | ... 1 common frames omitted
web_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused)
web_1 | at java.net.PlainSocketImpl.socketConnect(Native Method)
web_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
web_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
web_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
web_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
web_1 | at java.net.Socket.connect(Socket.java:589)
web_1 | at org.h2.util.NetUtils.createSocket(NetUtils.java:119)
web_1 | at org.h2.util.NetUtils.createSocket(NetUtils.java:100)
web_1 | at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:93)
web_1 | at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:395)
web_1 | ... 35 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment