Cancelling...

Upload core product.
import
Posts: 169
Joined: Sun Jan 27, 2008 8:10 pm

Re: Cancelling...

Post by import »

There seems to be a timeout somewhere. It could be SSL session or firewall if you have any. You should reproduce the problem with an upload from a HTML form.

import
Posts: 169
Joined: Sun Jan 27, 2008 8:10 pm

Re: Cancelling...

Post by import »

Unfortunately we are still experiencing "broken pipe" even on regular (non https) connections.
This happens randomly, sometimes even when the file is fully transfered (ie between finalization and redirection).

I just have one question : what is the detailed technical explanation of this error message ?

Thanks

import
Posts: 169
Joined: Sun Jan 27, 2008 8:10 pm

Re: Cancelling...

Post by import »

The socket has been closed. It could be server or a any network device (router, firewall, ...).
In release 2.0, there is a "retry" parameter allowing to restart current upload when it fails. It may help.

vlad
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm

Re: Cancelling...

Post by vlad »

I'm having the same issue. Could you please have a look at this log, perhaps you can notice some problem:

Code: Select all

[DEBUG] header - >> "POST /download/? HT*TP/1.1[\r][\n]"
[DEBUG] Ht*tpMethodBase - Adding Host request header
[DEBUG] header - >> "User-Agent: JFileUpload[\r][\n]"
[DEBUG] header - >> "Host: mysite.com[\r][\n]"
[DEBUG] header - >> "Cookie: $Version=0; language=german; $Path=/[\r][\n]"
[DEBUG] header - >> "Content-Length: 2096654[\r][\n]"
[DEBUG] header - >> "Content-Type: multipart/form-data; boundary=AY4p-tSTgqe2ys1cdU-IDyVBtPsvPR57jfCxmp[\r][\n]"
[DEBUG] header - >> "[\r][\n]"
[DEBUG] EntityEnclosingMethod - Request body sent
[DEBUG] header - << "HT*TP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "HT*TP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "Date: Tue, 09 Jun 2009 19:31:06 GMT[\r][\n]"
[DEBUG] header - << "Server: Apache/2.2.11 (FreeBSD) mod_hcgi/0.6.0 mod_ssl/2.2.11 OpenSSL/0.9.8g DAV/2[\r][\n]"
[DEBUG] header - << "X-Powered-By: PHP/5.2.9[\r][\n]"
[DEBUG] header - << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
[DEBUG] header - << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
[DEBUG] header - << "Pragma: no-cache[\r][\n]"
[DEBUG] header - << "Transfer-Encoding: chunked[\r][\n]"
[DEBUG] header - << "Content-Type: text/plain[\r][\n]"
[DEBUG] header - << "[\r][\n]"
[INFO] HT*TPUploadTransfer - Upload Status code = 200
[WARN] Ht*tpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
[DEBUG] Ht*tpMethodBase - Buffering response body
[DEBUG] header - << "[\r][\n]"
[DEBUG] Ht*tpMethodBase - Resorting to protocol version default close connection policy
[DEBUG] Ht*tpMethodBase - Should NOT close connection, using HT*TP/1.1
[DEBUG] Ht*tpConnection - Releasing connection back to connection manager.
[INFO] HT*TPUploadTransfer - Upload completed
[INFO] HT**TPUploadTransfer - Split started 229/1651
[INFO] HT*TPUploadTransfer - Split completed 229/1651
[INFO] HT*TPUploadTransfer - Upload (POST) started : /SomeFile.zip
[DEBUG] header - >> "POST /download/? HT*TP/1.1[\r][\n]"
[DEBUG] H*ttpMethodBase - Adding Host request header
[DEBUG] header - >> "User-Agent: JFileUpload[\r][\n]"
[DEBUG] header - >> "Host: mysite.com[\r][\n]"
[DEBUG] header - >> "Content-Length: 2096654[\r][\n]"
[DEBUG] header - >> "Content-Type: multipart/form-data; boundary=swfAcbAVuIgOGlz4RJ8QsMWK8DMjVGxVXRilGS[\r][\n]"
[DEBUG] header - >> "[\r][\n]"
[DEBUG] H*ttpMethodDirector - Closing the connection.
[DEBUG] H*ttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted
[DEBUG] Ht*tpConnection - Releasing connection back to connection manager.
[ERROR] HT*TPUploadTransfer - java.net.SocketException: Broken pipe
[ERROR] HTT*PUploadTransfer - jfileupload.transfer.client.core.ClientException: java.net.SocketException: Broken pipe
[INFO] H*TTPUploadTransfer - Upload failed
<<< ProxyClassLoader: defined LiveConnectProxy class. >>>
<<< Here're the permissions you've got: >>>
<<< java.security.Permissions@5f2e74 (
 (java.net.SocketPermission mysite.com connect,accept,resolve)

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Cancelling...

Post by support »

The connection is cut. Could you try to add "retry" parameter too ?
<PARAM NAME="retry" VALUE="5">

Post Reply