Comments (8)
I can try to take that task up as I'll be working on some similiar stuff anyways
from cmsaasstarter.
I've seen this too, seems to be inside Supabase API. I think it's only on dev mode (at least I've never seen it on prod, confirmation would be good).
We have a PR updating that dependency (coupled to some SSR work). If we don't take that, we should at least bump the dep for this issue.
from cmsaasstarter.
am facing this issue too - is there any fix coming soon ?
from cmsaasstarter.
I updated deps yesterday. Can you try pull that and see if this is fixed? I couldn't repo this after the update.
from cmsaasstarter.
I have just started using the template today, and I'm facing this issue too.
So I can confirm, it's not fixed.
from cmsaasstarter.
The reason why this happens is usually somewhat architecturally related. The auth-helpers
package isn't recommended anymore and should be removed from this project. That's a first good step.
Reason why this can happen (and why it only happens occasionally): When the session gets refreshed (which is when it expires) and this is done in a context of Svelte were setting cookies is not allowed, then this error will pop up. Then, after refreshing the page, the session will usually be proper resolved in the first point and not appear for some more time until it expires etc.
Here's the most recent docs about supabase/ssr
package: https://supabase.com/docs/guides/auth/server-side/creating-a-client?environment=middleware&queryGroups=framework&framework=sveltekit
from cmsaasstarter.
Thanks @activenode !
Note: we also have a PR to move to SSR (but it's held up on another bug in supabase): #63
Sounds related, so let's not double up work unless there's a clean fix for main separate from that.
from cmsaasstarter.
Hey, I had exactly the same issue and found a workaround for this - in hooks.server.ts I have added the following:
...
const response = await resolve(event, {
filterSerializedResponseHeaders(name) {
return name === "content-range"
},
})
return response
Once I was waiting to finish al session related it worked - seemes for me like the issue happens during the session check -> it happens prior to all relevant session related actions (supabase etc.)
from cmsaasstarter.
Related Issues (20)
- Clicking Sign Up sends multiple emails HOT 6
- General improvements. Thoughts... HOT 1
- Upgrade to daisyUI 4 HOT 1
- Move site name into code
- Idea: releases, changesets and upgrade paths HOT 3
- Problem with Stripe integrations for one-off payments HOT 1
- Managing Subscription Throws a PSE Error HOT 3
- Idea: Add CMSaasStarter to Vercel templates HOT 4
- 500 The "/" and "/(marketing)" route conflict with each other HOT 1
- 'relation "public.stripe_customers" does not exist' HOT 1
- Some production things HOT 1
- Socail template?
- Improve SEO with JSON-LD
- Feature: Be able to create tables and custom forms HOT 1
- Svelte 5 Upgrade
- How about shadcn/ui?
- New Feature: Admin Mailer / Email support HOT 2
- Move to template HOT 1
- "Built With SaaS Starter" section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmsaasstarter.