柯南用户cmd生成无效的服务器响应

时间:2018-09-21 17:07:39

标签: artifactory conan

我在Windows 7上安装了C / C ++ 6.3.3的Artifactory Community Edition,并创建了一个柯南仓库​​。在同一台机器上,我确实有柯南1.7.3。我将存储库添加到了遥控器列表中

λ conan remote add test http://localhost:8082/artifactory/api/conan/testtcc
λ conan remote list
conan-center: https://conan.bintray.com [Verify SSL: True]
conan-transit: https://conan-transit.bintray.com [Verify SSL: True]
poco: https://api.bintray.com/conan/pocoproject/conan [Verify SSL: True]
test: http://localhost:8082/artifactory/api/conan/testtcc [Verify SSL: True]

但是当我尝试添加用户时,出现此错误

λ conan user admin -r test -p                                            
Please enter a password for "admin" account:                             
ERROR: b''                                                               

Invalid server response, check remote URL and try again. [Remote: test]

1 个答案:

答案 0 :(得分:0)

谢谢@drodri,该错误消息不相关,实际上问题与柯南代理配置有关。我通过代理连接到柯南中心,而没有代理到本地远程“测试”。 添加Place可以解决此问题。 known issue