and im only using cometChat JS SDK
and i got the problem is
WebSocket connection to ‘wss://1922367c2bf0d6c5.ws-us.cometchat.io/ws/’ failed: WebSocket is closed before the connection is established.
and getting stuck at
enableStateLogging ~ inConnecting and not change to connected
and if possible, have anyone use cometchat JS SDk with nextjs? can i an example