0
Not a bug

Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Connection reset by peer: socket write error

Skylar 4 years ago updated by Stu Taylor 3 years ago 4

The last couple of days, whenever someone from outside my local network tries to read my comics, they get stuck at the loading screen. Books still seem to work okay, but comics have been an issue. I was able to confirm with one of my users that they were able to read my comics as recently as Thursday 5/19.I checked the logs and have seen several entries of the following error:


20160522 11:13:47 [pool-1-thread-2] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Connection reset by peer: socket write error



I've tried rebuilding my ubooquity-4.h2.db file, but that didn't seem to make any difference. I also tried clearing my Java cache, as well as several reboots.

I'm running Windows7 x64, Java 8 Update 91, and Ubooquity 1.10.1.

Under review

This error is caused by a network issue (the "peer" being the external browser sending requests to Ubooquity).

It happens when the connection is lost during a transfer or when the browser cancels it.


Since this is network related, it should affect both books and comics. I don't know why they behave differently.

It's perhaps due to the fact that book chapters are much smaller files that comic pages.


Do you have the same problem when downloading the full book/comic instead of reading it online ?

If you do, this is really a network issue.

Downloading also seems broken, a .cbz downloads, but it only contains one file, and said file is corrupted anyway. A little further testing with books, text streams, pictures do not, downloads for books don't even download a broken file, I just get a "ERR_EMPTY_RESPONSE" in chrome. I'll try to investigate my own network more to figure out what's going on.

Not a bug

Yes, very likely a network issue.

Did you get any further with this? I am getting the same error message. I've only added comics to the database. 'ComicViewer for Ubooquity' works fine, but 'Challenger Viewer' does not.