Hello! I have a question for OathKeeper. I have a ...
# ory-selfhosting
g
Hello! I have a question for OathKeeper. I have a go server that handle grpc requests using connectRpc. When i run the server through docker oathkeeper propagate the requests without any issues. When i run the server locally oathkeeper cannot find the server and i get the below error: With localhost and 127.0.0.1: id: "orybackendprotected" upstream: preserve_host: true url: "http://localhost:50051"
2024-09-09 19:25:43 {"audience":"application","error":{"message":"dial tcp [::1]:50051: connect: connection refused","stack_trace":"stack trace could not be recovered from error type *net.OpError"},"level":"error","msg":"http: gateway error","service_name":"ORY Oathkeeper","service_version":"v0.40.7","time":"2024-09-09T16:25:43.69882259Z"}
id: "orybackendprotected" upstream: preserve_host: true url: "http://127.0.0.1:50051"
2024-09-09 19:29:44 {"audience":"application","error":{"message":"dial tcp 127.0.0.1:50051: connect: connection refused","stack_trace":"stack trace could not be recovered from error type *net.OpError"},"level":"error","msg":"http: gateway error","service_name":"ORY Oathkeeper","service_version":"v0.40.7","time":"2024-09-09T16:29:44.159129048Z"}
never mind! found i just had to setup it as host.docker.internal :)