Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MinimServer 2 disappearing sometimes
09-06-2020, 11:50
Post: #1
MinimServer 2 disappearing sometimes
I'm running latest update of MinimServer 2 on a QNAP NAS (arm v7).

Sometimes Minimserver will disappear from the network (not visible in control point or from a PC or by MinimWatch), but the web interface (port 9790) is sdtill up and running and interactive.

I have the QNAP MediaServer running for videos on the same NAS and this will stay visible.

Any clues?

I have had ongoing discovery issues with DLNA/UPNP on my network so it might be that and nothing to do with MinimSever, but this occurs when the QNAP DLNA server is visible from the same NAS.

Crash log (not sure if it is from a 'crash' or simply stopping through the QNAP web interface) which happened whilst I had the prefs open in MinimWatch:

Code:
MinimServer crash dump, produced at 20200609-195818.844

MinimServer: exception while processing HTTP request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
    at org.jminim.lib.HTTPContext.okResponse(HTTPContext.java:131)
    at com.minimserver.Server$ConfigRequestHandler.writeResource(Server.java:26435)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24589)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-27" id=37 RUNNABLE
    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
    at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1217)
    at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:1142)
    - locked org.jminim.core.LogImpl@10a8220
    at org.jminim.core.LogImpl.reportErrorEx(LogImpl.java:249)
    at com.minimserver.Server$ConfigRequestHandler.processRequest(Server.java:24605)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​67)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-26" id=35 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:193)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​56)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:127)

"Thread-25" id=34 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@4de078
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:109)
    at org.jminim.lib.HTTPConnection.access$1700(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​37)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:422)

"Thread-24" id=33 RUNNABLE (in native)

"Thread-23" id=32 RUNNABLE (in native)

"Timer-0" id=31 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.util.TaskQueue@c62cf8
    at java.lang.Object.wait(Object.java:502)
    at java.util.TimerThread.mainLoop(Timer.java:526)
    at java.util.TimerThread.run(Timer.java:505)

"Thread-21" id=30 RUNNABLE (in native)

"Thread-11" id=20 RUNNABLE (in native)

"Thread-10" id=19 RUNNABLE (in native)

"Thread-9" id=18 RUNNABLE (in native)

"Thread-8" id=17 RUNNABLE (in native)
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
    at java.net.ServerSocket.implAccept(ServerSocket.java:545)
    at java.net.ServerSocket.accept(ServerSocket.java:513)
    at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:342)
    at org.jminim.lib.HTTPService.access$200(HTTPService.java:31)
    at org.jminim.lib.HTTPService$1.run(HTTPService.java:327)

"Thread-7" id=16 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPService$SocketThread@1de3476
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:397)

"Thread-6" id=15 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$TimerThread@ea2341
    at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:1031)

"Thread-5" id=14 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$ActionThread@1baaefe
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:986)

"Thread-1" id=8 TIMED_WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$TimerThread@e0fe9d
    at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:4084)

"Thread-0" id=7 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$ActionThread@7d0573
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:4038)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@17cc016
    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
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.Reference$Lock@18f5399
    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 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.Object@8c56e3
    at java.lang.Object.wait(Object.java:502)
    at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:3946)
    at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2440)
    at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1302)
    at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:525)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
    at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jminim.launch.Launcher.launch(Launcher.java:88)
    at com.minimserver.launch.LaunchServer.main(LaunchServer.java:38)

- - - - - - - - - - - - - - - -
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
MinimServer 2 disappearing sometimes - solanum - 09-06-2020 11:50

Forum Jump:


User(s) browsing this thread: 1 Guest(s)