NovuN
Novu12mo ago
Bundl3

webscoket connection failed

Hey We've been running with your hosted services for quite a while.
The workflows seem to be working fine as there is no issue with recieving emails.
and the in-app inbox looks fine after refresh.
but sockets fail to connect and users can't receive in-app notifications.
Using: "@novu/react": "^2.3.0"

seeing this error in the console:
WebSocket connection to 'wss://ws.novu.co/socket.io/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NmQwODc1MTk2NDUzZjdiZjQwNWU5ZmEiLCJlbWFpbCI6Iml0YXkucEBsYW1hLmFpIiwib3JnYW5pemF0aW9uSWQiOiI2NmIzNTcwNmFhNDIxOGQxMjZiYmJmNDkiLCJlbnZpcm9ubWVudElkIjoiNjZiMzU3MDc3MmNiYTFjN2Q0YzkwZGQ2Iiwic3Vic2NyaWJlcklkIjoiZjc0MWZiYTYtYjMyNi00NzJhLWI1ODItM2E0Y2Q1OTliNTU5IiwiaWF0IjoxNzM2MjU1NDI0LCJleHAiOjE3Mzc1NTE0MjQsImF1ZCI6IndpZGdldF91c2VyIiwiaXNzIjoibm92dV9hcGkifQ.FXEBBPid4Uw-dO9Hdf_-0lEoRmVEBdmzIyE7XnpJDMg&EIO=4&transport=websocket' failed:

We haven't changed anything recently regarding the integration
And currently no user is receiving in-app notifications

Edit:
more details:
this is the exact code:
<Inbox applicationIdentifier={novuApplicationIdentifier} subscriberId={userId} appearance={appearance} onNotificationClick={onClickNotification} localization={localization} preferencesFilter={{ tags: ['xxxx'] }} />

simply using Inbox with our identifier and a subscriber by the user.
Was this page helpful?