Hi there,
I am trying to implement Sockjs between my Angular and Vertx but for some reason when the socket is created the server is not sending a message to the client. I will appreciate any help.
In the browser console I get this error
core.js:6210 ERROR TypeError: Cannot read properties of undefined (reading 'registerHandler')
at _eventBus.onopen (eventbus.service.ts:39:22)
at self.sockJSConn.onopen (vertx-eventbus.js:139:29)
at push.l6Lj.EventTarget.dispatchEvent (eventtarget.js:51:20)
at push.SGzc.SockJS._open (main.js:322:10)
at push.SGzc.SockJS._transportMessage (main.js:255:12)
at push.raCH.EventEmitter.emit (setPrototypeOf.js:50:18)
at WebSocketTransport.ws.onmessage [as __zone_symbol__ON_PROPERTYmessage] (websocket.js:35:10)
at WebSocket.wrapFn (zone.js:803:43)
at ZoneDelegate.invokeTask (zone.js:434:35)
at Object.onInvokeTask (core.js:28578:33)