Help - java.nio.channels.ClosedChannelException

Discussion in 'Spigot Help' started by ben3721, Jun 24, 2015.

  1. Hello, I'm having an issue where java.nio.channels.ClosedChannelException is spamming console randomly to the point my log files are massive, it spams it over 100+ times within a quarter second. It also popped out this error (see below) when I logged in, which it did not kick me. I logged in with latest stable build of Optifine. I asked my host and they said it had something to do with my jar file which of course is the latest Spigot. (see version below) Any clue what on earth this is? Also when these errors pop up TPS drops, i mean its making like 500 lines of errors in a quarter second, pastebin wouldnt let me upload it since it was so long.
    Server is running git-Spigot-f928e7a-994b2aa (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)

    Error when I logged in successfully:

    21.06 21:54:58 [Server] WARN at java.lang.Thread.run(Thread.java:745)
    21.06 21:54:58 [Server] WARN at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
    21.06 21:54:58 [Server] WARN at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
    21.06 21:54:58 [Server] WARN at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326)
    21.06 21:54:58 [Server] WARN at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:714)
    21.06 21:54:58 [Server] WARN at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doReadBytes(EpollSocketChannel.java:675)
    21.06 21:54:58 [Server] WARN at io.netty.channel.epoll.Native.readAddress(Native Method)
    21.06 21:54:58 [Server] WARN java.io.IOException: Error while read(...): Connection reset by peer

    Here is another one, but this user tried to log in with minechat.

    [18:06:17] [User Authenticator #75/INFO]: UUID of player SirYaronBHashem is 095437e5-a44f-46fa-8799-5b998fcaa0ae
    [18:06:17] [Server thread/INFO]: SirYaronBHashem[/108.74.21.104:34267] logged in with entity id 7116784 at ([CCSH]-0.5, 10.0, 1500.5)
    [18:06:17] [Server thread/INFO]: SirYaronBHashem Just joined! Please Welcome them back!
    [18:06:21] [Async Chat Thread - #116/INFO]: Officer Soldiers [Civilian] theoddballkid* hi sham
    [18:06:21] [Async Chat Thread - #116/INFO]: <CCSH> [Mod] [Builder] King* connected with an Android device using MineChat
    [18:06:29] [Netty Epoll Server IO #2/WARN]: java.io.IOException: Error while read(...): Connection reset by peer
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.channel.epoll.Native.readAddress(Native Method)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doReadBytes(EpollSocketChannel.java:675)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:714)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
    [18:06:29] [Netty Epoll Server IO #2/WARN]: at java.lang.Thread.run(Thread.java:745)
    [18:06:29] [Server thread/INFO]: SirYaronBHashem lost connection: Internal Exception: java.io.IOException: Error while read(...): Connection reset by peer
    [18:06:29] [Server thread/INFO]: SirYaronBHashem left


    Thanks for the help!
     
  2. I'll cut out all the repetative lines then it should be short enough for pastebin just beware that I took out any repeating lines over 5. I'll post it up tomorrow

    EDIT: Its still way to big to pastebin the entire log even with the repetitive lines removed.

    Im gonna test my server on home hosted for a day and see if that fixed the issue. Then i know if its host related at all.
     
    #3 ben3721, Jun 26, 2015
    Last edited: Jun 26, 2015
  3. I have not tried another host yet. But i just found this error log in my files. It also has io.netty.channel.epoll.EpollSocketChannel stuff in it. Odd
    http://pastebin.com/dk47pS8r