- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 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
,然后将此配置放在文档建议的所有位置,但这并没有产生任何区别(但是否是因为它没有解决问题,或者它没有被拾取 - 我不确定)。
最佳答案
使用 SVNKit 支持 Subversion - Jenkins、Fisheye、Crucible 等的产品可能会出现此错误 E175002: CRLF Expected at end of chunk: -1/-1
。该错误不应出现在svn.exe、TortoiseSVN 或 native JavaHL 库。
根据我的经验,以下解决方案可以解决该问题 - 在 SVNKit 中启用 Spooling。查看这些门票:
该错误是由 SVNKit 产生的,SVNKit 在 Jenkins 中用于启用 SVN 客户端功能。 SVNKit 是 Subversion 的单独重新实现,SVNKit 可能有自己的细节,可能会导致实际 Apache Subversion 客户端不会发生的问题或错误。我不是 SVNKit 方面的专家,但在我看来,您遇到过此类特定于 SVNKit 的问题,或者至少遇到过错误措辞。
关于Jenkins Subversion checkout 失败 - "E175002: CRLF expected at end of chunk: -1/-1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50174579/
我有一个包含“CRLF”和“LF”作为行分隔符的字符串。 我只想用“LF”(空格和LF)替换“CRLF”并保持“LF”不变。 我知道,我们可以使用正则表达式来做到这一点,但我已经从现有的答案中尝试了一
我需要将所有新行分隔符更改为\r\n。在字节表中有一些\r 和一些\r\n byte[] data = (byte[])transformedToByteObject; 数据包含该字节,但我不知道如何
在 Veracode 报告中,我在一些 java 文件中收到错误 CWE 93。在静态扫描实例中,一些代码是 MimeMessage msg = new MimeMessage(session); m
这段代码: InternetAddress[] myAdrs = getAdrs(message.getToAddresses()); for (int i = 0; i Impro
我一直在尝试使用 openssl 与 smtp.gmail.com 端口 587 或 465 建立连接:openssl s_client -主机 smtp.gmail.com -端口 587 -sta
我有一个 PHP 文件,需要对其进行简单的文本更改。我使用FTP从linux服务器复制到我的Win7机器。我用 Notepad++ 打开它,打开-查看-显示符号-查看所有字符-我可以在每行前后看到CR
我们有一个数据源,它向我们发送我们需要自动导入到我们系统中的文件,但在某些记录的一个或两个字段中,这些文件中经常存在以额外 CRLF 形式出现的错误数据。该文件是一个 CSV 格式文件,最初我以为我已
我编写了一个小程序,它将多段字符串作为参数上传。当我在 Netbeans 中测试它时,它保留了 CRLF,但是当我在应用程序中实时部署它时,它会丢弃它们为什么会发生这种情况以及我该怎么办? 最佳答案
我有一个文件,我想读取每一行的字符串。如果该行不以 CRLF (\r\n) 结尾,我想打印一些内容。我通过重定向打印命令的输出来创建此文件,如下所示。 System.out.println("Test
我不知道在发送正文的所有字节后我是否应该发送下一条消息而不用 CRLF 将第一条消息的正文分隔到第二条消息的起始行。 这是根据 RFC 7230 的语法: HTTP-message = star
使用 StringBuilder 并在我的字符串中使用 Environment.NewLine,当我打开它时它显示为 CRLF,C# 中是否有其他命令输出仅显示为“LF”而不是“CRLF”? 最佳答案
我得到了一个带有 HTTP 请求内容的字符串流。如您所知,HTTP 请求以 CRLF 中断结束。但是 operator>> 不会将 CRLF 识别为正常的文件结尾。我怎样才能检测到这个 CRLF 中断
我想在我的项目中确保 CRLF(Windows 风格)行分隔符。我正在检查一些替代方案,但不确定哪一个是最好的。 期望的行为: 如果文件不是 CRLF,则 IntelliJ IDEA 显示在底部: 我
目标是使用批处理脚本执行以下操作: 从 Windows 机器中提取主机名。 在主机名值(从第 1 步获得)上应用 sha256 哈希。 我的系统主机名是:W0000000000ZQ 我的批处理脚本如下
我是 VBScript 新手。我正在尝试编写一个函数来识别打印行中是否有 CRLF。你能帮我吗? 谢谢 最佳答案 您可以简单地使用result = Instr(yourString, vbCRLF)。
这个简单的解析器预计会解析以下形式的消息 key: value\r\nkey: value\r\n\r\nkey: value\r\nkey: value\r\n\r\n 一个 EOL 作为字段分隔符
我有一个 lua 文件。它读取 2 个文件,一个“脚本”文件,一个“源”文件。 lua文件解释脚本文件并用脚本文件中的一些指令更改源文件(在内存中)。然后将此修改后的源输出到输出文件中。在 CR 之前
我试图强制我的 spring 批处理始终使用 CR-LF[EDIT] 作为行分隔符来写入文件,而不管底层系统如何。 我试图使用 FlatFileItemWriter 的 setLineSeperato
如何从一组数据中解析出不需要的字符? 我正在使用 Windows 应用程序的现有 VB.NET 代码,该应用程序使用 StreamWriter 和 Serializer 来输出交易数据的 XML 文档
实现这一点的简单方法是: import re re.split(r'(?:\r\n|\r|\n){2}', '...') 但是: >>> re.split(r'(?:\r\n|\r|\n){2}',
我是一名优秀的程序员,十分优秀!