sstrigler / JSJaC

JavaScript Jabber Client Library
Other
295 stars 86 forks source link

session terminated #53

Closed pokal4u closed 11 years ago

pokal4u commented 11 years ago

Hi, Chat working fine with poll messages normally.

if i poll 10-20 messages per second (fastly typing) get below error

session terminated: body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='item-not-found' Disconneted. Connection lost..

In my connection code:

oArgs.timerval = 2000;

In JsJac.js

JSJAC_HAVEKEYS = true; JSJAC_NKEYS = 16; JSJAC_INACTIVITY = 300; JSJAC_ERR_COUNT = 10; JSJAC_ALLOW_PLAIN = true; JSJAC_CHECKQUEUEINTERVAL = 1; JSJAC_CHECKINQUEUEINTERVAL = 1; JSJAC_TIMERVAL = 2000;
//JSJAC_RETRYDELAY=5000; // Options specific to HTTP Binding (BOSH) JSJACHBC_MAX_HOLD = 100; JSJACHBC_MAX_WAIT = 300; JSJACHBC_BOSH_VERSION = "1.6"; JSJACHBC_USE_BOSH_VER = true; JSJACHBC_MAXPAUSE = 120;

Please help

Thanks Pokal4u

rraptorr commented 11 years ago

Probably a server limit, reconfigure it. This is not an issue with JSJaC.

pokal4u commented 11 years ago

Hi, reconfigure means re install ejabbered again?

or

How can i reconfigure?

or

any changes in ejabbered.conf file?

Please help me

Thanks Pokal4u

rraptorr commented 11 years ago

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

pokal4u commented 11 years ago

HI, I read that, but did't get. in guide which module contain poll time?

Please help me

Thanks Pokal4u

rraptorr commented 11 years ago

I will not provide any more help, this is not an issue with JSJaC. Please stop creating new issues for things completely unrelated to JSJaC.