Error when connecting from minecraft to nukkit server

Status
Not open for further replies.

Pakoe

New Member
I am trying to run Nukkit on my Synology server. I first tried using existing packeges, but they seem to be outdated and Minecraft on my computer (win10) and on my phone is not able to find the server then. I now copied the latest jar file into my synology and am able to start the server. My minecraft installations can find the server, but when connecting, the server crashes. I tried the same JAR file to run a server on my computer. That works, so the issue is not in the JAR file.

This is the error message I get. Any thoughts where I should start looking?

23:30:50 [EMERGENCY] Exception happened while ticking server
23:30:50 [ALERT] java.lang.AssertionError: java.security.NoSuchAlgorithmException: EC KeyFactory not available
at cn.nukkit.utils.ClientChainData.<clinit>(ClientChainData.java:43)
at cn.nukkit.Player.handleDataPacket(Player.java:2068)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at cn.nukkit.network.Network.processPackets(Network.java:178)
at cn.nukkit.network.Network.processBatch(Network.java:160)
at cn.nukkit.Player.handleDataPacket(Player.java:2026)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:157)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:132)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66)
at cn.nukkit.network.Network.processInterfaces(Network.java:76)
at cn.nukkit.Server.tick(Server.java:1076)
at cn.nukkit.Server.tickProcessor(Server.java:850)
at cn.nukkit.Server.start(Server.java:827)
at cn.nukkit.Server.<init>(Server.java:510)
at cn.nukkit.Nukkit.main(Nukkit.java:105)
Caused by: java.security.NoSuchAlgorithmException: EC KeyFactory not available
at java.security.KeyFactory.<init>(KeyFactory.java:138)
at java.security.KeyFactory.getInstance(KeyFactory.java:172)
at cn.nukkit.utils.ClientChainData.generateKey(ClientChainData.java:158)
at cn.nukkit.utils.ClientChainData.<clinit>(ClientChainData.java:41)
... 14 more
23:30:50 [ALERT]
"threadDeathWatcher-3-1" Id=20 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at io.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:150)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)
"epollEventLoopGroup-2-1" Id=19 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:117)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:231)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:255)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)
"Nukkit Asynchronous Task Handler #0" Id=18 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@25d958c6
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@25d958c6
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...
"Thread-6" Id=17 TIMED_WAITING on cn.nukkit.utils.Watchdog@4482469c
at java.lang.Object.wait(Native Method)
- waiting on cn.nukkit.utils.Watchdog@4482469c
at cn.nukkit.utils.Watchdog.run(Watchdog.java:58)
"RakNet Thread #14" Id=14 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at cn.nukkit.raknet.server.SessionManager.tickProcessor(SessionManager.java:96)
at cn.nukkit.raknet.server.SessionManager.run(SessionManager.java:70)
at cn.nukkit.raknet.server.SessionManager.<init>(SessionManager.java:58)
at cn.nukkit.raknet.server.RakNetServer.run(RakNetServer.java:101)
"Console" Id=11 RUNNABLE (in native)
at java.io.FileInputStream.read0(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:207)
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:166)
- locked jline.internal.NonBlockingInputStream@3703bf3c
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:135)
at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:243)
at jline.internal.InputStreamReader.read(InputStreamReader.java:257)
- locked jline.internal.NonBlockingInputStream@3703bf3c
at jline.internal.InputStreamReader.read(InputStreamReader.java:194)
- locked jline.internal.NonBlockingInputStream@3703bf3c
at jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2151)
...
"NonBlockingInputStreamThread" Id=13 WAITING on jline.internal.NonBlockingInputStream@3703bf3c owned by "Console" Id= 11
at java.lang.Object.wait(Native Method)
- waiting on jline.internal.NonBlockingInputStream@3703bf3c
at jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:275)
at java.lang.Thread.run(Thread.java:748)
"Logger" Id=9 RUNNABLE
at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1101)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
at java.text.DateFormat.format(DateFormat.java:345)
at cn.nukkit.utils.MainLogger.flushBuffer(MainLogger.java:242)
at cn.nukkit.utils.MainLogger.run(MainLogger.java:166)
"process reaper" Id=10 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@34cf5a97
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@34cf5a97
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...
"Signal Dispatcher" Id=4 RUNNABLE
"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@5b3f3ba0
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@5b3f3ba0
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@ddf20fd
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@ddf20fd
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
"main" Id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
at cn.nukkit.utils.Utils.getAllThreadDumps(Utils.java:113)
at cn.nukkit.Server.tickProcessor(Server.java:883)
at cn.nukkit.Server.start(Server.java:827)
at cn.nukkit.Server.<init>(Server.java:510)
at cn.nukkit.Nukkit.main(Nukkit.java:105)

23:30:50 [INFO] [Username, removed due to privacy] logged out due to Server closed
23:30:50 [INFO] Unloading level "world"
23:30:51 [INFO] Stopping other threads
 

SupremeMortal

Administrator
Staff member
I still get "logged out due to outdated client" after trying this. Also when viewing my worlds and LAN servers on the MCPE screen, the LAN server's version number is red which implies it is outdated although both client and server are running v0.14. When playing a LAN game with 2 MCPE devices that version is green and the devices are able to connect and play with each other.
Please create a new thread instead of necro posting on a 3-year-old one. Locked
 
Status
Not open for further replies.
Top