xmppo / node-xmpp-bosh

An XMPP BOSH & WebSocket server (connection manager) written on node.js using Javascript
https://github.com/xmppo/node-xmpp-bosh
263 stars 85 forks source link

node-XMPP-Bosh removelistener error #111

Closed kalpenkcs closed 10 years ago

kalpenkcs commented 10 years ago

I have installed bosh server in windows 7 32 bit system. we configure bosh server with jappix plugin in open fire.we have correctly configure all things but bosh server unable to give response it shows error like below:

TypeError: Object # has no method 'removeListeners' at XMPPLookupService.dutil.copy.connect (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-x mpp-bosh\src\lookup-service.js:72:38) at XMPPProxy.dutil.copy.connect (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh \src\xmpp-proxy.js:164:24) at Object.XMPPProxyConnector.stream_add (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-x mpp-bosh\src\xmpp-proxy-connector.js:162:9) at BoshEventPipe.EventPipe.emit (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh \node_modules\eventpipe\eventpipe.js:63:25) at Object.StreamStore.add_stream (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bos h\src\stream.js:184:19) at process_bosh_request (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh\src\bos h.js:130:35) at bosh_request_handler (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh\src\bos h.js:229:9) at C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh\src\http-server.js:69:17 at C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh\node_modules\underscore\under score.js:754:19 at IncomingMessage. (C:\Users\kalpen\AppData\Roaming\npm\node_modules\node-xmpp-bosh\

kalpenkcs commented 10 years ago

we have installed node-xmpp-bosh 0.5.0 on windows system which has no methods to find removeListener method in srv.js.

issue solved by download another setup of node-xmpp-bosh from following link https://github.com/dhruvbird/node-xmpp-bosh