JuicyRaspberryPie icon indicating copy to clipboard operation
JuicyRaspberryPie copied to clipboard

Command Server Not Available

Open aschwtzr opened this issue 3 years ago • 4 comments

I am pretty consistently getting the error command server not available, although it does occasionally work with a fresh install of the plugin. Is it possibly a Python issue? I'm using python 3.10, spigot 1.14.2

aschwtzr avatar Oct 15 '21 17:10 aschwtzr

stack trace

[18:06:56] [Spigot Watchdog Thread/ERROR]: Current Thread: Server thread
[18:06:56] [Spigot Watchdog Thread/ERROR]:      PID: 29 | Suspended: false | Native: true | State: RUNNABLE
[18:06:56] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.net.SocketInputStream.socketRead0(Native Method)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.net.SocketInputStream.socketRead(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.net.SocketInputStream.read(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.net.SocketInputStream.read(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              sun.nio.cs.StreamDecoder.implRead(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              sun.nio.cs.StreamDecoder.read(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.io.InputStreamReader.read(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.io.BufferedReader.fill(Unknown Source)
[18:06:56] [Spigot Watchdog Thread/ERROR]:              java.io.BufferedReader.readLine(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventQueue$3.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.security.AccessController.doPrivileged(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventQueue.dispatchEvent(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.awt.EventDispatchThread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: AWT-Windows
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 36 | Suspended: false | Native: true | State: RUNNABLE
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              sun.awt.windows.WToolkit.eventLoop(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              sun.awt.windows.WToolkit.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Thread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: AWT-Shutdown
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 35 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              sun.awt.AWTAutoShutdown.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Thread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Java2D Disposer
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 34 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.ReferenceQueue.remove(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.ReferenceQueue.remove(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              sun.java2d.Disposer.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Thread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: NonBlockingInputStreamThread
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 32 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Thread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Snooper Timer
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 30 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.util.TimerThread.mainLoop(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.util.TimerThread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Timer hack thread
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 21 | Suspended: false | Native: false | State: TIMED_WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Thread.sleep(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              net.minecraft.server.v1_16_R3.SystemUtils$6.run(SourceFile:636)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Attach Listener
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 5 | Suspended: false | Native: false | State: RUNNABLE
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Signal Dispatcher
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 4 | Suspended: false | Native: false | State: RUNNABLE
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Finalizer
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 3 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.ReferenceQueue.remove(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.ReferenceQueue.remove(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------
[18:06:57] [Spigot Watchdog Thread/ERROR]: Current Thread: Reference Handler
[18:06:57] [Spigot Watchdog Thread/ERROR]:      PID: 2 | Suspended: false | Native: false | State: WAITING
[18:06:57] [Spigot Watchdog Thread/ERROR]:      Stack:
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Native Method)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.Object.wait(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.Reference.tryHandlePending(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]:              java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
[18:06:57] [Spigot Watchdog Thread/ERROR]: ------------------------------

aschwtzr avatar Oct 16 '21 22:10 aschwtzr

I am pretty consistently getting the error command server not available, although it does occasionally work with a fresh install of the plugin. Is it possibly a Python issue? I'm using python 3.10, spigot 1.14.2

Did you ever have any luck solving this?

ppilonn avatar Jan 07 '22 17:01 ppilonn

I believe this is the culprit: https://github.com/wensheng/JuicyRaspberryPie/pull/9

aschwtzr avatar Jan 11 '22 15:01 aschwtzr

I got no error running with spigot 1.18.1. try it.

Tairraos avatar Sep 05 '22 14:09 Tairraos