Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router.createForwarders() blocks EventLoop #594

Open
hiddenalpha opened this issue Jun 7, 2024 · 0 comments
Open

Router.createForwarders() blocks EventLoop #594

hiddenalpha opened this issue Jun 7, 2024 · 0 comments

Comments

@hiddenalpha
Copy link
Member

hiddenalpha commented Jun 7, 2024

2024-06-07T14:36:13,076 snapshot houston WARN BlockedThreadChecker - Thread Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 1536 ms, time limit is 8 ms
io.vertx.core.VertxException: Thread blocked
	at java.util.Collection.stream(Collection.java:711) ~[?:?]
	at io.vertx.core.http.impl.HttpClientBase.<init>(HttpClientBase.java:80) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientImpl.<init>(HttpClientImpl.java:115) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.VertxImpl.createHttpPoolClient(VertxImpl.java:416) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientBuilderImpl.build(HttpClientBuilderImpl.java:65) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.Vertx.createHttpClient(Vertx.java:274) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.Vertx.createHttpClient(Vertx.java:284) ~[vertx-core-4.5.1.jar:4.5.1]
	at org.swisspush.gateleen.core.http.HttpClientFactory$$Lambda$2169/0x000000084089f040.createHttpClient(Unknown Source) ~[?:?]
	at org.swisspush.gateleen.routing.Router.createForwarders(Router.java:332) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Router.updateRouting(Router.java:475) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Router.updateRouting(Router.java:399) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Router.lambda$new$1(Router.java:177) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Router$$Lambda$2369/0x0000000840983440.handle(Unknown Source) ~[?:?]
	at org.swisspush.gateleen.core.storage.EventBusResourceStorage.lambda$get$0(EventBusResourceStorage.java:50) ~[gateleen-core-2.1.8.jar:?]
	at org.swisspush.gateleen.core.storage.EventBusResourceStorage$$Lambda$1809/0x00000008407e9c40.handle(Unknown Source) ~[?:?]
	at io.vertx.core.impl.future.FutureImpl$4.onSuccess(FutureImpl.java:176) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.future.FutureBase.lambda$emitSuccess$0(FutureBase.java:60) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.future.FutureBase$$Lambda$1469/0x00000008405f3040.run(Unknown Source) ~[?:?]
	at io.vertx.core.impl.ContextImpl.execute(ContextImpl.java:305) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.DuplicatedContext.execute(DuplicatedContext.java:181) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:57) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:246) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.Promise.complete(Promise.java:66) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.ReplyHandler.dispatch(ReplyHandler.java:97) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.HandlerRegistration$InboundDeliveryContext.execute(HandlerRegistration.java:137) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.DeliveryContextBase.next(DeliveryContextBase.java:80) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.DeliveryContextBase.dispatch(DeliveryContextBase.java:43) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.HandlerRegistration.dispatch(HandlerRegistration.java:98) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.ReplyHandler.doReceive(ReplyHandler.java:81) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.HandlerRegistration.lambda$receive$0(HandlerRegistration.java:49) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.eventbus.impl.HandlerRegistration$$Lambda$1806/0x00000008407e9040.run(Unknown Source) ~[?:?]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[netty-transport-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at java.lang.Thread.run(Thread.java:829) ~[?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant