Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

启动报错怎么解决? #12

Open
StarShangGP1 opened this issue Jun 13, 2017 · 5 comments
Open

启动报错怎么解决? #12

StarShangGP1 opened this issue Jun 13, 2017 · 5 comments

Comments

@StarShangGP1
Copy link

弹提示框: 100: Key not found (/v2) [13]
windows平台

@silenceper
Copy link
Owner

silenceper commented Jun 13, 2017

etcd 里面不存在/v2这个key

默认读取的是/config 这个目录下的key

@StarShangGP1
Copy link
Author

额 是哪里没配置好吗?

@silenceper
Copy link
Owner

silenceper commented Jun 13, 2017

etcd 连接正常么 ?

将 config/config.yml 中的base_path: "/config" 改为 "/" 试下

@StarShangGP1
Copy link
Author

嗯 启动了 可以访问 http://127.0.0.1:2379/v2/keys
单纯的 http://127.0.0.1:2379 访问不了的
我现在搞不清楚是哪边配置没对接好

@qqzgqq
Copy link

qqzgqq commented Dec 4, 2017

@yoke123 config.yaml最后一项endpoints中不要加v2/keys,另外此版本完美支持etcd API2版本,etcd API3目前使用有问题,可以通过export ETCDCTL_API=2将etcd API转化为2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants