hellozedan / node-xmpp-bosh

Automatically exported from code.google.com/p/node-xmpp-bosh
0 stars 0 forks source link

Intermittent failure: response.resume error: Cannot resume() closed Socket #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using prosody as the XMPP server
2.node-xmpp-bosh is running in the node
3.Received intermittent failure, when pushing the message as below:
var msg = $msg({type: "chat", to: toNotifyJid}).c("body").t(notifyMsg);             
out_queue.push({conn: conn, msg: msg});

What is the expected output? What do you see instead?
Consistently, It should send a message to specified JID. But getting 
intermittent failure when pushing the message, getting the below error:
response.resume error: Cannot resume() closed Socket

What version of the product are you using? On what operating system?
node-xmpp-bosh-0.4.1 
ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by kiruba.v...@gmail.com on 13 Dec 2011 at 4:40

GoogleCodeExporter commented 8 years ago
Hello! Can you check the nxb logs in DEBUG mode or paste them here (maybe a 
pastebin link). That way, it would be easier to see what is going on.

I'm assuming you are trying to run send_recv.js right? If so, you need to 
create a file and pass it in as --users (check comments in that file).

Original comment by dhruvb...@gmail.com on 13 Dec 2011 at 4:49

GoogleCodeExporter commented 8 years ago
Thanks for prompt response.

We found that this issue is not related to node-xmpp-bosh. It came from some 
different application.

Thanks again.

Original comment by kiruba.v...@gmail.com on 14 Dec 2011 at 9:33

GoogleCodeExporter commented 8 years ago

Original comment by dhruvb...@gmail.com on 14 Dec 2011 at 12:34