Service user fetching /oauth/v2/token timing out
Zitadel version: v2.67.2
Running 3 instances behind nginx
Hello folks,
Have been running zitadel in production for a couple of months now and am starting to issues with service users fetching tokens from zitadel timing out. This happens pretty often between successful requests.
We have about ~5 service users that will request for new tokens every 5 seconds or so with their key. We started off ok but have noticed degradation after running this setup for ~15 days. We should ideally cache the tokens but is this behavior expected?
Nginx logs:
Attaching zitadel logs for reference. Seeing unable to filter events / duplicate key violates unique constraint pretty often.
3 Replies