vertx timeout error while querying using vertx-pg-client

118 views
Skip to first unread message

Satyabrata Mishra

unread,
Feb 5, 2023, 11:13:27 PM2/5/23
to vert.x
I am using vertx-pg-client to connect to postgres DB. When querying the DB I am getting timeout error as below : 
"(TIMEOUT,-1) Timed out after waiting 50000(ms) for a reply. address: __vertx.reply.5, repliedAddress: subscription.list", "\tat io.vertx.core.eventbus.impl.HandlerRegistration.lambda$new$0(HandlerRegistration.java:76)", "\tat io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:942)", "\tat io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:906)", "\tat io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366)", "\tat io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)", "\tat io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:229)", "\tat io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:221)", "\tat io.vertx.core.impl.VertxImpl$InternalTimerHandler.run(VertxImpl.java:932)", "\tat io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)", "\tat io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:153)", "\tat io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)", "\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)", "\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)", "\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)", "\tat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)", "\tat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)", "\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)", "\tat java.base/java.lang.Thread.run(Unknown Source)". I even increased the timeout to 50ms from the default value 30ms, but it is not helping. Any idea how to solve this?

Satyabrata Mishra

unread,
Feb 6, 2023, 12:54:14 AM2/6/23
to vert.x
I am currently on vert.x 3.9.14

Thomas SEGISMONT

unread,
Feb 6, 2023, 4:01:14 AM2/6/23
to ve...@googlegroups.com
This stack trace indicates an eventbus client failed with timeout. We cannot help without more detailed info (ideally, a small reproducer, or an error log which shows the actual problem, with a couple snippets).

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/d98024b2-4330-409b-84f7-a94e3b11f563n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages