<div dir="ltr">Hi Alex<div><br></div><div>You right, when the user tried to register for first time and it was error "login failed, internal server error', and mysql came , but after few try it was success,</div><div><br></div><div><br></div><div>I checked all log from /var/log/mysql/mysqld.err but didnt see anything related to this issue.</div><div><br></div><div>Im using ngcp version 4.0.1 on vmware image.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><br><div>---</div><div>Best regards,</div><div><br></div><div><b>Tung Tran</b></div><div><br></div><div><div><font color="#0000ff"><b>V247 Enterprise Corp<br></b>713.358.2257 office | 281.857.3448 cell<br>9999 Bellaire Blvd., Ste. 1111<b> | </b>Houston, TX 77036<br></font></div><div><b><font color="#0000ff">tung.tran@V247.com | <a href="http://www.v247.com/" target="_blank">www.V247.com</a></font></b></div></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Mon, Sep 21, 2015 at 12:10 PM, Alex Lutay <span dir="ltr"><<a href="mailto:alutay@sipwise.com" target="_blank">alutay@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On 09/21/2015 04:36 PM, Tung Tran wrote:<br>
> Sometime I saw this error from kamailio-proxy<br>
><br>
> Sep 21 16:31:52 spce proxy[64504]: ERROR: <core> [db_query.c:235]:<br>
> db_do_insert_cmd(): error while submitting query<br>
> Sep 21 16:31:52 spce proxy[64504]: ERROR: usrloc [ucontact.c:683]:<br>
> db_insert_ucontact(): inserting contact in db failed<br>
> Sep 21 16:31:52 spce proxy[64504]: ERROR: usrloc [urecord.c:589]:<br>
> insert_ucontact(): failed to insert in database<br>
> Sep 21 16:31:52 spce proxy[64504]: ERROR: registrar [save.c:507]:<br>
> insert_contacts(): failed to insert contact<br>
<br>
</span>It means kamailio failed to insert record for some reason.<br>
There should be more info in log. DB gone? DB connection gone?<br>
What is inside MySQL logs for those time?<br>
<br>
Connection can be closed by inactivity timeout, kamailio failed to<br>
inster record, reconnected and inserted properly, etc...<br>
<br>
Hard to say from this side, share steps to reproduce if you have<br>
together with release version.<br>
<span class=""><br>
> Is it a bug in SPCE? and how to fix it?<br>
<br>
</span>Nothing I am aware of.<br>
Please always specify release version you have.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alexander Lutay<br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</font></span></blockquote></div><br></div>