安装harbor的时候,harbor.cfg hostname已经修改成本机ip
来源:1-6 向集群加入worker节点
极客不忙
2019-02-21
一下是报错内容,2天了,还没有找到原因,希望能解答的老师 or 同学 留下联系方式 谢谢
ERROR: for registry UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for harbor-db UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for redis UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for harbor-adminserver UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for adminserver UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for redis UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for registry UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
ERROR: for mysql UnixHTTPConnectionPool(host=‘localhost’, port=None): Read timed out. (read timeout=60)
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).
1回答
-
tonybai
2019-02-21
亲,问一下上面的错误日志是从哪里或怎么获取的?“port=None”是不是端口没有指定啊?将hostname=ip:port这么设置试试,注意docker-compose down 后,再docker-compose up才能生效。祝学习愉快!
022019-02-21
相似问题