Error in BungeeCord

Discussion in 'BungeeCord Discussion' started by Creeper96_, Jun 12, 2013.

  1. Error in BungeeCord, it the cause of the lagg in my server

    Code (Text):
    11:59:25 [INFO] [Metrics] Connection timed out
    11:59:39 [INFO] [dragoneleggenda] <-> InitialHandler has connected
    11:59:39 [INFO] [dragoneleggenda] <-> ServerConnector [lobby] has connected
    11:59:40 [INFO] [DarkSlender99] <-> InitialHandler has connected
    11:59:41 [INFO] [DarkSlender99] <-> ServerConnector [lobby] has connected
    11:59:47 [INFO] [liox] <-> InitialHandler has connected
    11:59:47 [INFO] [liox] <-> ServerConnector [lobby] has connected
    12:00:00 [WARNING] [Nopkar] -> UpstreamBridge - IOException: Connection reset by peer
    12:00:00 [INFO] [Nopkar] disconnected with: IOException : Connection reset by peer @ sun.nio.ch.FileDispatcherImpl:-2
    12:00:00 [INFO] [Nopkar] -> UpstreamBridge has disconnected
    12:00:00 [SEVERE] Jun 12, 2013 12:00:00 PM io.netty.channel.nio.NioEventLoop select
    WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector.
     
    12:00:00 [SEVERE] Jun 12, 2013 12:00:00 PM io.netty.channel.nio.NioEventLoop rebuildSelector
    INFO: Migrated 31 channel(s) to the new Selector.
     
    12:00:00 [SEVERE] Jun 12, 2013 12:00:00 PM io.netty.channel.nio.NioEventLoop run
    WARNING: Unexpected exception in the selector loop.
    java.nio.channels.ClosedSelectorException
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:84)
        at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:106)
        at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:595)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:289)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
        at java.lang.Thread.run(Thread.java:722)
     
     
    12:00:00 [INFO] [Nopkar] <-> DownstreamBridge <-> [lobby] has disconnected
    12:00:22 [INFO] [MasterXXDany] <-> InitialHandler has connected
    12:00:23 [INFO] [MasterXXDany] <-> InitialHandler has connected
    12:00:23 [INFO] [MasterXXDany] <-> ServerConnector [lobby] has connected
    12:00:27 [INFO] [Maurizio69] <-> InitialHandler has connected
    12:00:27 [INFO] [Maurizio69] <-> ServerConnector [lobby] has connected
    >
     
     
    • Agree Agree x 1
  2. I had others errors, who can help me?
    Code (Text):
    14:25:13 [SEVERE] [Dan3993] <-> ServerConnector [lobby] - encountered exception
    java.lang.NullPointerException
            at net.md_5.bungee.ServerConnector.connected(ServerConnector.java:80)
            at net.md_5.bungee.netty.HandlerBoss.channelActive(HandlerBoss.java:40)
            at io.netty.channel.DefaultChannelHandlerContext.invokeChannelActive(DefaultChannelHandlerContext.java:725)
            at io.netty.channel.DefaultChannelHandlerContext.fireChannelActive(DefaultChannelHandlerContext.java:711)
            at io.netty.channel.ChannelStateHandlerAdapter.channelActive(ChannelStateHandlerAdapter.java:58)
            at io.netty.channel.DefaultChannelHandlerContext.invokeChannelActive(DefaultChannelHandlerContext.java:725)
            at io.netty.channel.DefaultChannelHandlerContext.fireChannelActive(DefaultChannelHandlerContext.java:711)
            at io.netty.channel.ChannelStateHandlerAdapter.channelActive(ChannelStateHandlerAdapter.java:58)
            at io.netty.handler.timeout.ReadTimeoutHandler.channelActive(ReadTimeoutHandler.java:137)
            at io.netty.channel.DefaultChannelHandlerContext.invokeChannelActive(DefaultChannelHandlerContext.java:725)
            at io.netty.channel.DefaultChannelHandlerContext.fireChannelActive(DefaultChannelHandlerContext.java:711)
            at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:976)
            at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:224)
            at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:450)
            at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:397)
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:327)
            at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
     
     
    • Agree Agree x 1
  3. Where i can post the console error of the bungee, is this the wrong section?
     
    • Agree Agree x 1
  4. joehot200

    Supporter

    Dont know whats wrong, but i would guess disabling netty would temporarily fix the problem.
     
  5. How can i disable netty?
     
    • Agree Agree x 1
  6. joehot200

    Supporter

    • Agree Agree x 1
  7. I have to add this line -Dorg.spigotmc.netty.disabled=true at the startup script of the BungeeCord or at the script of the Spigot?

     
    • Agree Agree x 1
  8. joehot200

    Supporter

    Umm..
    Ummmmm...
    I dont know :(.

    But as its a bungee problem, i would guess bungee.
     
    • Funny Funny x 1
  9. This will NOT Work with bungeecord. It is a spigot option for people who have problems with netty in SPIGOT.
     
  10. I have tried and it don't work with bungeecord, problaby the problem is the low capacity of my vps.
    Bungee is a bit heavy.

    This is the graph of bungeecord vps.
    vps.JPG

    It's at 100% on the day.
    1 cpu 2Ghz and 512mb of ram. It's a OVH vps, the cheapest
     
  11. I'm also experiencing similar errors;

    Code (Text):

    17:10:07 [SEVERE] Jun 22, 2013 5:10:07 PM io.netty.channel.nio.NioEventLoop select
    WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector.
     
    17:10:07 [SEVERE] Jun 22, 2013 5:10:07 PM io.netty.channel.nio.NioEventLoop rebuildSelector
    INFO: Migrated 4 channel(s) to the new Selector.
     
    17:10:07 [SEVERE] Jun 22, 2013 5:10:07 PM io.netty.channel.nio.NioEventLoop run
    WARNING: Unexpected exception in the selector loop.
    java.nio.channels.ClosedSelectorException
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:84)
        at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:106)
        at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:595)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:289)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
        at java.lang.Thread.run(Thread.java:722)
     
    Proxy start, running build #540
    21:12:49 [INFO] Enabled BungeeCord version git-BungeeCord-Proxy-1.5-SNAPSHOT-"13f1fa7"-540
    21:13:34 [INFO] Loaded plugin PlayerFinder version 1.0 by Undeadkillz
    21:13:34 [INFO] Loaded plugin BungeeDocs version 0.2.1 by Favorlock
    21:13:34 [INFO] Loaded plugin BungeeSuite version 0.25 by Bloodsplat
    21:13:34 [INFO] Loaded plugin BungeeYAML version 1.2.3-32 by roblabla
    21:13:34 [INFO] Loaded plugin MoveMeNow version 0.2-11 by roblabla
    21:13:34 [INFO] Loaded plugin SQLibrary version 4.2 by PatPeter
    21:13:34 [INFO] Enabled plugin PlayerFinder version 1.0 by Undeadkillz
    21:13:34 [WARNING] Listener [email protected] has registered using depreceated subscribe annotation! Please advice author to update to @EventHandler. As a server owner you may safely ignore this.
    java.lang.Exception
    at net.md_5.bungee.api.plugin.PluginManager.registerListener(PluginManager.java:319)
    at com.gmail.favorlock.bungeedocs.BungeeDocs.registerListeners(BungeeDocs.java:51)
    at com.gmail.favorlock.bungeedocs.BungeeDocs.onEnable(BungeeDocs.java:40)
    at net.md_5.bungee.api.plugin.PluginManager.loadAndEnablePlugins(PluginManager.java:153)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:225)
    at net.md_5.bungee.BungeeCord.main(BungeeCord.java:192)
    21:13:34 [INFO] Enabled plugin BungeeDocs version 0.2.1 by Favorlock
    21:13:35 [INFO] Enabled plugin BungeeSuite version 0.25 by Bloodsplat
    21:13:35 [INFO] Enabled plugin BungeeYAML version 1.2.3-32 by roblabla
    21:13:35 [INFO] Enabled plugin MoveMeNow version 0.2-11 by roblabla
    21:13:35 [INFO] [SQLibrary] SQLibrary loaded.
    21:13:35 [INFO] Enabled plugin SQLibrary version 4.2 by PatPeter
    21:13:36 [INFO] Listening on /0.0.0.0:25565

    Any other kind of information I can provide around this error?
     
  12. spawnstah i have the same problem, the error in your server are very similar to my server.

    I have wrote a ticket to md5 about this error: read this