Replies: 1 comment
-
i tried to set ssr to false and i don't get the error anymore. Do i have to manually refresh the session in a middleware or something like that ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i developped a small application using Nuxt supabase module
at first, locally, all worked fine, and the first minutes in production too
but i got a strange ERR_HTTP_HEADERS_SENT error, when (i guess) access_token is out of date and a request is made to refresh it
does someone already encoutered this error ?
i tried to comment all server code that uses access to the authenticated user
i also have no middleware that could interact with the refresh process
i may have done something wrong but i'm out of clue...
My stack is
`[nitro] [unhandledRejection] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
code: 'ERR_HTTP_HEADERS_SENT'
}`
Beta Was this translation helpful? Give feedback.
All reactions