You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
In version 2.10.0 we added the #564 new refresh token algorithm which uses setInterval. From some docs online it looks like a running setInterval will instruct NodeJS to never stop the process.
Activity
soedirgo commentedon Jan 28, 2023
Thanks for reporting this. Can you double check that it works in v2.4.0? I can reproduce the issue as far back as v2.0.0 - it works on v1.
I was also able to narrow this down to gotrue-js client constructor - can you reproduce the issue with this example?
bhvngt commentedon Jan 30, 2023
@soedirgo I could reproduce the issue with the example.
Here's the repo where on running
gotrue.js, it hangs.I have noticed that this happens when
gotrue-jsclient is set atv2.10.0. Any version below that works without any issue.soedirgo commentedon Jan 31, 2023
Thanks! I'm also able to replicate this.
[-]supabase client hangs after upgrade to `v2.4.1`[/-][+]client hangs after upgrade to `v2.10.0`[/+]hf commentedon Jan 31, 2023
In version 2.10.0 we added the #564 new refresh token algorithm which uses
setInterval. From some docs online it looks like a runningsetIntervalwill instruct NodeJS to never stop the process.https://stackoverflow.com/questions/48172363/mocha-test-suite-never-ends-when-setinterval-running
Let me figure out how to address this properly.
fix: use `unref` on `setInterval` to stop tests from hanging (#599)
github-actions commentedon Jan 31, 2023
🎉 This issue has been resolved in version 2.10.2 🎉
The release is available on:
Your semantic-release bot 📦🚀