【问题标题】:Unable to connect to Vault Error unsealing: Put "https://127.0.0.1:8200/v1/sys/unseal": dial tcp 127.0.0.1:8200: connect: connection refused无法连接到 Vault 错误解封:输入“https://127.0.0.1:8200/v1/sys/unseal”:拨打 tcp 127.0.0.1:8200:连接:连接被拒绝
【发布时间】:2021-10-25 10:54:44
【问题描述】:

我无法连接到价值。这是错误日志:

default: 
 
 Error! Failed writing data: Put
"http://127.0.0.1:8500/v1/kv/cobalt/cluster/status": dial tcp
 127.0.0.1:8500: connect: connection refused
    default: Checking and intializing vault if needed
    default: Error initializing: Put "https://127.0.0.1:8200/v1/sys/init": dial tcp 127.0.0.1:8200:
 connect: connection refused
   default: Unseal Key (will be hidden):
     default: An error occurred attempting to ask for an unseal key. The raw error message
    default: is shown below, but usually this is because you attempted to pipe a value
   default: into the unseal command or you are executing outside of a terminal (tty). You
   default: should run the unseal command from a terminal for maximum security. If this
    default: is not an option, the unseal key can be provided as the first argument to the
    default: unseal command. The raw error was:  file descriptor 0 is not a terminal

当我尝试运行 echo VAULT_ADDR 时,我得到了这个:https://127.0.0.1:8200

有人知道为什么我无法连接到保管库吗?

【问题讨论】:

  • 您的保管库服务器尚未初始化。共享配置文件以及您如何启动 Vault 服务器。

标签: hashicorp-vault vault hashicorp


【解决方案1】:

如果您使用任何 CNI。检查全球网络政策。

【讨论】:

    猜你喜欢
    • 2022-01-16
    • 1970-01-01
    • 2020-02-21
    • 2019-12-12
    • 2018-12-26
    • 2019-12-25
    • 1970-01-01
    • 2021-07-31
    • 2020-11-22
    相关资源
    最近更新 更多