sstrigler / JSJaC

JavaScript Jabber Client Library
Other
295 stars 86 forks source link

session terminated #49

Closed srinivaspokala closed 11 years ago

srinivaspokala commented 11 years ago

Hi,

Sending messages continuously getting below error session terminated: body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found'

Please help

Srinivas

rraptorr commented 11 years ago

Enable debug log on your server and see what is causing server to terminate the connection.

srinivaspokala commented 11 years ago

Hi, I got below messages

Found working slot at 1
handling event 'status_changed'
status changed: processing
handling event 'message'
all slots busy, standby ...
Found working slot at 0
Found working slot at 0
Found working slot at 1
handling event 'message'
all slots busy, standby ...
Found working slot at 0
handling event 'message'
all slots busy, standby ...
Found working slot at 1
handling event 'message'
all slots busy, standby ...
Found working slot at 0
handling event 'message'
all slots busy, standby ...
Found working slot at 1
handling event 'message'
all slots busy, standby ...
handling event 'message'
Found working slot at 0
Found working slot at 0
handling event 'message'
Found working slot at 0
Found working slot at 1
handling event 'message'
all slots busy, standby ...
Found working slot at 0
handling event 'message'
all slots busy, standby ...
handling event 'message'
Found working slot at 0
Found working slot at 1
Found working slot at 0
handling event 'message'
Found working slot at 1
handling event 'message'
Found working slot at 0
handling event 'message'
Found working slot at 1
handling event 'message'
Found working slot at 0
handling event 'message'
handling event 'message'
Found working slot at 1
handling event 'message'
Found working slot at 0
handling event 'message'
handling event 'message'
Found working slot at 0
session terminated: body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found' handling event 'onerror'
handling event 'status_changed'
registered handler for event 'message'
registered handler for event 'presence'
registered handler for event 'iq'
registered handler for event 'onconnect'
registered handler for event 'onerror'
registered handler for event 'status_changed'
registered handler for event 'ondisconnect'
registered handler for event 'iq'
registered handler for event 'iq'
handling event 'status_changed'
status changed: connecting
status changed: disconnecting
POST http://www. localhost:5280/http-bind/ 404 (Not Found) Disconnected:
handling event 'ondisconnect'
Disconnected.
handling event 'ondisconnect'
got sid: 9b8faaa3a8ffaea7c75989f6697d550676547de2
set hold to 1
got streamid: 57636363
SASL detected
SASL using mechanism 'DIGEST-MD5'
Found working slot at 0
POST http://www. localhost:5280/http-bind/ 404 (Not Found) Connection lost ...
handling event 'status_changed'
status changed: processing
got challenge: nonce="4085571834",qop="auth",charset=utf-8,algorithm=md5-sess
nonce: 4085571834
response: username="pokalasrinivas",realm=" localhost",nonce="4085571834",cnonce="WJUxXdnW2oGG5P",nc="00000001",qop=auth,digest-uri="xmpp/ localhost",response="b79631027a78240689d54002d4d8c870",charset="utf-8"
Found working slot at 0
all slots busy, standby ...
response: rspauth=287f636bdacb9704330b73bffdf21264
rspauth: 287f636bdacb9704330b73bffdf21264
rsptest: 287f636bdacb9704330b73bffdf21264
Found working slot at 0

Thanks

Srinivas

rraptorr commented 11 years ago

This is not debug log from your server. Also, this is not an issue with JSJaC.

srinivaspokala commented 11 years ago

Hi, How can i enable it? Thanks Srinivas

rraptorr commented 11 years ago

Again, this is not a question about JSJaC.

rraptorr commented 11 years ago

You can find detailed description in your server documentation: https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.11/doc/guide.html

srinivaspokala commented 11 years ago

HI,

I got below debug log

incoming event 'message_out' incoming event 'packet_out' async recv: body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found' session terminated: body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found' incoming event 'onerror' incoming event 'onstatuschanged' incoming event 'status_changed' got sid: fefab3a55390fdf430a9a0fb6293bbfaa9193ac1 set hold to 1

got streamid: 211280362 SASL detected SASL using mechanism 'DIGEST-MD5' Found working slot at 0 Connection lost ... status changed: processing

got challenge: nonce="3479778134",qop="auth",charset=utf-8,algorithm=md5-sess nonce: 3479778134 Found working slot at 0

Please help me

Thanks

Srinivas

rraptorr commented 11 years ago

This is not debug log from your server and this is not a JSJaC issue.

srinivaspokala commented 11 years ago

Hi, oDbg = new JSJaCConsoleLogger(5); is it debug log enabled?

Thanks Srinivas

rraptorr commented 11 years ago

I've already explained that you must enable debug log on your server and debug your server. Detailed documentation is available at https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.11/doc/guide.html