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.
4 Replies
zitadel config:
config.yml only has the database configuration
implemented token caching on service users and issue doesn't happen as much but would be nice to know the root cause
Hey @Shardool! Thanks for reaching out - Let me actually loop in @adlerhurst who might be able to give you some more insight into why this is happening
Hi there
Which version of zitadel are you running?
running v2.67.2