FAQ

发布时间: 更新时间: 总字数:132 阅读时间:1m 作者: IP上海 分享 网址

Consul 使用过程中的FAQ

联网版本检查

  • 现象:日志中出现如下错误
==> Failed to check for updates: Get https://checkpoint-api.hashicorp.com/v1/check/consul?arch=amd64&os=linux&signature=33c85560-784e-27cf-802d-6ae0ec8d197f&version=1.1.0: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  • 解决方式

企业版v1.0.5之后,提供了新的配置选项disable_update_check可禁止检查。或修改agent/config/flags.go源码:

      add(&f.Config.DisableUpdateCheck, "disable_update_check", "Disable consul update check.")
Home Archives Categories Tags Statistics
本文总阅读量 次 本站总访问量 次 本站总访客数