Glowstone++ $ java -jar target/glowstone-0.0.1-SNAPSHOT.jar
20:05:49 [INFO] This server is running Glowstone version git-Glowstone-1.8-171-g352b7b9 (Implementing API version 1.8-R1-SNAPSHOT)
20:05:49 [INFO] Recipes: 295 shaped, 63 shapeless, 24 furnace, 15 fuels.
20:05:49 [INFO] Preparing spawn for world...
20:05:50 [INFO] Preparing spawn for world: 78%
20:05:50 [INFO] Preparing spawn for world: done
20:05:50 [INFO] Preparing spawn for world_nether...
20:05:51 [INFO] Preparing spawn for world_nether: done
20:05:51 [INFO] Preparing spawn for world_the_end...
20:05:51 [INFO] Preparing spawn for world_the_end: done
20:05:51 [INFO] Binding to address: 0.0.0.0/0.0.0.0:25565...
20:05:51 [INFO] Successfully bound to: /0:0:0:0:0:0:0:0:25565
20:05:51 [INFO] Ready for connections.
20:06:07 [WARNING] Could not decrypt shared secret
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:365)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:391)
at javax.crypto.Cipher.doFinal(Cipher.java:2087)
at net.glowstone.net.handler.login.EncryptionKeyResponseHandler.handle(EncryptionKeyResponseHandler.java:55)
at net.glowstone.net.handler.login.EncryptionKeyResponseHandler.handle(EncryptionKeyResponseHandler.java:35)
at com.flowpowered.networking.session.BasicSession.handleMessage(BasicSession.java:80)
at com.flowpowered.networking.session.BasicSession.messageReceived(BasicSession.java:139)
at net.glowstone.net.GlowSession.pulse(GlowSession.java:408)
at net.glowstone.net.SessionRegistry.pulse(SessionRegistry.java:23)
at net.glowstone.scheduler.GlowScheduler.pulse(GlowScheduler.java:174)
at net.glowstone.scheduler.GlowScheduler.access$100(GlowScheduler.java:25)
at net.glowstone.scheduler.GlowScheduler$2.run(GlowScheduler.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
20:06:07 [INFO] [/127.0.0.1:62899] kicked: Unable to decrypt shared secret.
wsmc should more gracefully handle when the server is not in offline mode, causing login to fail:
testing with https://github.com/GlowstoneMC/Glowstone - this is shown on the server-side:
config/glowstone.yml server online-mode: true
and then http://github.com/deathcap/voxel-clientmc crashes in mf-worker:
(self.bot.entity undefined)