[OpenSIPS-Users] 500 Server error in REGISTER message

Satish Patel satish.txt at gmail.com
Fri Mar 13 21:30:20 CET 2015


Thanks for reply, I am not seeing any memory error in logs, This is testing
box, so there is no load on CPU, I am registering single client.

I am using multi-domain with mysql DB.

This is what in debug i am seeing

DBG:auth:check_response: authorization is OK
...
DBG:core:mk_proxy: doing DNS lookup...
DBG:sl:run_sl_callbacks: callback id 0 entered
DBG:sl:sl_reply_error: error text is Server error occurred (1/SL)

On Fri, Mar 13, 2015 at 4:16 PM, Babil Golam Sarwar <gsbabil at gmail.com>
wrote:

> Hi Satish,
> you should check the server logs. This could be caused by memory
> allocation failure, low memory and/or high CPU activity experienced by
> OpenSIPS on the server side.
>
> You can enable console debugging by adding the following to `opensips.cfg':
>
> debug=4
> fork=no
> log_stderror=yes
>
> After that, restart OpenSIPS and watch the debug log output and system
> CPU usage.
>
> Regards,
> Babil (Golam Sarwar)
>
> PGP Key Fingerprint : D3A1 EED0 5BA0 72D3 A011 75CB 8EA6 7D99 F433 E92D
> PGP Key Download URL: http://bit.ly/gsbabil-pgp-key
>
>
> On Fri, Mar 13, 2015 at 1:03 PM, Satish Patel <satish.txt at gmail.com>
> wrote:
> > Hello,
> >
> > Why we are getting 500 error in REGISTER time? Even i got register
> > successfully, is it normal?
> >
> >
> >   01:26:01.078025   │          REGISTER           │
> > │                   │ ──────────────────────────> │
> > │ 01:26:01.078032   │          REGISTER           │
> > │                   │ ────────────────────────>>> │              │
> > │ 01:26:01.078358   │      401 Unauthorized       │              │
> > │                   │ <────────────────────────── │              │
> > │ 01:26:01.078360   │      401 Unauthorized       │              │
> > ▒                   │ <<<──────────────────────── │              │
> > ▒ 01:26:01.408019   │          REGISTER           │              │
> > ▒                   │ ──────────────────────────> │              │
> > ▒ 01:26:01.408025   │          REGISTER           │              │
> > ▒                   │ ────────────────────────>>> │              │
> > ▒ 01:26:01.408364   │           200 OK            │              │
> > ▒                   │ <────────────────────────── │              │
> > ▒ 01:26:01.408365   │           200 OK            │              │
> > ▒                   │ <<<──────────────────────── │              │
> > ▒ 01:26:01.408381   │  500 Server error occurred  │              │
> > ▒                   │ <────────────────────────── │              │
> > ▒ 01:26:01.408382   │  500 Server error occurred  │              │
> > ▒                   │ <<<──────────────────────── │              │
> > ▒ 01:26:01.730160   │          REGISTER           │              │
> > ▒                   │ ──────────────────────────> │              │
> > ▒ 01:26:01.730166   │          REGISTER           │              │
> > ▒                   │ ────────────────────────>>> │              │
> > ▒ 01:26:01.730454   │      401 Unauthorized       │              │
> > ▒                   │ <────────────────────────── │              │
> > ▒ 01:26:01.730455   │      401 Unauthorized       │              │
> > ▒                   │ <<<──────────────────────── │              │
> > ▒ 01:26:02.072783   │          REGISTER           │              │
> > ▒                   │ ──────────────────────────> │              │
> > ▒ 01:26:02.072789   │          REGISTER           │              │
> > ▒                   │ ────────────────────────>>> │              │
> > ▒ 01:26:02.073108   │           200 OK            │              │
> > ▒                   │ <────────────────────────── │              │
> > ▒ 01:26:02.073109   │           200 OK            │              │
> > ▒                   │ <<<──────────────────────── │              │
> > ▒ 01:26:02.073128   │  500 Server error occurred  │              │
> > ▒                   │ <────────────────────────── │              │
> > │                   │                             │
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150313/92b2521a/attachment-0001.htm>


More information about the Users mailing list