New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception caught in class ZombieHandler java.net.SocketException: Network is unreachable #6
Comments
I will take a look. Could you paste entire stack trace? |
Did you start the game server at src/main/java/org.menacheri.GameServer? Also remember to provide Log4j Configuration in VM startup parameters of eclipse "Run Configurations". The following VM flag needs to be set there -Dlog4j.configuration=GameServerLog4j.properties By the way there is another client at src/test/java/org.menacheri.zombieclient.ZombieJetClient. You could try running that one and see whether it connects. |
I did start the game server located in src/main/java/org.menacheri.GameServer,and Log4j Configuration was configuared correctly. The exception details: Started: 28 and also some exception like this: Exception caught in class DefenderHandler Exception caught in class DefenderHandlerjava.util.concurrent.RejectedExecutionException
Recieved eventType: 11
Exception caught in class DefenderHandler |
Thanks, I will take a look. The latest code is working fine for me locally, So maybe it could be a UDP related env problem also. Did you try out the ZombieJetClient class. Did that work? |
oops,I had tried ZombieJetClient,but I got totally exceptions like this: Session is already shutting down. Disconnect event will be discarded for channel {}760370133 |
Ok. To check if this is related to UDP only, could you make following changes in code.
|
Wow, Everything works perfectly after changes was made in the way you just suggested. Things turn out like that something happend unexpected on UDP connection. Thank you so much for your replies. |
I will keep the issue open, since UDP is also supposed to work. It could be local env issue. One way to test it out would be run netty's UDP example If this also causes same issue then it is problem at network side, else it could also be because of jetserver issue. |
I have tried the netty's UDP example and so far so good,it seemed to run smoothly without any exception. BTW,I am a fresh man on socket programming and really apologize for being helpless on the issue shooting. |
No problem! Am busy this weekend will take a look and let you know if we can have UDP back on. |
KIND of you,thanks. |
when I excuted the main method of ZombieClient in example-games project,I got lots of exceptions like this:
Exception caught in class ZombieHandler
java.net.SocketException: Network is unreachable
The text was updated successfully, but these errors were encountered: