We've got a problem with Supertokens on Node. Specifically usage with Fastify. I think your default ...
r
We've got a problem with Supertokens on Node. Specifically usage with Fastify. I think your default error handler probably is not done right for Fastify (I may be mistaken). But the problem is that on token refresh, if you open a page like 2 hours of inactivity we get an error that kills the server instance completely. Here are some screenshots that I was able to collect from my colleague. Obviously, since the server dies after that, everything else stops working too throwing 500. Will try to debug further, but with the error handler that you guys provide it fails. Removing it and using a default Fastify that has internally doesn't change anything. Weirdly.
I think I may have found the issue.
Ignore it for now. I'll report back if I'll reproduce it again after possible fix.
6 Views