Error: Cannot perform I/O on behalf of a different request
Hi Everyone
I have a project where i'm using sveltekit but i had a problem where when clicking back or forward in the browser is causing internal error 500? after i get the internal error 500 i try to refresh (ctrl + r) it went normal.
I have 2 webapps that have this issues, and weirdly its happening in the production build that i already deploy in the cloudflare pages, dev and local build environment is fine.
i see the logs and i got
11 Replies
bump. this only happening in cloudflare pages.
logs is attached
anyone can help?
looking at log i get error
That typically means a request was in the global scope was tried to be handled by a different request
do you have any idea where i should start debugging then? I'm new in programming world
Can you share what your code looks like?
i can deploy it in stackblitz give me a moment
That error typically means that sveltekit is doing something that it shouldn't be so might be worth asking that community as well
@Cyb3r-Jok3 i also asking sveltekit community, but i haven't get any feedback yet
I am seeing
Seems similar to the cloudflare error
i think that's different error
it is state management for sveltekit, i might miss that one
Ah only thing I could think of with it. Don't know Svelte well so hopefully someone who does will know what the cause is
@Cyb3r-Jok3 thank you for your hands :MeowHeartCloudflare:
i didn't get with the global scope can you elaborate more? @Cyb3r-Jok3
bump.