win客户端同步问题


#1

我自行部署的seafile服务端指定了非常用端口,然后在客户端访问的时候可以正常连接和获取资料库,也可以正常下载,但是在同步的时候一直不能进行,查看问题日志发现:

[09/07/20 16:18:17] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:18:18] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:18:40] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:18:41] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:03] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:04] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:26] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:27] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:49] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:19:50] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:12] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:13] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:35] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:36] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:58] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in/seafhttp/protocol-version: Couldn’t connect to server.
[09/07/20 16:20:59] http-tx-mgr.c(783): libcurl failed to GET seafile.my.in:8082/protocol-version: Couldn’t connect to server.

不知道这个是不是同步的过程,但是这里请求的时候确实没有带上我配置的端口号,而我自行添加了端口号后在浏览器中进行请求(seafile.my.in:[我的端口号]/seafhttp/protocol-version),返回是正常的。所以这里同步使用的url是配置问题还是在读取配置的时候不完整?

补充一些情况,我在服务器配置页的 SERVICE_URL 和 FILE_SERVER_ROOT 都配置了带端口号的 url 地址,客户端配置的url也带了端口号,唯一没有带端口号的url是 docker-compose 文件中的 SEAFILE_SERVER_HOSTNAME ,因为服务器配置页声明了配置页的属性有更高优先级


#2

已解决,删除了本地seafile-data后使其自行重置后恢复,猜想是客户端一直在用之前配置的无效FILE_SERVER_ROOT

建议客户端添加一个新feature:每次连接服务端的时候能同步最新的 FILE_SERVER_ROOT


#3

请问可以不使用8082端口来进行文件的上传下载吗?按照官方文档的说法,这个8082端口不可以改。