Errors syncing after upgrade to client version 6

Hi,

one of my customers reported problems after upgrading the Seafile client for Linux from version 5.1.x to 6.

When he tries to sync a library, the client shows »Downloading file list …« below the library name, but never gets to the next state. Instead the message disappears for a second and reappears again.

The local seafile.log contains this messages, which are repeated until the sync is stopped manually:

[11/14/16 15:14:36] http-tx-mgr.c(4130): Download with HTTP sync protocol version 1.
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'init') --> ('normal', 'check')
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'check') --> ('normal', 'commit')
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'commit') --> ('normal', 'fs')
[11/14/16 15:14:36] http-tx-mgr.c(947): libcurl failed to POST http://seafile.rlp.net/seafhttp/repo/afc5a669-624a-4196-be05-efdd8b3918cf/pack-fs/: Send failed since rewinding of the data stream failed.
[11/14/16 15:14:36] http-tx-mgr.c(4168): Failed to get fs objects for repo afc5a669 on server http://seafile.rlp.net.
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'fs') --> ('error', 'finished')
[11/14/16 15:14:36] clone-mgr.c(819): Transition clone state for afc5a669 from [fetch] to [fetch].
[11/14/16 15:14:36] http-tx-mgr.c(4130): Download with HTTP sync protocol version 1.
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'init') --> ('normal', 'check')
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'check') --> ('normal', 'commit')
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'commit') --> ('normal', 'fs')
[11/14/16 15:14:36] http-tx-mgr.c(947): libcurl failed to POST http://seafile.rlp.net/seafhttp/repo/afc5a669-624a-4196-be05-efdd8b3918cf/pack-fs/: Send failed since rewinding of the data stream failed.
[11/14/16 15:14:36] http-tx-mgr.c(4168): Failed to get fs objects for repo afc5a669 on server http://seafile.rlp.net.
[11/14/16 15:14:36] http-tx-mgr.c(1012): Transfer repo 'afc5a669': ('normal', 'fs') --> ('error', 'finished')
[11/14/16 15:14:36] clone-mgr.c(819): Transition clone state for afc5a669 from [fetch] to [fetch].

On the server Seafile Pro version 6.0.2 is installed, but the problem also occurred when the customer tried to sync a library of a Seafile CE test server.

Best regards

Thomas

The problem should be that he/she is using “http” to access the service. The server auto redirects the client to https. But that’s not properly handled by the client at the moment. Changing the address to https should resolve the issue.

Hi Jonathan,

thank you! :slight_smile:

A nice and easy solution.

Best regards

Thomas