org.asynchttpclient.netty.request.NettyRequestSender - Too many connections: 100

Hello,

I think we need to adjust a connection limit for the tiny editor. But I can not find any documentation on this. Any ideas ?


[6/24/22 7:08:09:614 CEST] 00021793 SystemOut O 07:08:09.614 [scala-execution-context-global-137107] DEBUG org.asynchttpclient.netty.request.NettyRequestSender - Aborting Future NettyResponseFuture{currentRetry=0,
isDone=0,
isCancelled=0,
asyncHandler=org.http4s.asynchttpclient.client.AsyncHttpClient$$anon$1@a2b56ef2,
nettyRequest=org.asynchttpclient.netty.request.NettyRequest@a9f86061,
future=java.util.concurrent.CompletableFuture@31e3427d[Not completed],
uri=https://myurl.com/communities/service/html/communityview?communityUuid=1234-1234-1234,
keepAlive=true,
redirectCount=0,
timeoutsHolder=null,
inAuth=0,
touch=1656047289614}

[6/24/22 7:08:09:614 CEST] 00021793 SystemOut O 07:08:09.614 [scala-execution-context-global-137107] DEBUG org.asynchttpclient.netty.request.NettyRequestSender - Too many connections: 100
org.asynchttpclient.exception.TooManyConnectionsException: Too many connections: 100
at org.asynchttpclient.netty.channel.MaxConnectionSemaphore.acquireChannelLock(Unknown Source)
at async @ org.http4s.asynchttpclient.client.AsyncHttpClient$.$anonfun$apply$1(AsyncHttpClient.scala:53)
at apply @ com.ephox.spelling.data.SpellingEnv$.asResourceFrom(SpellingEnv.scala:21)
at unsafeRunSync @ com.ephox.ironbark.IronbarkServlet.contextInitialized(IronbarkServlet.scala:30)
at unsafeRunSync @ org.http4s.servlet.AsyncHttp4sServlet.service(AsyncHttp4sServlet.scala:63)

Regards,
Jan

Hi Jan,

I'd like to get some additional context to this message -
- Do you know what steps are needed to reproduce the problem?
- What does the end user see when the SystemOut.log has this issue, and which server is your log snippet from?
- Is everyone impacted when this happens?
- How often does this occur?
- When did this start happening?
- Does any specific activity lead to this problem?
- Does the problem resolve itself?

If we can't resolve this via the forum, we can collaborate with Tiny via an HCL Support case.

Thank you,
Michael Montani
HCL Support

Hello Michael,

I just want to know which component exactly is printing this message & how to configure the limit - I just can not find this in the documentation.
Since "com.ephox.spelling.data.Spelling" is listed I assume this error message is printed by an ephox-service, I assume the spelling service.
User impact & occurence does not matter here. I just need an answer to my question.


Thanks in advance !
Regards,
Jan

Hello,

HCL support provided the answer: \opt\ephox\application.conf parameter "max-connections" for "http" needs to be modified:

http {
max-connections = 300
}

Regards,
Jan