cloudposse / cloudposse/github-authorized-keys

ETCDCache Storage: Connection failed

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
146
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I'm trying to integrate github-authorized-keys with bastion. It's working without the etcd caching. When I enable caching I get the following error (it still works just the key is always requested from github):
```
{"class":"ETCDCache","level":"error","method":"Set","msg":"Storage: Connection failed","time":"2020-04-03T20:04:22Z"}
```
etcd is installed on the host Ubuntu 18.04 and is visible in github-authorized-keys docker when running
`docker exec -it github-authorized-keys netstat -tlpn`
output:
```
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:2380 0.0.0.0:* LISTEN -
```

Running `etcdctl --endpoints=http://localhost:2379 set foo bar` works and returns `bar`

What am I missing?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.