工件7.x-pypi代理错误



我有一个本地Pypi存储库,具有简单的默认布局。它已授予匿名读取访问权限。我正在使用此存储库来存储我的库。在从Artifactory 6.x升级到7.x之后,不可能使用pip安装任何库;它在6.x中工作。以下错误在pip install my-python-lib:上返回

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after 
connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='host', port=8081): 
Read timed out. (read timeout=30.0)")': /artifactory/api/pypi/my-python-repo/simple/my-python-lib/
Could not install packages due to an EnvironmentError: HTTPConnectionPool(host='host', port=8081): 
Max retries exceeded with url: /artifactory/api/pypi/my-python-repo/simple/my-python-lib/ (Caused by 
ReadTimeoutError("HTTPConnectionPool(host='host', port=8081): Read timed out. (read timeout=30.0)"))

设置更长的--default-timeout不起作用。

当我试图在浏览器中打开host/artifactory/api/pypi/my-python-repo/simple/my-python-lib/时,它返回以下错误(大约2分钟后(:

502代理错误代理服务器从上游服务器。代理服务器无法处理请求GET/artifactory/api/pypi/my-python-repo/simple/my-python-lib/。原因:读取远程服务器时出错

反向代理(Nginx或HTTPD(似乎是在Artifactory之上配置的,与Artifactory 6.x相比,Artifactory 7.x的配置有所不同。我建议参考这篇KB文章以获得更多见解。

最新更新