The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
I'm running stress tests against Kratos. With only a few users (~10), the "login with code" step fails fairly often. It looks like a concurrency issue.
Reproducing the bug
It's too much effort to build a reproducer to share, so please ask me if you can't spot the problem without one.
Oh, wait, only now I see database is locked stack_trace and handleSqlite. I'm testing locally, using SQL Lite. Which, of course, is not expected to be stable.
Preflight checklist
Ory Network Project
No response
Describe the bug
I'm running stress tests against Kratos. With only a few users (~10), the "login with code" step fails fairly often. It looks like a concurrency issue.
Reproducing the bug
It's too much effort to build a reproducer to share, so please ask me if you can't spot the problem without one.
Relevant log output
Relevant configuration
No response
Version
1.2.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
Another exception that appears often: