[Kamailio-Users] auth:reserve_nonce_index: no more indexes available

Ovidiu Sas osas at voipembedded.com
Fri May 15 17:57:41 CEST 2009


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=232389&atid=1086410
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 at 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=5041
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Fri, May 15, 2009 at 9:15 AM, Aymeric Moizard <jack at 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 at 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 at 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 at 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/
>
>




More information about the sr-users mailing list