N
Novu3w ago
YingPang

why is the socketUrl in the examples https and not wss? does it matter?

Novu
React Get Started - Novu
Learn how to add a Novu-Powered In-App Inbox to your React app
5 Replies
Pawan Jain
Pawan Jain2w ago
Hi YangPing

We currently support HTTPS only. Let me check with the team on the reason for this. Are you facing any issue in using https?
YingPang
YingPangOP2w ago
we have currently the issue with notification bell not updating, but i can see the socket being initialised. i think it will change to wss automatically from https. It's just a question for propperly understanding the configuration, my asumption was that websocket URL where ws:// for unsecure socket and wss:// for secure sockets.
YingPang
YingPangOP2w ago
No description
No description
No description
Pawan Jain
Pawan Jain2w ago
YingPang

You can use https or wss both should work.

Unfortunately, I will not be able to help in debugging the real time notification issue as this is the issue in how you have configured webscoket service
YingPang
YingPangOP2w ago
sure, no problem we are in the process of debugging and we thought that maybe i originally set wss this was a cause but https hat the same behaviour so i wanted to clarify.

Did you find this page helpful?