[Spce-user] timeout in creating a bill

Irina Peshinskaya ipeshinskaya at sipwise.com
Mon Mar 2 08:14:21 EST 2015


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.

What is expected number of the calls in this invoice?

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/da8dcbad/attachment-0001.html>


More information about the Spce-user mailing list