hashicorp-vault - 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 denied
问题描述
我无法连接到价值。这是错误日志:
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
有人知道为什么我无法连接到保险库吗?
解决方案
如果您使用任何 CNI。检查全球网络策略。
推荐阅读
- npm - package.json 文件中的符号 @^ 是什么意思
- html - 如何将一个 div 平均居中到另一个 div 中?
- laravel - Laravel 复制记录并使用用户 ID 复制
- git - PR 后在开发分支中处理变基
- markdown - ```t.test(Boston$medv)``` 的 $ 导致 Jupyter 降价单元格中的一些问题
- python - How would one write a regex command to convert string to datetime format in python?
- python - 如何使用 4 个点创建多边形?
- animation - How to make a typing effect in vuejs
- python - Neural network guesing "3" everytime after being trained
- c# - <= 和 >= 用于浮点类型时的性能