Connection reset by peer: socket write error Connection reset by peer: socket write error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Connection reset by peer: socket write error

Started by Arcon, June 06, 2009, 10:54:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Arcon

Hy Etienne,

when uploading several pictures e.g. 50 with around 2MB the applet stops with this error message: Connection reset

Here is the Log:

QuoteAn error occured in JUpload applet, for the user Cecil (no user information).
Here is the debug output for his session within the applet:
10:52:42.656 [INFO] JUpload applet started, with wjhk.jupload2.policies.CoppermineUploadPolicy upload policy
10:52:42.656 [INFO] Debug level set to 0
10:52:42.656 [WARN] Invalid int value: true, using default value: 0
10:52:42.656 [WARN] DefaultUploadPolicy.setCurrentBrowsingDirectory():  doesn't exist.
10:52:42.796 [INFO] JUpload applet, version 4.3.2 [SVN-Rev: 735] (compiled: 05/05/2009 11:28 AM), available at http://jupload.sourceforge.net/
10:52:42.796 [INFO] maxFileSize: 10240000
10:52:43.062 [INFO] JUploadApplet is now started.
10:53:45.421 [WARN] Invalid int value: , using default value: 0
10:57:41.218 [INFO] Debug level set to 1
10:57:41.218 [INFO] JUpload applet, version 4.3.2 [SVN-Rev: 735] (compiled: 05/05/2009 11:28 AM), available at http://jupload.sourceforge.net/
10:57:41.218 [DEBUG] debugLevel: 1
10:57:41.218 [INFO] maxFileSize: 10240000
10:57:41.218 [ERROR] [wjhk.jupload2.exception.JUploadException:java.net.SocketException] Connection reset (java.net.SocketException: Connection reset)
10:57:41.218 wjhk.jupload2.exception.JUploadException: java.net.SocketException: Connection reset
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:184)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.readHttpResponse(HTTPConnectionHelper.java:685)
10:57:41.218    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:163)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:576)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
10:57:41.218 Caused by: java.net.SocketException: Connection reset
10:57:41.218    at java.net.SocketInputStream.read(Unknown Source)
10:57:41.218    at java.net.SocketInputStream.read(Unknown Source)
10:57:41.218    at java.io.FilterInputStream.read(Unknown Source)
10:57:41.218    at java.io.PushbackInputStream.read(Unknown Source)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readLine(HTTPInputStreamReader.java:278)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readLine(HTTPInputStreamReader.java:239)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHeaders(HTTPInputStreamReader.java:360)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:171)
10:57:41.218    ... 5 more
10:57:41.218 Caused by:
10:57:41.218 java.net.SocketException: Connection reset
10:57:41.218    at java.net.SocketInputStream.read(Unknown Source)
10:57:41.218    at java.net.SocketInputStream.read(Unknown Source)
10:57:41.218    at java.io.FilterInputStream.read(Unknown Source)
10:57:41.218    at java.io.PushbackInputStream.read(Unknown Source)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readLine(HTTPInputStreamReader.java:278)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readLine(HTTPInputStreamReader.java:239)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHeaders(HTTPInputStreamReader.java:360)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:171)
10:57:41.218    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.readHttpResponse(HTTPConnectionHelper.java:685)
10:57:41.218    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:163)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:576)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
10:57:41.218    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
11:01:51.593 [INFO] Sending debug information to http:
11:01:53.453 [INFO] debug information sent correctly
11:01:55.062 [DEBUG] Action : Hochladen
11:10:34.125 [ERROR] [wjhk.jupload2.exception.JUploadIOException:java.net.SocketException] Connection reset by peer: socket write error (wjhk.jupload2.upload.UploadFileData.uploadFile())
11:10:34.125 wjhk.jupload2.exception.JUploadIOException: wjhk.jupload2.upload.UploadFileData.uploadFile()
11:10:34.125    at wjhk.jupload2.upload.UploadFileData.uploadFile(UploadFileData.java:210)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:550)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
11:10:34.125 Caused by: java.net.SocketException: Connection reset by peer: socket write error
11:10:34.125    at java.net.SocketOutputStream.socketWrite0(Native Method)
11:10:34.125    at java.net.SocketOutputStream.socketWrite(Unknown Source)
11:10:34.125    at java.net.SocketOutputStream.write(Unknown Source)
11:10:34.125    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
11:10:34.125    at java.io.BufferedOutputStream.write(Unknown Source)
11:10:34.125    at java.io.DataOutputStream.write(Unknown Source)
11:10:34.125    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.append(HTTPConnectionHelper.java:588)
11:10:34.125    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.write(HTTPConnectionHelper.java:852)
11:10:34.125    at wjhk.jupload2.upload.UploadFileData.uploadFile(UploadFileData.java:205)
11:10:34.125    ... 3 more
11:10:34.125 Caused by:
11:10:34.125 java.net.SocketException: Connection reset by peer: socket write error
11:10:34.125    at java.net.SocketOutputStream.socketWrite0(Native Method)
11:10:34.125    at java.net.SocketOutputStream.socketWrite(Unknown Source)
11:10:34.125    at java.net.SocketOutputStream.write(Unknown Source)
11:10:34.125    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
11:10:34.125    at java.io.BufferedOutputStream.write(Unknown Source)
11:10:34.125    at java.io.DataOutputStream.write(Unknown Source)
11:10:34.125    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.append(HTTPConnectionHelper.java:588)
11:10:34.125    at wjhk.jupload2.upload.helper.HTTPConnectionHelper.write(HTTPConnectionHelper.java:852)
11:10:34.125    at wjhk.jupload2.upload.UploadFileData.uploadFile(UploadFileData.java:205)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:550)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
11:10:34.125    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
11:16:45.000 [INFO] Sending debug information to http://


Any suggestions for me to solve that issue?
Happens on different PCs (WinXP) with different Browsers!

JUpload 3.5.1 running on cpg v1.4.24 with PHPBB3 Bridge

greetings going on
Arcon

etienne_sf

The problem is on server side.

  But it probably depends more on the web server itself, than on my code.

Can you post the full debug for further analysis ?

Etienne

Arcon


etienne_sf

Hum, hum,

  Thanks to your log, it appears that :
- The error comes immediatly when it tries to read the server response, and not at the end as I expected.
- You're using IE 8 (correct ?) I didn't test the applet with it.

Can you try with another navigator ?

Etienne