https://www.ory.sh/ logo
l

loud-keyboard-84117

02/27/2022, 8:58 AM
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

proud-plumber-24205

02/28/2022, 2:20 PM
l

loud-keyboard-84117

02/28/2022, 5:25 PM
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

proud-plumber-24205

02/28/2022, 6:08 PM
HI @User yes you can, just mount the directory where the certificates are kept when doing
docker run
l

loud-keyboard-84117

02/28/2022, 6:25 PM
Thanks @User, I'll give it a try.
2 Views