<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I also get this in OpenSIPS<div class=""><br class=""></div><div class=""><div class=""> DBG:httpd:answer_to_connection: START *** cls=(nil), connection=0x55d766a1b220, url=/mi, method=POST, versio=HTTP/1.1, upload_data[48]=0x55d766a229cc, *con_cls=0x7f53f1f2d4d0</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: NOT a regular POST :o)</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: key=[Host] value=[127.0.0.1:8888]</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: Accept=*/*</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: Content-Type=application/json</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: Content-Length=48</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: got ContentType [3] with len [48]: {"jsonrpc":"2.0","id":1,"method":"dr_gw_status"}\nJan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: START *** cls=(nil), connection=0x55d766a1b220, url=/mi, method=POST, versio=HTTP/1.1, upload_data[0]=(nil), *con_cls=0x7f53f1f2d4d0</div><div class="">Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: normalised_url=[]</div><div class="">Jan 14 12:57:26 [27593] DBG:mi_http:mi_json_answer_to_connection: START *** cls=(nil), connection=0x55d766a1b220, url=, method=POST, version=HTTP/1.1, upload_data[48]=0x7f53f1f2b299, *con_cls=0x7f53f1f2d468</div><div class="">Jan 14 12:57:26 [27593] DBG:mi_http:mi_http_run_mi_cmd: got command=dr_gw_status</div><div class="">Jan 14 12:57:26 [27593] ERROR:core:handle_mi_request: Command not found</div><div><br class=""><blockquote type="cite" class=""><div class="">On 14 Jan 2021, at 12:55 pm, bobsy <<a href="mailto:masked@vale.ski" class="">masked@vale.ski</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’m using opensips 3.1.1 from deb repo</div><div class="">And opensips-cp 8.3.1</div><div class="">With nginx and php7.3-fpm</div><div class="">Postgresql for db</div><div class=""><br class=""></div><div class="">And I’ve configured mi_http for json…</div><div class=""><br class=""></div><div class="">I’m receiving a few errors like this:</div><div class=""><span style="font-family: Montserrat, sans-serif; font-size: 13px; text-align: -webkit-center; background-color: rgb(233, 236, 239);" class=""><br class=""></span></div><div class=""><span style="font-family: Montserrat, sans-serif; font-size: 13px; text-align: -webkit-center; background-color: rgb(233, 236, 239);" class="">Failed to issue total count query, error message : Array ( [0] => 42P01 [1] => 7 [2] => ERROR: relation "cc_agents" does not exist LINE 2: from cc_agents ^ ) [select count(id) from cc_agents]</span></div><div class=""><span style="font-family: Montserrat, sans-serif; font-size: 13px; text-align: -webkit-center; background-color: rgb(233, 236, 239);" class=""><br class=""></span></div><div class=""><span style="text-align: -webkit-center; background-color: rgb(233, 236, 239);" class=""><font face="Montserrat, sans-serif" size="2" class="">On the call centre page and on the dialog page</font></span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">2021/01/14 12:50:29 [error] 3849#3849: *289 FastCGI sent in stderr: "PHP message: PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/tools/system/dialog/local.inc.php on line 27PHP message: PHP Notice: Array to string conversion in /var/www/opensips-cp/web/tools/system/dialog/dialog.php on line 112" while reading response header from upstream, client: 119.18.18.117, server: opensips.vale.ski, request: "GET /tools/system/dialog/dialog.php HTTP/1.1", upstream: "<a href="fastcgi://unix/run/php/php7.3-fpm.sock:" class="">fastcgi://unix:/run/php/php7.3-fpm.sock:</a>", host: "opensips.vale.ski", referrer: "<a href="http://opensips.vale.ski/menu.php" class="">http://opensips.vale.ski/menu.php</a>”</div><div class=""><br class=""></div><div class="">I get this error on that page:</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(255, 0, 0); color: rgb(255, 0, 0); font-family: Montserrat, sans-serif; font-size: 13px; text-align: -webkit-center; background-color: rgb(233, 236, 239);" class="">MI command failed with code -32601 (Method not found)</span></div><div class=""><span style="caret-color: rgb(255, 0, 0); color: rgb(255, 0, 0); font-family: Montserrat, sans-serif; font-size: 13px; text-align: -webkit-center; background-color: rgb(233, 236, 239);" class=""><br class=""></span></div><div class=""><span style="text-align: -webkit-center; background-color: rgb(233, 236, 239);" class=""><font color="#ff0000" face="Montserrat, sans-serif" size="2" class=""><span style="caret-color: rgb(255, 0, 0);" class="">Any insight would be greatly appreciated.</span></font></span></div><div style="text-align: -webkit-center;" class=""><br class=""></div><div style="text-align: -webkit-center;" class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>