安装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才能生效。祝学习愉快!

0
2
tonybai
回复
极客不忙
课程中用的是v1.5.3 ,链接地址:https://storage.googleapis.com/harbor-releases/harbor-offline-installer-v1.5.3.tgz
2019-02-21
共2条回复

Kubernetes实战 高可用集群搭建,配置,运维与应用

以生产为目标,原理+操作, Kubernetes结合典型云原生应用

794 学习 · 196 问题

查看课程