Hi <#C012RBW0F18|hydra>, I'm getting this error wh...
# talk-hydra
l
Hi #hydra, I'm getting this error when I do request to token api
/oauth2/token
.
Copy code
2022/02/27 08:36:27 http2: server: error reading preface from client ___.___.__.___:_____: read tcp 172.19.0.2:4444->___.___.__.___:_____: i/o timeout
2022/02/27 08:36:28 http: TLS handshake error from ___.___.__.___:_____: EOF
2022/02/27 08:36:29 http2: server: error reading preface from client ___.___.__.___:_____: read tcp 172.19.0.2:4445->___.___.__.___:_____: i/o timeout
I've removed the ip from logs. Kratos is running on 127.0.0.1:3000 and OAuth2 client on 127.0.0.1:8080 and hydra running on aws ec2. Is this because of no SSL on hydra(ec2 server) or local kratos/client? what can be workaround here?
p
l
gotcha! Thanks @User, Though may you tell me if it's possible to add certificate and config files with using the docker images instead of docker compose?
p
HI @User yes you can, just mount the directory where the certificates are kept when doing
docker run
l
Thanks @User, I'll give it a try.