Vercel Deployment Causing Session Loading Loop

Hello!
I’m running into an issue that I could use some help with. My users are experiencing problems accessing the website—specifically with sessions. I’ve been trying to identify the problem over the past few days.

When I test it on localhost, everything seems to be working fine. The sessions and login functionality load properly, and there are no issues when refreshing the page.

However, the problem occurs in the deployed version on Vercel. It appears that when the page is refreshed, the session ID—used to load the account and organization data—is lost, which causes a continuous cycle of loading.

I’ve debugged everything thoroughly, and everything appears to function normally locally. I even reverted the project back to an older version that worked before, but the issue persists—only on Vercel.

I also contacted my database provider, and they confirmed that nothing is wrong on their end. So I’m trying to figure out what exactly is going on here.

1 Like

I’ve managed to fix the issue

How did you get to the solution in the end, @tulliallan?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.