[Spce-user] timeout in creating a bill
fry
spce at friibii.ch
Mon Mar 2 08:44:06 EST 2015
Am 02.03.2015 um 14:14 schrieb Irina Peshinskaya:
> Hi Fry,
>
> 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.
there are not.. the only logs I found id in oss.log
/*Mar 2 14:24:33 sip /usr/share/ngcp-panel/ngcp_panel_fastcgi.pl: ***
Root::auto called*//*
*//*Mar 2 14:24:33 sip /usr/share/ngcp-panel/ngcp_panel_fastcgi.pl: ***
Root::auto grant access for authenticated user*//*
*//*Mar 2 14:24:33 sip /usr/share/ngcp-panel/ngcp_panel_fastcgi.pl:
NGCP::Panel::Controller::Invoice::auto*//*
*//*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)*/
and in nginx/error.log the one a sent just before:
/*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:
"*//*/*<myurl>*/:1443", referrer:
"https://*//*/*<myurl>*/:1443/invoice/create?back=https%3A%2F%2F*//*/*<myurl>*/%3A1443%2Finvoice"*//*
*/
>
> What is expected number of the calls in this invoice?
around 7000 entries
thanks for any other possibility
fry
>
> Thanks in advance.
>
> Best regards,
> Irina
>
>
> On 02.03.2015 Monday 14:59, fry wrote:
>> HI Irina,
>>
>> 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..
>>
>> i'm running a bit older version (3.4.2) - i don't have this
>> logfiles.. can i enable theme someware?
>>
>> what i also saw in /var/log/ngcp/nginx/error.log:
>> 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:
>> "https://<myurl>:1443/invoice/create?back=https%3A%2F%2F<myurl>%3A1443%2Finvoice"
>>
>> thanks
>> fry
>>
>>
>> Am 02.03.2015 um 01:02 schrieb Irina Peshinskaya:
>>> Dear Fry,
>>>
>>> What version do you use?
>>>
>>> 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.
>>>
>>> I can suppose that error should be related to some specific DB data
>>> or maybe some unexpected behavior from the browser side.
>>>
>>> Could you please send me following log files containing the moment
>>> of the error:
>>> /var/log/ngcp/panel.log
>>> /var/log/ngcp/panel-debug.log
>>>
>>> Thanks in advance.
>>>
>>> Best regards,
>>> Irina
>>>
>>>
>>> On 01.03.2015 Sunday 17:59, fry wrote:
>>>> hi all,
>>>>
>>>> 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..
>>>>
>>>> go following error on the panel: */504 Gateway Time-out/*
>>>> ans following in oss.log:
>>>> */"/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)/**/"/*
>>>>
>>>> does anybody knwos this problem?
>>>>
>>>> thanks
>>>> fry
>>>>
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150302/f06b8140/attachment-0001.html>
More information about the Spce-user
mailing list