Windows客户端同步大文件(2gb)失败

客户端版本:5.1.2
服务端版本:5.1.3,Ubuntu14.04 64位
apache2.4.7 开启了https及webdav功能。通过浏览器可以正常上传大文件(2gb),但是通过客户端就不行了。客户端的 applet.log 和 ccnet.log.也没有发现有error出现
客户端的日志文件出现的错误如下:

[06/13/16 18:05:59] sync-mgr.c(728): Repo '归档不同步资料' sync state transition from uploading to 'error': 'Error occured in upload.'.
[06/13/16 18:05:59] sync-mgr.c(660): Repo '归档不同步资料' sync state transition from 'synchronized' to 'uploading'.
[06/13/16 18:05:59] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[06/13/16 18:05:59] http-tx-mgr.c(1012): Transfer repo '5e837a28': ('normal', 'init') --> ('normal', 'check')
[06/13/16 18:05:59] http-tx-mgr.c(1012): Transfer repo '5e837a28': ('normal', 'check') --> ('normal', 'commit')
[06/13/16 18:05:59] http-tx-mgr.c(1012): Transfer repo '5e837a28': ('normal', 'commit') --> ('normal', 'fs')
[06/13/16 18:05:59] http-tx-mgr.c(1012): Transfer repo '5e837a28': ('normal', 'fs') --> ('normal', 'data')
[06/13/16 18:06:31] http-tx-mgr.c(3017): Bad response code for PUT https://sf.tofucloud.cn/seafhttp/repo/5e837a28-0629-4d80-be2b-746c092977bf/block/d95a6d60bc5deb91031c0bcee3ce8db90a9fcb4e: 0.
[06/13/16 18:06:31] http-tx-mgr.c(842): libcurl failed to PUT https://sf.*.cn/seafhttp/repo/5e837a28-0629-4d80-be2b-746c092977bf/block/029c61e5d45b215dbd371ab202e55672ee0b3dc8: Operation was aborted by an application callback.
[06/13/16 18:06:31] http-tx-mgr.c(842): libcurl failed to PUT https://sf.*.cn/seafhttp/repo/5e837a28-0629-4d80-be2b-746c092977bf/block/5a0a3d1038a0acbcb124a84aa59866d308e1f05c: Operation was aborted by an application callback.
[06/13/16 18:06:31] http-tx-mgr.c(1012): Transfer repo '5e837a28': ('normal', 'data') --> ('error', 'finished')

检查过服务器硬盘空间是足够的。服务器端的seafile.log没有错误。apache.log见下文

需要检查下服务器端的 seafile.log 日志。看看有没有对应的错误信息。

服务器端的seafile.log文件无错误信息。apache.log记录了如下错误

[Mon Jun 13 18:05:58.862035 2016] [proxy_http:error] [pid 18531] [client 221.4.34.63:29587] AH01097: pass request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:05:58.951392 2016] [proxy_http:error] [pid 13851] (70008)Partial results are valid but processing is incomplete: [client 221.4.34.63:60158] AH01095: prefetch request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:05:59.020633 2016] [proxy_http:error] [pid 18699] [client 221.4.34.63:17987] AH01097: pass request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:06:31.027209 2016] [proxy_http:error] [pid 18531] [client 221.4.34.63:26747] AH01097: pass request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:06:31.153975 2016] [proxy_http:error] [pid 18030] (70008)Partial results are valid but processing is incomplete: [client 221.4.34.63:34021] AH01095: prefetch request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:06:46.528498 2016] [proxy_http:error] [pid 18813] (70008)Partial results are valid but processing is incomplete: [client 221.4.34.63:58388] AH01095: prefetch request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()
[Mon Jun 13 18:06:46.530744 2016] [proxy_http:error] [pid 18030] [client 221.4.34.63:2455] AH01097: pass request body failed to 127.0.0.1:8082 (127.0.0.1) from 221.4.34.63 ()

客户端版本:5.1.2
服务端版本:5.1.3,Ubuntu14.04 64位
apache2.4.7 开启了https及webdav功能。通过浏览器可以正常上传大文件(2gb),但是通过客户端就不行了。客户端的 applet.log 和 ccnet.log.也没有发现有error出现

我也有这个问题,在局域网同步完全没有问题,一旦通过电信的互联网,就会随机反复出现这个错误,在客户端的日志里反复出现同样的错误,而服务器端日志没有任何异常,基本无解,原来以为seafile的编码和某些“关键词”巧合被拦截,需要配置https,但现在看到https也无法解决,碰上这种情况,估计是废了。

你可以试试用 Nginx,排除下是否是 Apache 的问题。

这个BUG似乎有偶然性,同样网络环境,没做任何改动,现在又一切正常了。

换用nginx后,暂时未发现故障