我正在尝试使用 jfrog cli 将包从一个位置复制到另一个位置,例如:
jfrog rt cp 第一名/app/1.0.123/第二名/
我收到错误:
[Info] Searching artifacts...
[Error] Artifactory response: 308 Permanent Redirect
<html>
<head><title>308 Permanent Redirect</title></head>
<body>
<center><h1>308 Permanent Redirect</h1></center>
<hr><center>nginx</center>
</body>
</html>
{
"status": "success",
"totals": {
"success": 0,
"failure": 0
}
}
网络上的应用程序 URL 未更改。不久前它曾经工作得很好。知道可能是什么问题吗?
最佳答案
我们昨天刚刚处理了类似的问题,将 NPM 包发布到 Artifactory。对于我们来说,问题在于 http 与 https。不确定您的配置设置为什么,但可能值得检查它是否设置为 https。
关于jfrog-cli - 在 Linux 上使用 JFROG CLI 工具时获取 :"Artifactory response: 308 Permanent Redirect",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59344680/