[Spce-user] ngcp-fraud-daily-loc / 504 Gateway TimeOut

Jaime jaime at tnagroup.cl
Mon Jul 9 11:25:13 EDT 2018


Hi All,

I’m using SipWise mr4.5.4 version.
I would like to use the anti-fraud functionality, but I receive an authentication error when the anti-fraud script is run through the crontab.
The error that it gives is of authentication, I attach the error executing the script with the option -verbose.
Please, if you could guide me how to enable the correct functioning of the Antifraud script.

Thank you
Jaime

==========================
root at spce:/etc/cron.d#   /usr/sbin/ngcp-fraud-daily-lock -verbose
** GET https://127.0.0.1:1442/api/customerfraudevents/?interval=day ==> GET https://127.0.0.1:1442/api/customerfraudevents/?interval=day
User-Agent: libwww-perl/6.08
Content-Type: application/json
NGCP-UserAgent: NGCP::API::Client
Prefer: return=representation

(no content)
HTTP/1.1 401 Unauthorized
Connection: close
Date: Mon, 09 Jul 2018 15:16:47 GMT
Server: nginx
WWW-Authenticate: Basic realm="api_admin_system"
Content-Length: 23
Content-Type: text/plain; charset=UTF-8
Client-Date: Mon, 09 Jul 2018 15:16:47 GMT
Client-Peer: 127.0.0.1:1442
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise GmbH/emailAddress=service at sipwise.com
Client-SSL-Cert-Subject: /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise GmbH/emailAddress=service at sipwise.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: ngcp_panel_session=38bce7063f1b8cba48ac152bbba15738933a3102; path=/; expires=Mon, 09-Jul-2018 16:16:47 GMT; HttpOnly
X-Catalyst: 5.90075

Authorization required.
401 Unauthorized
** GET https://127.0.0.1:1442/api/customerfraudevents/?interval=day ==> GET https://127.0.0.1:1442/api/customerfraudevents/?interval=day
Authorization: Basic c3lzdGVtOnRYWXp3emR2ZkFUSmliV2o0ZHEz
User-Agent: libwww-perl/6.08
Content-Type: application/json
NGCP-UserAgent: NGCP::API::Client
Prefer: return=representation

(no content)
HTTP/1.1 504 Gateway Time-out
Connection: close
Date: Mon, 09 Jul 2018 15:17:47 GMT
Server: nginx
Content-Length: 176
Content-Type: text/html
Client-Date: Mon, 09 Jul 2018 15:17:47 GMT
Client-Peer: 127.0.0.1:1442
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise GmbH/emailAddress=service at sipwise.com
Client-SSL-Cert-Subject: /C=AT/ST=Some-State/O=Sipwise GmbH/CN=Sipwise GmbH/emailAddress=service at sipwise.com
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
Title: 504 Gateway Time-out

<html>\r
<head><title>504 Gateway Time-out</title></head>\r
<body bgcolor="white">\r
<center><h1>504 Gateway Time-out</h1></center>\r
<hr><center>nginx</center>\r
</body>\r
</html>\r\n
504 Gateway Time-out (60s)
504 Gateway Time-out <html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
root at spce:/etc/cron.d# 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20180709/75826de9/attachment.html>


More information about the Spce-user mailing list