【发布时间】:2020-11-24 01:56:18
【问题描述】:
我有一个 Jenkins v2.107.2 实例(作为 Windows 服务运行),它通过 Subversion 从 Visual SVN 服务器(在单独的 Windows PC 上)检查多个项目。
其中一个项目(最大 - ~2.7GB)偶尔会出现,但在尝试结帐时始终失败并出现以下错误:
ERROR: Failed to check out https://example.com/myrepo
org.tmatesoft.svn.core.SVNException: svn: E175002: CRLF expected at end of chunk: -1/-1
svn: E175002: REPORT request failed on '/svn/REPO/!svn/vcc/default'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
另外,在查看Visual SVN Server的日志时,可以看到如下:
Error writing base64 data: The timeout specified has expired [500, #70007]
A failure occurred while driving the update report editor [500, #70007]
Provider encountered an error while streaming a REPORT response. [500, #0]
以前,通过某个版本将 Jenkins 和 Subversion 插件降级的某种组合解决了此错误,但尽管此后没有更改版本,但这不再有效。
从网上看,Subversion 似乎内置了某种超时,如果超过一定时间,请求将被终止。但是,这些说明都提到了应该在 %APPDATA%\Roaming 中的 Subversion 配置,而我似乎没有。
Jenkins Subversion documentation 建议 C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming,但我还是什么都没有。
我已经安装了 TortoiseSVN,它确实创建了 Subversion 配置文件夹。我已经修改了http-timeout,然后将此配置放在文档建议的所有位置,但这并没有任何区别(但无论是因为它没有解决问题,还是没有被拾取 -我不确定)。
【问题讨论】:
标签: jenkins svn visualsvn-server