Skip to content

exception warnings in log #737

Open
Open
@awb99

Description

@awb99

When I use aleph http client, at some point I am getting this exceptions in the application log.
I dont think it is an issue; I believe they happen after I make a series of requests. So
what I guess is happing is that netty is closing connections that it has opened, and somehow
aleph does not catch this exceptions, this is why I see them as warnings in the log.
Any ideas what should be done?
Thanks!!

Below is the log:

2024-10-20T23:32:13.865Z nuc12 WARN [aleph.http.client:326] - exception-handler #error {
 :cause Connection reset
 :via
 [{:type java.net.SocketException
   :message Connection reset
   :at [sun.nio.ch.SocketChannelImpl throwConnectionReset SocketChannelImpl.java 401]}]
 :trace
 [[sun.nio.ch.SocketChannelImpl throwConnectionReset SocketChannelImpl.java 401]
  [sun.nio.ch.SocketChannelImpl read SocketChannelImpl.java 434]
  [io.netty.buffer.PooledByteBuf setBytes PooledByteBuf.java 255]
  [io.netty.buffer.AbstractByteBuf writeBytes AbstractByteBuf.java 1132]
  [io.netty.channel.socket.nio.NioSocketChannel doReadBytes NioSocketChannel.java 356]
  [io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe read AbstractNioByteChannel.java 151]
  [io.netty.channel.nio.NioEventLoop processSelectedKey NioEventLoop.java 788]
  [io.netty.channel.nio.NioEventLoop processSelectedKeysOptimized NioEventLoop.java 724]
  [io.netty.channel.nio.NioEventLoop processSelectedKeys NioEventLoop.java 650]
  [io.netty.channel.nio.NioEventLoop run NioEventLoop.java 562]
  [io.netty.util.concurrent.SingleThreadEventExecutor$4 run SingleThreadEventExecutor.java 994]
  [io.netty.util.internal.ThreadExecutorMap$2 run ThreadExecutorMap.java 74]
  [manifold.executor$thread_factory$reify__18508$f__18509 invoke executor.clj 71]
  [clojure.lang.AFn run AFn.java 22]
  [io.netty.util.concurrent.FastThreadLocalRunnable run FastThreadLocalRunnable.java 30]
  [java.lang.Thread run Thread.java 1589]]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions