Hello everyone, I'm encountering an issue with Ory...
# talk-keto
e
Hello everyone, I'm encountering an issue with Ory where, sometimes when calling the check API, I receive an error message similar to the following:
time=2023-03-21T20:49:20Z level=error msg=failed to look up direct access in db audience=application error=map[message:write failed: write tcp {IP}:49656->{IP}:5432: write: broken pipe] method=checkDirect service_name=Ory Keto service_version=master
time=2023-03-21T20:49:20Z level=error msg=An error occurred while handling a request audience=application error=map[message:unable to fetch records: write failed: write tcp 10.23.25.105:46334->172.20.213.42:5432: write: broken pipe]
I'm wondering if this error is related to my maximum connection timeout, as it seems to be timing out. Should I add retry logic while reading from db to the code if I encounter an error? Currently, I'm using Postgres with default configurations and haven't added any new parameters. Can you please suggest any configuration changes that might resolve this issue? Thanks
s
Same for all Ory software