请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

安装harbor的时候,harbor.cfg hostname已经修改成本机ip

一下是报错内容,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).

正在回答 回答被采纳积分+3

1回答

tonybai 2019-02-21 18:37:31

亲,问一下上面的错误日志是从哪里或怎么获取的?“port=None”是不是端口没有指定啊?将hostname=ip:port这么设置试试,注意docker-compose down 后,再docker-compose up才能生效。祝学习愉快!

0 回复 有任何疑惑可以回复我~
  • 提问者 极客不忙 #1
    ./install.sh  执行后 页面上返回的信息, harbor.cfg  中 hostname=IP:port  没有办法加  这个只是 用来访问的名字,不是 某个服务 ip和端口, 你安装的是那个版本, 方便贴下链接? 我安装的是harbor1.7
    回复 有任何疑惑可以回复我~ 2019-02-21 18:43:58
  • tonybai 回复 提问者 极客不忙 #2
    课程中用的是v1.5.3 ,链接地址:https://storage.googleapis.com/harbor-releases/harbor-offline-installer-v1.5.3.tgz
    回复 有任何疑惑可以回复我~ 2019-02-21 23:34:18
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信