Connection reset by peer: socket write error

Samebug tips13

Probably there is a bug in TestNG Eclipse plugin (, try an other version (e.g.

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2019

  • via GitHub by xingzhefeng
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • Connection reset by peer: socket write error at Method) at at at at at kafka_clj.tcp_api$write_BANG_.invokeStatic(tcp_api.clj:14) at kafka_clj.tcp_api$write_BANG_.doInvoke(tcp_api.clj:10) at clojure.lang.RestFn.invoke( at kafka_clj.produce$send_messages.invokeStatic(produce.clj:192) at kafka_clj.produce$send_messages.invoke(produce.clj:175) at kafka_clj.produce$send_messages.invokeStatic(produce.clj:181) at kafka_clj.produce$send_messages.invoke(produce.clj:175) at kafka_clj.client$send_messages.invokeStatic(client.clj:287) at kafka_clj.client$send_messages.invoke(client.clj:282) at kafka_clj.client$send_data.invokeStatic(client.clj:298) at kafka_clj.client$send_data.invoke(client.clj:291) at kafka_clj.client$handle_async_topic_messages.invokeStatic(client.clj:322) at kafka_clj.client$handle_async_topic_messages.invoke(client.clj:318) at kafka_clj.client$async_handler$fn__10902$fn__10911.invoke(client.clj:336) at at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    20 times, last one
    Unknown visitor
    Unknown visitorOnce,
    3 times, last one
    217 more bugmates