0
Fixed

[2.0] Opds download error

Kenji 3 years ago updated by Christophe Pecquerie 2 years ago 13

hello


OS : ios 10.3

App : chuncky

Server ; DS2415 (commande line) / QNAP TVQ882 (docker)

Ubooquity version : 10.0.1 / 2.0

Error: The network connection was lost

i can stream but i can't download

width 1.10.1, i can stream and download file

so i don't know if is chunky bug or ubooquity


I am having the same issue on Windows 10 and Chunky. Downloading in Chunky via odbc works fine on 1.10, but presents this error on 2.0. Stream works fine

Raspbian Jessie on RPi, same situation. Maybe this portion of the log file will help:


20170423 14:04:24 [qtp22774030-17] ERROR com.ubooquity.d.b - Request processing failed for URI: /opds-comics/comics/1738/Spawn%20258%20%282015%29%20%28Digital-Empire%29.cbr (method:GET)
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1967) ~[na:1.8.0_65]
   at com.ubooquity.provider.opds.c.d(SourceFile:203) ~[Ubooquity.jar:2.0.1]
   at com.ubooquity.provider.opds.c.a(SourceFile:165) ~[Ubooquity.jar:2.0.1]
   at com.ubooquity.d.c.a(SourceFile:138) ~[Ubooquity.jar:2.0.1]
   at com.ubooquity.d.b.handle(SourceFile:49) ~[Ubooquity.jar:2.0.1]
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1228) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:170) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1130) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.Server.handle(Server.java:564) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:318) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.0.v20161208.jar.5803206714807878639.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [jetty-io-9.4.0.v20161208.jar.6998083119133886536.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [jetty-io-9.4.0.v20161208.jar.6998083119133886536.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.0.v20161208.jar.6998083119133886536.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:122) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy.invoke(ExecutingExecutionStrategy.java:58) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:201) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:133) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) [jetty-util-9.4.0.v20161208.jar.7886098862656370308.tmp:9.4.0.v20161208]
   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
20170423 14:04:24 [qtp22774030-17] ERROR com.ubooquity.c.a - Request already handled: /opds-comics/comics/1738/Spawn%20258%20%282015%29%20%28Digital-Empire%29.cbr

M'y log too


20170423 18:12:19 [qtp1912960603-539] ERROR com.ubooquity.d.b - Request processing failed for URI: /opds-comics/comics/7425/T01%20-%20Cinq%20enfants%20de%20putain.cbr (method:GET)

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    at java.lang.String.substring(String.java:1967) ~[na:1.8.0_111-internal]

    at com.ubooquity.provider.opds.c.d(SourceFile:203) ~[Ubooquity.jar:2.0.1]

    at com.ubooquity.provider.opds.c.a(SourceFile:165) ~[Ubooquity.jar:2.0.1]

    at com.ubooquity.d.c.a(SourceFile:138) ~[Ubooquity.jar:2.0.1]

    at com.ubooquity.d.b.handle(SourceFile:49) ~[Ubooquity.jar:2.0.1]

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1228) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:170) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1130) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.Server.handle(Server.java:564) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:318) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.0.v20161208.jar.2896073119550692921.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:261) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:150) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.0.v20161208.jar.6712256779149306831.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) [jetty-util-9.4.0.v20161208.jar.2760199926637540142.tmp:9.4.0.v20161208]

    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) [jetty-util-9.4.0.v20161208.jar.2760199926637540142.tmp:9.4.0.v20161208]

    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111-internal]

20170423 18:12:19 [qtp1912960603-539] ERROR com.ubooquity.c.a - Request already handled: /opds-comics/comics/7425/T01%20-%20Cinq%20enfants%20de%20putain.cbr
Fixed

Problem found and fixed (just wait for 2.0.1).

Thanks for reporting this bug.

Thank you Tom! Any idea on that ETA?

You made my day! Thanks for the great support.

works beautifully, thanks

thanks.

All is ok with ssl or not

thanks for acting on it so quickly!


Small footnote - my startup says it's on 2.0.1 already. I assume the forthcoming version is 2.0.2 (or 2.0.1.1)

I guess you downloaded it from the forum (I posted a few intermediate builds for specific problems).

But you're right, I'll name it 2.0.2 to avoid confusion.

Thank you for a great product and fantastic support!

I am having the same issue with 2.1.0 and Chunky and I don't see any ERROR in the logs.