Hello, I use kamailio to communicate between a sip client and a MSN client but when a sip client send a message to MSN client, the kamailio print me this message:CRITICAL **: pecan_stream_write_full: assertion `stream' failed
someone can tell me where is the probleme? thank you
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
In this case, no message is accepted any more.
I have take a look in module/auth/index.c where the log is coming from but I was not able to solve my issue.
I understood that my problem is most probably related to those value:
modparam("auth", "nonce_expire", 1000) nonce_reuse is NOT set. proxy_challenge("", "1"); www_challenge("", "1");
What I understand is that I might fix my problem if I reduce my "nonce_expires" value.
But: MAX_NONCE_INDEX=100000 Do I really have reached this value: I don't think so. I expect my setup would need around 1000 nonce. (registration, calls and presence)
My conclusion is that there might be some use-case where the reserved nonce are not "released"?
Tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Hello Aymeric,
On 05/12/2009 04:04 PM, Aymeric Moizard wrote:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
In this case, no message is accepted any more.
I have take a look in module/auth/index.c where the log is coming from but I was not able to solve my issue.
I understood that my problem is most probably related to those value:
modparam("auth", "nonce_expire", 1000) nonce_reuse is NOT set.
do you mean that noce_reuse=0 (default value)?
I will investigate the problem. Meanwhile, can you try with:
modparam("auth", "nonce_reuse", 1)
Cheers, Daniel
proxy_challenge("", "1"); www_challenge("", "1");
What I understand is that I might fix my problem if I reduce my "nonce_expires" value.
But: MAX_NONCE_INDEX=100000 Do I really have reached this value: I don't think so. I expect my setup would need around 1000 nonce. (registration, calls and presence)
My conclusion is that there might be some use-case where the reserved nonce are not "released"?
Tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
Cheers, Daniel
On Freitag, 15. Mai 2009, Daniel-Constantin Mierla wrote:
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
If i check the code, it should be report later another error:
LM_INFO("no more indexes available\n"); return -1; [..] index= reserve_nonce_index(); if(index == -1) { LM_ERR("no more nonces can be generated\n"); return 0; }
So i think it should be more or less fine, as at least the auth error is reported. Aymeric, do you observe this (second) error message as well?
Cheers,
Henning
On Fri, 15 May 2009, Henning Westerholt wrote:
On Freitag, 15. Mai 2009, Daniel-Constantin Mierla wrote:
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
If i check the code, it should be report later another error:
LM_INFO("no more indexes available\n"); return -1; [..] index= reserve_nonce_index(); if(index == -1) { LM_ERR("no more nonces can be generated\n"); return 0; }
So i think it should be more or less fine, as at least the auth error is reported. Aymeric, do you observe this (second) error message as well?
Definitly right!
INFO:auth:reserve_nonce_index: no more indexes available ERROR:auth:build_auth_hf: no more nonces can be generated ERROR:auth:challenge: failed to generate nonce
tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Cheers,
Henning
This issue was reported also in opensips and it was fixed under rev 5041: http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=50...
Regards, Ovidiu Sas
On Fri, May 15, 2009 at 9:15 AM, Aymeric Moizard jack@atosc.org wrote:
On Fri, 15 May 2009, Henning Westerholt wrote:
On Freitag, 15. Mai 2009, Daniel-Constantin Mierla wrote:
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
If i check the code, it should be report later another error:
LM_INFO("no more indexes available\n"); return -1; [..] index= reserve_nonce_index(); if(index == -1) { LM_ERR("no more nonces can be generated\n"); return 0; }
So i think it should be more or less fine, as at least the auth error is reported. Aymeric, do you observe this (second) error message as well?
Definitly right!
INFO:auth:reserve_nonce_index: no more indexes available ERROR:auth:build_auth_hf: no more nonces can be generated ERROR:auth:challenge: failed to generate nonce
tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Cheers,
Henning
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
It is not that for sure -- the fix is in kamailio.
Cheers, Daniel
On 05/15/2009 04:27 PM, Ovidiu Sas wrote:
This issue was reported also in opensips and it was fixed under rev 5041: http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=50...
Regards, Ovidiu Sas
On Fri, May 15, 2009 at 9:15 AM, Aymeric Moizard jack@atosc.org wrote:
On Fri, 15 May 2009, Henning Westerholt wrote:
On Freitag, 15. Mai 2009, Daniel-Constantin Mierla wrote:
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
Hi,
I got an issue with my kamailio 1.5 server. After a long period, I start getting those message:
"INFO:auth:reserve_nonce_index: no more indexes available"
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
If i check the code, it should be report later another error:
LM_INFO("no more indexes available\n"); return -1; [..] index= reserve_nonce_index(); if(index == -1) { LM_ERR("no more nonces can be generated\n"); return 0; }
So i think it should be more or less fine, as at least the auth error is reported. Aymeric, do you observe this (second) error message as well?
Definitly right!
INFO:auth:reserve_nonce_index: no more indexes available ERROR:auth:build_auth_hf: no more nonces can be generated ERROR:auth:challenge: failed to generate nonce
tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Cheers,
Henning
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Yes, you are right, the fix is in kamailio. I was mislead by the fact that rev 5041 in opensips fixed the same issue: http://sourceforge.net/tracker/?func=detail&aid=2385561&group_id=232... Sorry for the confusion (didn't checked the code before posting).
Regards, Ovidiu Sas
On Fri, May 15, 2009 at 11:39 AM, Daniel-Constantin Mierla miconda@gmail.com wrote:
It is not that for sure -- the fix is in kamailio.
Cheers, Daniel
On 05/15/2009 04:27 PM, Ovidiu Sas wrote:
This issue was reported also in opensips and it was fixed under rev 5041: http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=50...
Regards, Ovidiu Sas
On Fri, May 15, 2009 at 9:15 AM, Aymeric Moizard jack@atosc.org wrote:
On Fri, 15 May 2009, Henning Westerholt wrote:
On Freitag, 15. Mai 2009, Daniel-Constantin Mierla wrote:
On 05/13/2009 04:04 PM, Iñaki Baz Castillo wrote:
2009/5/12 Aymeric Moizard jack@atosc.org:
> > Hi, > > I got an issue with my kamailio 1.5 server. After > a long period, I start getting those message: > > "INFO:auth:reserve_nonce_index: no more indexes available" >
BTW, shouldn't this log be a WARN or ERROR instead of just INFO ?
indeed, it is actually more error as auth stops working.
If i check the code, it should be report later another error:
LM_INFO("no more indexes available\n"); return -1; [..] index= reserve_nonce_index(); if(index == -1) { LM_ERR("no more nonces can be generated\n"); return 0; }
So i think it should be more or less fine, as at least the auth error is reported. Aymeric, do you observe this (second) error message as well?
Definitly right!
INFO:auth:reserve_nonce_index: no more indexes available ERROR:auth:build_auth_hf: no more nonces can be generated ERROR:auth:challenge: failed to generate nonce
tks, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/
Cheers,
Henning
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Daniel-Constantin Mierla http://www.asipto.com/