<div dir="ltr"><div>Hi All , </div><div><br></div><div>I am using opensips 3.4 running on EKS node and the database is AWS RDS (<span style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px">8.0.mysql_aurora.3.08.2</span>) . </div><div><br></div><div>In the config  I am using sql_only mode to save/extract data from the database . </div><div><br></div><div>loadmodule "usrloc.so"<br>modparam("usrloc", "nat_bflag", "NAT")<br>modparam("usrloc", "working_mode_preset", "sql-only")<br>modparam("usrloc", "db_url", "mysql://mysql-user:mysql-pass@mysql-domain/dbname")<br>modparam("usrloc", "use_domain", 1)<br>modparam("usrloc", "max_contact_delete", 1)<br><br></div><div>        if ($rm=="REGISTER") {<br> xlog( "L_NOTICE", "Register Contact & $ct \n" );<br>                fix_nated_register();<br>                       if(!save("location","force-registration,max-contacts=10,path-lazy"))<br>                          sl_reply_error();<br>                exit;<br>        }<br><br></div><div><br></div><div>Below is the error I am getting in the opensips logs : </div><div><br></div><div>2025-10-20 00:30:03.120     <br>{"body":"Oct 19 19:00:03 [36] NOTICE:Register Contact \u0026 \u003csip:hbh3a766@192.168.33.49:57670;transport=wss\u003e;expires=90","attributes":{"log.file.path":"/var/log/pods/eks-opensips_west-registrar-f5c5896d4-rgn8d_44da0dac-0521-4e1b-b4e7-89c7f0f87c11/west-registrar/0.log","log.iostream":"stderr","logtag":"F"},"resources":{"k8s.container.restart_count":"0","k8s.pod.uid":"44da0dac-0521-4e1b-b4e7-89c7f0f87c11"}}<br>2025-10-20 00:30:03.121      <br>{"body":"Oct 19 19:00:03 [36]<b> CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1243): Unknown prepared statement handler (5) given to mysql_stmt_precheck","attributes</b>":{"log.file.path":"/var/log/pods/eks-opensips_west-registrar-f5c5896d4-rgn8d_44da0dac-0521-4e1b-b4e7-89c7f0f87c11/west-registrar/0.log","log.iostream":"stderr","logtag":"F"},"resources":{"k8s.container.restart_count":"0","k8s.pod.uid":"44da0dac-0521-4e1b-b4e7-89c7f0f87c11"}}<br>2025-10-20 00:30:03.121  <br>{"body":"Oct 19 19:00:03 [36]<b> ERROR:usrloc:db_insert_ucontact: inserting contact in db failed","attributes":</b>{"log.file.path":"/var/log/pods/eks-opensips_west-registrar-f5c5896d4-rgn8d_44da0dac-0521-4e1b-b4e7-89c7f0f87c11/west-registrar/0.log","log.iostream":"stderr","logtag":"F"},"resources":{"k8s.container.restart_count":"0","k8s.pod.uid":"44da0dac-0521-4e1b-b4e7-89c7f0f87c11"}}<br>2025-10-20 00:30:03.121        <br>{"body":"Oct 19 19:00:03 [36]<b> ERROR:usrloc:wb_timer: inserting contact into database failed</b>","attributes":{"log.file.path":"/var/log/pods/eks-opensips_west-registrar-f5c5896d4-rgn8d_44da0dac-0521-4e1b-b4e7-89c7f0f87c11/west-registrar/0.log","log.iostream":"stderr","logtag":"F"},"resources":{"k8s.container.restart_count":"0","k8s.pod.uid":"44da0dac-0521-4e1b-b4e7-89c7f0f87c11"}}<br></div><div><br></div><div>*** I have 2 instance on which opensips running and the Database is common for both . </div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div>