<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Am 02.03.2015 um 14:14 schrieb Irina
Peshinskaya:<br>
</div>
<blockquote cite="mid:54F4622D.6030304@sipwise.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hi Fry,<br>
<br>
For 3.4.2 ngcp info was logged into oss.log, which you cited in
your first letter. Can I get records from the log related to the
time of the error occurrence? Possible there are logged
/invoice/create POST parameters. <br>
</blockquote>
there are not.. the only logs I found id in oss.log<br>
<i><b>Mar 2 14:24:33 sip
/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl: *** Root::auto
called</b></i><i><b><br>
</b></i><i><b>Mar 2 14:24:33 sip
/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl: *** Root::auto
grant access for authenticated user</b></i><i><b><br>
</b></i><i><b>Mar 2 14:24:33 sip
/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl:
NGCP::Panel::Controller::Invoice::auto</b></i><i><b><br>
</b></i><i><b>Mar 2 14:24:33 sip
/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl: Rechnung erstellen
Fehlgeschlagen (DBIx::Class::Schema::txn_do(): Use of
uninitialized value $contract_id in concatenation (.) or string
at /usr/share/perl5/NGCP/Panel/Controller/Invoice.pm line 163.
at /usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 501#012)</b></i><br>
<br>
and in nginx/error.log the one a sent just before:<br>
<i><b>2015/03/02 14:24:22 [error] 15460#0: *4778 upstream timed out
(110: Connection timed out) while reading response header from
upstream, client: ::ffff:<myip>, server: , request: "POST
/invoice/create?back=https%3A%2F%2F<myurl>%3A1443%2Finvoice
HTTP/1.1", upstream:
"fastcgi://unix:/var/run/fastcgi/ngcp-panel.sock", host: "</b></i><i><b><i><b><myurl></b></i>:1443",
referrer: "<a class="moz-txt-link-freetext" href="https://">https://</a></b></i><i><b><i><b><myurl></b></i>:1443/invoice/create?back=https%3A%2F%2F</b></i><i><b><i><b><myurl></b></i>%3A1443%2Finvoice"</b></i><i><b><br>
</b></i><br>
<blockquote cite="mid:54F4622D.6030304@sipwise.com" type="cite"> <br>
What is expected number of the calls in this invoice?<br>
</blockquote>
around 7000 entries<br>
<br>
thanks for any other possibility<br>
fry<br>
<blockquote cite="mid:54F4622D.6030304@sipwise.com" type="cite"> <br>
Thanks in advance.<br>
<br>
Best regards,<br>
Irina<br>
<br>
<br>
<div class="moz-cite-prefix">On 02.03.2015 Monday 14:59, fry
wrote:<br>
</div>
<blockquote cite="mid:54F45EAE.7050101@friibii.ch" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">HI Irina,<br>
<br>
well, i still guess it's a time-out problem because of a lot
of entries in the database.. last month a got the same error
once, and then i tried it another time and then it worked..
but this mont here are even more entries to count in the
database..<br>
<br>
i'm running a bit older version (3.4.2) - i don't have this
logfiles.. can i enable theme someware?<br>
<br>
what i also saw in /var/log/ngcp/nginx/error.log:<br>
2015/03/01 16:59:07 [error] 15460#0: *318 upstream timed out
(110: Connection timed out) while reading response header from
upstream, client: ::ffff:<myipv4>, server: , request:
"POST
/invoice/create?back=https%3A%2F%2F<myurl>%3A1443%2Finvoice
HTTP/1.1", upstream:
"fastcgi://unix:/var/run/fastcgi/ngcp-panel.sock", host:
"<myurl>:1443", referrer: "<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="https://">https://</a><myurl>:1443/invoice/create?back=https%3A%2F%2F<myurl>%3A1443%2Finvoice"<br>
<br>
thanks<br>
fry<br>
<br>
<br>
Am 02.03.2015 um 01:02 schrieb Irina Peshinskaya:<br>
</div>
<blockquote cite="mid:54F3A894.5040903@sipwise.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Dear Fry,<br>
<br>
What version do you use?<br>
<br>
From the code I see that error you pasted should be caused by
not selected customer, but in the same time interface would
return you invoice form with warning about empty customer
field in such case.<br>
<br>
I can suppose that error should be related to some specific DB
data or maybe some unexpected behavior from the browser side.<br>
<br>
Could you please send me following log files containing the
moment of the error:<br>
/var/log/ngcp/panel.log<br>
/var/log/ngcp/panel-debug.log<br>
<br>
Thanks in advance.<br>
<br>
Best regards,<br>
Irina<br>
<br>
<br>
<div class="moz-cite-prefix">On 01.03.2015 Sunday 17:59, fry
wrote:<br>
</div>
<blockquote cite="mid:54F3377E.1030602@friibii.ch" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
hi all,<br>
<br>
when i want to create the bill of last month, by one client
o got a timeout on the panel - and don't get a bill at all..
:-( all other clients oder mothes works fine..<br>
<br>
go following error on the panel: <b><i>504 Gateway Time-out</i></b><br>
ans following in oss.log: <b><i>"/usr/share/ngcp-panel/ngcp_panel_fastcgi.pl:
Rechnung erstellen Fehlgeschlagen
(DBIx::Class::Schema::txn_do(): Use of uninitialized
value $contract_id in concatenation (.) or string at
/usr/share/perl5/NGCP/Panel/Controller/Invoice.pm line
163. at /usr/share/perl5/Catalyst/Model/DBIC/Schema.pm
line 501#012)</i></b><b><i>"</i></b><br>
<br>
does anybody knwos this problem?<br>
<br>
thanks<br>
fry <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spce-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>