SocketException issue

Upload core product.
Post Reply
jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

SocketException issue

Post by jmarcv »

I am not finding anything in the forums or google on this. At least, my version.

I have ONE server that will not upload. All others work fine with the same properties file.
What do I need to look at in my server config?
PHP - Apache - Linux

The error happens instantly, even on 15K files. And although I increased retry, as seen in another thread, it errors on the first try and never retries.

Any help is appreciated.


[INFO] HTTPUploadTransfer - Upload (POST) started : C:\Documents and Settings\jmv\Desktop\test images\20 pics\DSCN0125a.jpg
[ERROR] HTTPUploadTransfer - java.net.SocketException: Connection reset by peer: socket write error
[INFO] HTTPUploadTransfer - Attempt 1/8
Exception in thread "HTTPUPLOAD" java.lang.ArrayIndexOutOfBoundsException: 1
at jfileupload.transfer.client.mdesign.ProgressPanel.transferStarted(Unknown Source)
at jfileupload.transfer.client.preview.ImageProgress.transferStarted(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.transfer(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.transferAndRetry(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.processFile(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.process(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: SocketException issue

Post by jmarcv »

Solved. Apache server was configured with a keepalive timeout of 2 seconds. I increased it to the default timeout of 5 and it fixed the issue. not sure why this value was OK on other servers, but maybe this info will help someone else someday.

Post Reply