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
There is an error returned on any page that uses Jitsu (either @jitsu/jitsu-react or @jitsu/js). The page returns Internal Server Error with no other error info.
When checking the cloudflare deployment logs, I see two errors messages.
This:
Ali-hd
changed the title
[🐛 Bug]: Internal Server Error when using Jitsu with getServerSideProps
[🐛 Bug]: Internal Server Error when using Jitsu
Aug 20, 2024
next-on-pages environment related information
Build is successful
Description
There is an error returned on any page that uses Jitsu (either
@jitsu/jitsu-react
or@jitsu/js
). The page returnsInternal Server Error
with no other error info.When checking the cloudflare deployment logs, I see two errors messages.
This:
Or this
These errors did not help me identify the cause of the issue. I tried running the code on the server side only flags, but the error still occurred.
I also tried using the App Router, it displayed the page, but I can see a server error 500 in the browser network.
Reproduction
Fresh next js Repo deployed to cloudflare pages with jitsu added
https://github.com/Ali-hd/jistu-cloudflare-nextjs-bug-reproduce
You can test it in this url
https://jistu-cloudflare-nextjs-bug-reproduce.pages.dev
You can visit the app router page here
https://jistu-cloudflare-nextjs-bug-reproduce.pages.dev/todo
I don't think jitsu host and writekey values matter, you can use empty values
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: