由于没有缓存文件而出现错误,并且在尝试从 jfrog ui 甚至服务器级别下载工件时也无法使用 sha1 保存文件。
artifactory-service.log 文件如下所示
无法下载“https://repo1.maven.org/maven2/org/springframework/session/spring-session-bom/2020.0.6/spring-session-bom-2020.0.6.pom”。收到状态代码 200 并捕获异常:无法使用 sha1 持久保存文件:ea3f628faytuygvhb765755e1ea65f91fdae52a0 2024-04-25T07:14:24.278Z [jfrt] [错误] [3cbed23bd0e8e025] [o.a.r.v.i.PomInterceptor:133] [ttp-nio-8081-exec-10] - 无法使用 sha1 保存文件: ea3f628faytuygvhb7657 55e1ea65f91fdae52a0 2024-04-25T07:14:24.694Z [jfrt] [INFO] [6f80857ee213b378] [o.a.r.HttpRepo:464] [http-nio-8081-exec-6] - repo1下载https://repo1.maven.org/ maven2/org/springframework/session/spring-session-bom/2020.0.6/spring-session-bom-2020.0.6.pom 2.66 KB
如有任何帮助,我们将不胜感激。
提前致谢!
可能原因:
Disk Space Issues: JFrog Artifactory might be running out of disk space to store the downloaded file.
Permission Issues: The user running JFrog Artifactory might not have permission to write to the storage location.
File Corruption: There could be a temporary issue causing file corruption during the persistence process.
故障排除步骤:
其他资源:
通过执行这些步骤并参考资源,您应该能够确定“无法使用 sha1 保存文件”错误的根本原因,并解决在 JFrog Artifactory 中下载工件的问题。