2

有人在使用 cli 搜索工件存储库时遇到以下错误吗?不时出现以下错误(大约 1 次失败,3 次成功)。有任何想法吗?

g Artifactory.
[Info:] Searching Artifactory using AQL query: items.find({"repo": "NONPROD_RPM","$or": [{"$and": [{"path": {"$match":"*"},"name":{"$match":"*"}}]}]}).include("name","repo","path","actual_md5","actual_sha1","size")
[Error:] Post ssh://artifactory.xyz.com:1339/api/search/aql: unsupported protocol scheme "ssh"
[Error:] Post ssh://artifactory.xyz.com:1339/api/search/aql: unsupported protocol scheme "ssh"
4

1 回答 1

0

您的配置文件有问题。您的 jfrog-cli.conf 文件中很可能不存在或不正确的 ssh-key-path。请尝试重命名您的 jfrog-cli.conf 文件。

mv ~/.jfrog/jfrog-cli.conf ~/.jfrog/jfrog-cli.conf.old

/opt/jfrog/jfrog rt config --url ssh://artifactory.xyz.com:1339/ --ssh-key-path /user/<latomaster>/.ssh/id_rsa
于 2017-11-24T03:29:41.477 回答