Receiving CORS errors #195
Unanswered
standingdreams
asked this question in
Questions
Replies: 1 comment 2 replies
-
Hey @standingdreams I am sorry that we are having this issue again. We are in the process of reverting back to websockets (from SSE), and also dropping Ably in favor of an inhouse solution (though that'd take us some time). We are aware of the /inbox/installations issue (it's annoying but harmless), but the /ws/auth failure shouldn't be happening. Are you able to inspect the headers on that call to check that the correct magicbell auth headers are provided? Do you get a response body back on it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing Magic Bell in a Next.js project with the pages router. I'm using the React SDK, and things seemed to be going well. I was able to receive push notifications in Chrome, Firefox, and Edge. However, when I tested on Safari, I didn't receive a push notification. Then I moved to my mobile device, and not only was I not getting push notifications, but I also was not receiving real-time notifications. I then noticed I was not receiving real-time notifications in any browser. I have to refresh the page to see real-time notifications.
That's when I opened up my devtools console. I'm seeing the same CORS errors from this discussion that was closed. It happens while working locally, whether using localhost or HTTPS (via Ngrok).
While attempting to answer the questions below, I opened the site up in incognito and ran across these errors:
Any help would be greatly appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions