harbor安装时出现ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value current value: 60.
问题:我们在安装harbor时,到了Step 5,提示UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
解决方法
我们按照DEBUG给出的解决方式,先增加等待时延。
export COMPOSE_HTTP_TIMEOUT=120
增加时延之后有可能会继续报错,提示分配的memory不足,我们需要提升虚拟机的内存(我这里将虚拟机内存给到了3G)并重启docker。
systemctl restart docker
问题解决!