Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Receiving IllegalStateException on connect #6

Open
dyyd opened this issue Sep 20, 2015 · 0 comments
Open

Receiving IllegalStateException on connect #6

dyyd opened this issue Sep 20, 2015 · 0 comments

Comments

@dyyd
Copy link

dyyd commented Sep 20, 2015

Built both Oger2 and Oger2-API.
Started the server with the command given in the README. (Used sudo since it wanted I believe port access or similar)
When connecting to the server from agar.io the server raises an "java.lang.IllegalStateException: Connection is not in CONNECTED state!" error.

Fuller stacktrace:
INFO: [id: 0x260ac275, /0:0:0:0:0:0:0:0:443] RECEIVED: [id: 0xcb056aa1, /127.0.0.1:43030 => /127.0.0.1:443]
20-Sep-2015 20:35:20.382 [SEVERE] Encountered exception in pipeline for client at /127.0.0.1:43030; disconnecting client.
java.lang.IllegalStateException: Connection is not in CONNECTED state!
at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
at com.ogarproject.ogar.server.net.PlayerConnection.checkConnected(PlayerConnection.java:205)
at com.ogarproject.ogar.server.net.PlayerConnection.handle(PlayerConnection.java:119)
at com.ogarproject.ogar.server.net.PlayerConnection.handle(PlayerConnection.java:78)
at com.ogarproject.ogar.server.net.ClientHandler.channelRead0(ClientHandler.java:52)
at com.ogarproject.ogar.server.net.ClientHandler.channelRead0(ClientHandler.java:27)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at com.ogarproject.ogar.server.net.WebSocketHandler.channelRead0(WebSocketHandler.java:78)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant