This question is answered.


Permlink Replies: 14 - Pages: 1 - Last Post: 4 Aug 23, 14:15 Last Post By: davidekholm
svensson

Posts: 9
Registered: 19-May-2010
"Read end dead" Issue
Posted: 25 Jun 22, 13:20
 
  Click to reply to this thread Reply
Hi,
i am constantly running into to this error when uploading.

java.io.IOException: Read end dead
at java.base/java.io.PipedInputStream.checkStateForReceive(Unknown Source)
at java.base/java.io.PipedInputStream.receive(Unknown Source)
at java.base/java.io.PipedOutputStream.write(Unknown Source)
at java.base/java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.base/java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at java.base/java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
at se.datadosen.jalbum.UploadBean.uploadZipEntry(UploadBean.java:1065)
at se.datadosen.jalbum.UploadBean.uploadFilesZipped(UploadBean.java:1161)
at se.datadosen.jalbum.UploadBean.uploadAlbum(UploadBean.java:888)
at se.datadosen.jalbum.JPublishWizard$PublishStep$19.run(JPublishWizard.java:2053)

It seems to happen at the time of Manifest writing.
I have tried deleting the Manifest file too, but it still happen.
I am using Tiger and i have to say that i am uploading Videos, so i do have large files.
I can restart the upload (Smart uploaded) and it will then maybe take a new file...
But then maybe not and i can try again, and again, and again....... And with about 70GB it is taken some time.
Does anyone have an idea how to solve this? Use another skin?

Torbeli
JeffTucker

Posts: 8,374
Registered: 31-Jan-2006
Re: "Read end dead" Issue
Posted: 25 Jun 22, 13:31   in response to: svensson in response to: svensson
Helpful
  Click to reply to this thread Reply
The skin makes no difference. Once the album has been created, the skin's job is finished. The skin doesn't do the upload.

If you're getting this message while uploading to jalbum.net, that would indicate a server error. Anders will need to investigate.

But you may just have a very poor internet connection, and the jAlbum app can do only so much to compensate for that.
RobM

Posts: 3,944
Registered: 4-Aug-2006
Re: "Read end dead" Issue
Posted: 25 Jun 22, 15:30   in response to: svensson in response to: svensson
Helpful
  Click to reply to this thread Reply
It might be worth changing the maximum simultaneous transfers to see if it helps.
JeffTucker

Posts: 8,374
Registered: 31-Jan-2006
Re: "Read end dead" Issue
Posted: 25 Jun 22, 15:36   in response to: RobM in response to: RobM
Correct
  Click to reply to this thread Reply
If you're using zip-streaming, that won't make any difference. With zip-streaming, there is only one connection made, because there's only one file being transferred (the whole album, zipped up).
svensson

Posts: 9
Registered: 19-May-2010
Re: "Read end dead" Issue
Posted: 25 Jun 22, 17:02   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Hi,
It actually appears at a time where it tries to save the Manifest. At least that is last seen in the popup.
My internet connection is basicly ok. I have an upload speed at aroudn 2.8 MB/s

Torben
svensson

Posts: 9
Registered: 19-May-2010
Re: "Read end dead" Issue
Posted: 25 Jun 22, 17:03   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Hi,
that will then be my next try. I Will try first with not doing the ZIP which might be slower.
Torben
svensson

Posts: 9
Registered: 19-May-2010
Re: "Read end dead" Issue
Posted: 25 Jun 22, 17:03   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Hi,
will try not doing Zip....
Torben
svensson

Posts: 9
Registered: 19-May-2010
Re: "Read end dead" Issue
Posted: 25 Jun 22, 21:35   in response to: svensson in response to: svensson
 
  Click to reply to this thread Reply
Hi All ,
After I told it not to use ZIP it seems to run through with no problems.
So in case nobody changed anything on the server, then I think that not using ZIP was the solution.
Thanks for your help, all of you.
Torben
JeffTucker

Posts: 8,374
Registered: 31-Jan-2006
Re: "Read end dead" Issue
Posted: 25 Jun 22, 21:41   in response to: svensson in response to: svensson
 
  Click to reply to this thread Reply
Glad it's worked out, but this is one for Anders. Zip-streaming is almost always much faster, and should work flawlessly on the jalbum.net hosting servers. Time to plunge into some server logs. :(
AnCa

Posts: 447
Registered: 25-Mar-2005
Re: "Read end dead" Issue
Posted: 25 Jun 22, 23:27   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Glad it's worked out, but this is one for Anders. Zip-streaming is almost always much faster, and should work flawlessly on the jalbum.net hosting servers. Time to plunge into some server logs. :(
Yes, I will....
JeffTucker

Posts: 8,374
Registered: 31-Jan-2006
Re: "Read end dead" Issue
Posted: 25 Jun 22, 23:31   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
You get to do all the fun stuff.
AndreWolff

Posts: 1,158
Registered: 14-Dec-2007
Re: "Read end dead" Issue
Posted: 3 Aug 23, 21:27   in response to: AnCa in response to: AnCa
 
  Click to reply to this thread Reply
I could upload my album without problems to https://andrewolff.jalbum.net/PS_Test/ but when I tried to upload it to https://andrewolff.jalbum.net/Test_PS/ I got several times this crash:
	java.io.IOException: Read end dead
	at java.base/java.io.PipedInputStream.checkStateForReceive(Unknown Source)
	at java.base/java.io.PipedInputStream.receive(Unknown Source)
	at java.base/java.io.PipedOutputStream.write(Unknown Source)
	at java.base/java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
	at java.base/java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
	at java.base/java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
	at se.datadosen.jalbum.UploadBean.uploadZipEntry(UploadBean.java:1064)
	at se.datadosen.jalbum.UploadBean.uploadFilesZipped(UploadBean.java:1160)
	at se.datadosen.jalbum.UploadBean.uploadAlbum(UploadBean.java:878)
	at se.datadosen.jalbum.JPublishWizard$PublishStep$19.run(JPublishWizard.java:2062)
davidekholm

Posts: 3,567
Registered: 18-Oct-2002
Re: "Read end dead" Issue
Posted: 4 Aug 23, 13:55   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Try restarting your router. I don't think this problem is project specific. Some network problem has caused the connection to jAlbum's server to go down during upload.
AndreWolff

Posts: 1,158
Registered: 14-Dec-2007
Re: "Read end dead" Issue
Posted: 4 Aug 23, 14:04   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
After some retries I could.upload the album
davidekholm

Posts: 3,567
Registered: 18-Oct-2002
Re: "Read end dead" Issue
Posted: 4 Aug 23, 14:15   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
AndreWolff wrote:
After some retries I could.upload the album

Try restarting the router. Also, run a network quality test for some hours, just to see how your uptime is (hint, run ping and pass the result to a file)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums