When trying to add Athena Database in prod environment, I am getting the following error.
[2b8ab2cb-2910-44c9-a1c8-f9db26367f32] 2024-08-30T09:43:33+05:30 ERROR metabase.driver.util Failed to connect to Database,java.util.concurrent.TimeoutException: Timed out after 10.0 s, at metabase.util.jvm$deref_with_timeout.invokeStatic(jvm.clj:287), at metabase.util.jvm$deref_with_timeout.invoke(jvm.clj:279), at metabase.util.jvm$do_with_timeout.invokeStatic(jvm.clj:294), at metabase.util.jvm$do_with_timeout.invoke(jvm.clj:290), at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:166), at metabase.driver.util$can_connect_with_details_QMARK_.doInvoke(util.clj:155), at clojure.lang.RestFn.invoke(RestFn.java:442), at metabase.api.database$test_database_connection.invokeStatic(database.clj:722), at metabase.api.database$test_database_connection.doInvoke(database.clj:712), at clojure.lang.RestFn.invoke(RestFn.java:425), at metabase.api.database$test_connection_details.invokeStatic(database.clj:776), at metabase.api.database$test_connection_details.invoke(database.clj:756), at metabase.api.database$fn__100906.invokeStatic(database.clj:797), at metabase.api.database$fn__100906.invoke(database.clj:780), at compojure.core$wrap_response$fn__52597.invoke(core.clj:160), at compojure.core$wrap_route_middleware$fn__52581.invoke(core.clj:132), at compojure.core$wrap_route_info$fn__52586.invoke(core.clj:139), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:151), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:152), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at metabase.server.middleware.auth$enforce_authentication$fn__97239.invoke(auth.clj:18), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at compojure.core$make_context$handler__52637.invoke(core.clj:290), at compojure.core$make_context$fn__52641.invoke(core.clj:300), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at metabase.api.routes$fn__104832$fn__104835.invoke(routes.clj:73), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.core$apply.invokeStatic(core.clj:667), at clojure.core$apply.invoke(core.clj:662), at metabase.server.routes$fn__105112$fn__105113.doInvoke(routes.clj:73), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at compojure.core$make_context$handler__52637.invoke(core.clj:290), at compojure.core$make_context$fn__52641.invoke(core.clj:300), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at metabase.server.routes$fn__105095$fn__105097.invoke(routes.clj:47), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at metabase.server.middleware.exceptions$catch_uncaught_exceptions$fn__101212.invoke(exceptions.clj:107), at metabase.server.middleware.exceptions$catch_api_exceptions$fn__101209.invoke(exceptions.clj:96), at metabase.server.middleware.log$log_api_call$fn__105392$fn__105393$fn__105394.invoke(log.clj:233), at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invokeStatic(diagnostic.clj:18), at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invoke(diagnostic.clj:12), at metabase.server.middleware.log$log_api_call$fn__105392$fn__105393.invoke(log.clj:224), at toucan2.execute$do_with_call_counts.invokeStatic(execute.clj:112), at toucan2.execute$do_with_call_counts.invoke(execute.clj:103), at metabase.server.middleware.log$log_api_call$fn__105392.invoke(log.clj:223), at metabase.server.middleware.browser_cookie$ensure_browser_id_cookie$fn__108665.invoke(browser_cookie.clj:40), at metabase.server.middleware.security$add_security_headers$fn__101168.invoke(security.clj:240), at ring.middleware.json$wrap_json_body$fn__108924.invoke(json.clj:64), at metabase.server.middleware.offset_paging$handle_paging$fn__87411.invoke(offset_paging.clj:43), at metabase.server.middleware.json$wrap_streamed_json_response$fn__54215.invoke(json.clj:83), at ring.middleware.keyword_params$wrap_keyword_params$fn__109013.invoke(keyword_params.clj:55), at ring.middleware.params$wrap_params$fn__109032.invoke(params.clj:77), at metabase.server.middleware.misc$maybe_set_site_url$fn__70768.invoke(misc.clj:59), at metabase.server.middleware.session$reset_session_timeout$fn__77778.invoke(session.clj:548), at metabase.server.middleware.session$bind_current_user$fn__77744$fn__77745.invoke(session.clj:443), at metabase.server.middleware.session$do_with_current_user.invokeStatic(session.clj:422), at metabase.server.middleware.session$do_with_current_user.invoke(session.clj:405), at metabase.server.middleware.session$bind_current_user$fn__77744.invoke(session.clj:442), at metabase.server.middleware.session$wrap_current_user_info$fn__77723.invoke(session.clj:381), at metabase.server.middleware.session$wrap_session_id$fn__77695.invoke(session.clj:259), at metabase.server.middleware.auth$wrap_static_api_key$fn__97247.invoke(auth.clj:32), at ring.middleware.cookies$wrap_cookies$fn__108852.invoke(cookies.clj:200), at metabase.server.middleware.misc$add_content_type$fn__70750.invoke(misc.clj:28), at metabase.server.middleware.misc$disable_streaming_buffering$fn__70776.invoke(misc.clj:75), at ring.middleware.gzip$wrap_gzip$fn__108894.invoke(gzip.clj:86), at metabase.server.middleware.misc$bind_request$fn__70779.invoke(misc.clj:91), at metabase.server.middleware.ssl$redirect_to_https_middleware$fn__108681.invoke(ssl.clj:51), at metabase.server$async_proxy_handler$fn__71114.invoke(server.clj:77), at metabase.server.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source), at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173), at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122), at org.eclipse.jetty.server.Server.handle(Server.java:563), at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598), at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753), at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501), at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287), at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314), at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100), at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199), at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411), at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149), at java.base/java.lang.Thread.run(Thread.java:829)
[2b8ab2cb-2910-44c9-a1c8-f9db26367f32] 2024-08-30T09:43:33+05:30 ERROR metabase.api.database Cannot connect to Database,clojure.lang.ExceptionInfo: Timed out after 10.0 s {:message "Timed out after 10.0 s"}, at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:184), at metabase.driver.util$can_connect_with_details_QMARK_.doInvoke(util.clj:155), at clojure.lang.RestFn.invoke(RestFn.java:442), at metabase.api.database$test_database_connection.invokeStatic(database.clj:722), at metabase.api.database$test_database_connection.doInvoke(database.clj:712), at clojure.lang.RestFn.invoke(RestFn.java:425), at metabase.api.database$test_connection_details.invokeStatic(database.clj:776), at metabase.api.database$test_connection_details.invoke(database.clj:756), at metabase.api.database$fn__100906.invokeStatic(database.clj:797), at metabase.api.database$fn__100906.invoke(database.clj:780), at compojure.core$wrap_response$fn__52597.invoke(core.clj:160), at compojure.core$wrap_route_middleware$fn__52581.invoke(core.clj:132), at compojure.core$wrap_route_info$fn__52586.invoke(core.clj:139), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:151), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:152), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at metabase.server.middleware.auth$enforce_authentication$fn__97239.invoke(auth.clj:18), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at compojure.core$make_context$handler__52637.invoke(core.clj:290), at compojure.core$make_context$fn__52641.invoke(core.clj:300), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$make_context$fn__52641.invoke(core.clj:301), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.lang.AFunction$1.doInvoke(AFunction.java:31), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at clojure.lang.Var.invoke(Var.java:393), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at metabase.api.routes$fn__104832$fn__104835.invoke(routes.clj:73), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at clojure.lang.AFn.applyToHelper(AFn.java:160), at clojure.lang.AFn.applyTo(AFn.java:144), at clojure.core$apply.invokeStatic(core.clj:667), at clojure.core$apply.invoke(core.clj:662), at metabase.server.routes$fn__105112$fn__105113.doInvoke(routes.clj:73), at clojure.lang.RestFn.invoke(RestFn.java:436), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at compojure.core$make_context$handler__52637.invoke(core.clj:290), at compojure.core$make_context$fn__52641.invoke(core.clj:300), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at compojure.core$wrap_route_matches$fn__52590.invoke(core.clj:153), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609$f__52610$respond_SINGLEQUOTE___52611.invoke(core.clj:197), at metabase.server.routes$fn__105095$fn__105097.invoke(routes.clj:47), at compojure.core$routes$fn__52609$f__52610.invoke(core.clj:198), at compojure.core$routes$fn__52609.invoke(core.clj:200), at metabase.server.middleware.exceptions$catch_uncaught_exceptions$fn__101212.invoke(exceptions.clj:107), at metabase.server.middleware.exceptions$catch_api_exceptions$fn__101209.invoke(exceptions.clj:96), at metabase.server.middleware.log$log_api_call$fn__105392$fn__105393$fn__105394.invoke(log.clj:233), at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invokeStatic(diagnostic.clj:18), at metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invoke(diagnostic.clj:12), at metabase.server.middleware.log$log_api_call$fn__105392$fn__105393.invoke(log.clj:224), at toucan2.execute$do_with_call_counts.invokeStatic(execute.clj:112), at toucan2.execute$do_with_call_counts.invoke(execute.clj:103), at metabase.server.middleware.log$log_api_call$fn__105392.invoke(log.clj:223), at metabase.server.middleware.browser_cookie$ensure_browser_id_cookie$fn__108665.invoke(browser_cookie.clj:40), at metabase.server.middleware.security$add_security_headers$fn__101168.invoke(security.clj:240), at ring.middleware.json$wrap_json_body$fn__108924.invoke(json.clj:64), at metabase.server.middleware.offset_paging$handle_paging$fn__87411.invoke(offset_paging.clj:43), at metabase.server.middleware.json$wrap_streamed_json_response$fn__54215.invoke(json.clj:83), at ring.middleware.keyword_params$wrap_keyword_params$fn__109013.invoke(keyword_params.clj:55), at ring.middleware.params$wrap_params$fn__109032.invoke(params.clj:77), at metabase.server.middleware.misc$maybe_set_site_url$fn__70768.invoke(misc.clj:59), at metabase.server.middleware.session$reset_session_timeout$fn__77778.invoke(session.clj:548), at metabase.server.middleware.session$bind_current_user$fn__77744$fn__77745.invoke(session.clj:443), at metabase.server.middleware.session$do_with_current_user.invokeStatic(session.clj:422), at metabase.server.middleware.session$do_with_current_user.invoke(session.clj:405), at metabase.server.middleware.session$bind_current_user$fn__77744.invoke(session.clj:442), at metabase.server.middleware.session$wrap_current_user_info$fn__77723.invoke(session.clj:381), at metabase.server.middleware.session$wrap_session_id$fn__77695.invoke(session.clj:259), at metabase.server.middleware.auth$wrap_static_api_key$fn__97247.invoke(auth.clj:32), at ring.middleware.cookies$wrap_cookies$fn__108852.invoke(cookies.clj:200), at metabase.server.middleware.misc$add_content_type$fn__70750.invoke(misc.clj:28), at metabase.server.middleware.misc$disable_streaming_buffering$fn__70776.invoke(misc.clj:75), at ring.middleware.gzip$wrap_gzip$fn__108894.invoke(gzip.clj:86), at metabase.server.middleware.misc$bind_request$fn__70779.invoke(misc.clj:91), at metabase.server.middleware.ssl$redirect_to_https_middleware$fn__108681.invoke(ssl.clj:51), at metabase.server$async_proxy_handler$fn__71114.invoke(server.clj:77), at metabase.server.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source), at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173), at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122), at org.eclipse.jetty.server.Server.handle(Server.java:563), at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598), at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753), at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501), at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287), at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314), at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100), at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277), at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199), at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411), at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149), at java.base/java.lang.Thread.run(Thread.java:829),Caused by: java.util.concurrent.TimeoutException: Timed out after 10.0 s, at metabase.util.jvm$deref_with_timeout.invokeStatic(jvm.clj:287), at metabase.util.jvm$deref_with_timeout.invoke(jvm.clj:279), at metabase.util.jvm$do_with_timeout.invokeStatic(jvm.clj:294), at metabase.util.jvm$do_with_timeout.invoke(jvm.clj:290), at metabase.driver.util$can_connect_with_details_QMARK_.invokeStatic(util.clj:166), ... 188 more
[2b8ab2cb-2910-44c9-a1c8-f9db26367f32] 2024-08-30T09:43:33+05:30 DEBUG metabase.server.middleware.log POST /api/database 400 10.0 s (0 DB calls) {:metabase-user-id 149}
{:message "Timed out after 10.0 s"}
So we have two identical environments, Dev and Prod. It works in Dev but not in Prod. We are running nginx in front of Metabase and all connection going to the internet are proxied through squid proxy.
In the squid logs, I can see the 200 response from Athena API but it do notice that the response is slightly higher than 10s from the time I click the save button. In both the environments the version is same(0.50.22).
Is there any way to increase the timeout when creating the Athena database so that it doesn't timeout after 10s?