Your comments

Managed to fix it by upgrading the version of java. Latest version fixed it

It's a different error u are experiencing.


It's a OutOfMemoryError meaning u need to increase the amount of ram allocated to ubooquity. 1024mb works for me

I'm not too sure is it because I have books that have names that are super long or that there are non English characters on them. It only occurred after I added those books inside the library. Hope it helps. Thanks.

Here are the logs leading to the error:


20160612 00:39:06 [pool-1-thread-19] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

20160612 00:39:06 [pool-1-thread-17] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

20160612 00:39:06 [pool-1-thread-18] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

20160612 00:39:06 [pool-1-thread-20] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

20160612 00:39:34 [pool-1-thread-1] ERROR com.ubooquity.c - Request processing failed for URI: /admin/logs

java.lang.StringIndexOutOfBoundsException: String index out of range: 18

at java.lang.String.substring(String.java:1963) ~[na:1.8.0_92]

at java.lang.String.substring(String.java:1963) ~[na:1.8.0_92]

at com.ubooquity.provider.webadmin.j.a(SourceFile:542) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.provider.webadmin.j.h(SourceFile:512) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.provider.webadmin.j.a(SourceFile:118) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.c.a(SourceFile:324) [Ubooquity.jar:1.10.1]

at com.ubooquity.c.a(SourceFile:58) [Ubooquity.jar:1.10.1]

at com.ubooquity.c$1.a(SourceFile:133) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e.a(SourceFile:287) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e$f.a(SourceFile:830) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e$1$1.run(SourceFile:210) [Ubooquity.jar:1.10.1]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java

:1142) [na:1.8.0_92]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92]

at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92]

20160612 00:40:39 [pool-1-thread-1] ERROR com.ubooquity.c - Request processing failed for URI: /admin/logs

java.lang.StringIndexOutOfBoundsException: String index out of range: 18

at java.lang.String.substring(String.java:1963) ~[na:1.8.0_92]

at com.ubooquity.provider.webadmin.j.a(SourceFile:542) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.provider.webadmin.j.h(SourceFile:512) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.provider.webadmin.j.a(SourceFile:118) ~[Ubooquity.jar:1.10.1]

at com.ubooquity.c.a(SourceFile:324) [Ubooquity.jar:1.10.1]

at com.ubooquity.c.a(SourceFile:58) [Ubooquity.jar:1.10.1]

at com.ubooquity.c$1.a(SourceFile:133) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e.a(SourceFile:287) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e$f.a(SourceFile:830) [Ubooquity.jar:1.10.1]

at com.ubooquity.e.e$1$1.run(SourceFile:210) [Ubooquity.jar:1.10.1]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_92]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92]

at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92]


Deleting the previous log file works. I don't know what caused that error, but deleting the prior log file restores it.


Thanks for the info. I managed to kill it using jcmd to find the PID. Somehow pgrep doesn't work for me.


However I'm still getting SSLException issue. Oh well, hopefully with the replacement of the internal server of Ubooquity in the next version it will help solve the issue.


Can u post the logs? It will be helpful in diagnosing the problem.

Yes, I think the java process is probably still running after I tried to kill it through ssh


I tried "stop ubooquity" but it says "Stop: unknown instance"

Hence I tried "pkill -f 'java -jar'" but when I tried "start ubooquity" it gives me the "Locked by another process" issue.


I figured both commands failed to kill the java process. I know of no other way to stop ubooquity after the above SSLexception error except to manually reboot the whole system.


Thanks for your response.


- the Let's Encyrpt certifications are stored in a folder that has a random name meaning hardcoding paths that may/may not change (e.g. /usr/syno/etc/certificate/_archive/Y2mWTD/privkey.pem)

You are right.


The initial error results from the SSLexception, resulting in the inability to access the webpage. Attempts to reboot the server via ssh results in Database may be already in use: "Locked by another process".


20160525 09:56:36 [pool-1-thread-12] INFO com.ubooquity.provider.epubreader.a - xxx is reading /volume1/Books/xxx.epub
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Connection reset
20160525 09:59:29 [pool-1-thread-12] INFO com.ubooquity.e.e - Served file to xxx in 0 sec:xxx.epub
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:29 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 09:59:30 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - javax.net.ssl.SSLException - Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
20160525 10:00:42 [pool-1-thread-12] INFO com.ubooquity.provider.epubreader.a - xxxx is reading /volume1/Books/xxxx.epub