Skip to content

Instantly share code, notes, and snippets.

@lfdominguez
Created January 29, 2019 15:04
Show Gist options
  • Save lfdominguez/71d53a03d7db42793d1d538a147958ac to your computer and use it in GitHub Desktop.
Save lfdominguez/71d53a03d7db42793d1d538a147958ac to your computer and use it in GitHub Desktop.
Alerta-Web log
2019-01-29 09:42:17,188 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:42:18,192 INFO spawned: 'heartbeats' with pid 7844,
2019-01-29 09:42:19,194 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:42:40,612 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3399/5933] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:42:40 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:42:40,616 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:42:40 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
2019/01/29 09:42:40 [info] 72#72: *13092 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:42:40,628 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:42:40,643 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:42:40,644 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:42:40,651 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3400/5934] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:42:40 2019] GET /api/management/housekeeping => generated 113 bytes in 30 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:42:40,652 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:42:40,652 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:42:40 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:42:40,652 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:42:40 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:42:40,655 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:42:40,671 DEBG 'nginx' stdout output:,
2019/01/29 09:42:40 [info] 72#72: *13094 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:42:40,696 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206650886624 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:42:40,697 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:42:40,697 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:42:41,701 INFO spawned: 'housekeeping' with pid 7846,
2019-01-29 09:42:42,703 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:43:18,536 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3401/5935] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:43:18 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:43:18,540 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:43:18 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:43:18,544 DEBG 'nginx' stdout output:,
2019/01/29 09:43:18 [info] 72#72: *13096 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:43:18,549 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:43:18,554 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:43:18,561 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:43:18 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:43:18,562 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:43:18,562 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1641/5936] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:43:18 2019] GET /api/heartbeats => generated 113 bytes in 14 msecs (HTTP/1.1 401) 4 headers in 143 bytes (2 switches on core 0),
,
2019-01-29 09:43:18,563 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:43:18 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:43:18,563 DEBG 'heartbeats' stdout output:,
header: Vary: Origin,
,
2019-01-29 09:43:18,565 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:43:18,578 DEBG 'nginx' stdout output:,
2019/01/29 09:43:18 [info] 72#72: *13098 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:43:18,604 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206651458120 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:43:18,605 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:43:18,605 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:43:19,608 INFO spawned: 'heartbeats' with pid 7848,
2019-01-29 09:43:20,610 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:43:42,018 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1642/5937] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:43:42 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:43:42,019 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:43:42 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:43:42,026 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:43:42,029 DEBG 'nginx' stdout output:,
2019/01/29 09:43:42 [info] 72#72: *13100 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:43:42,043 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:43:42,043 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:43:42,052 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:43:42 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:43:42,052 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:43:42,053 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:43:42,053 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1643/5938] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:43:42 2019] GET /api/management/housekeeping => generated 113 bytes in 24 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:43:42,054 DEBG 'housekeeping' stdout output:,
header: Date: Tue, 29 Jan 2019 09:43:42 GMT,
,
2019-01-29 09:43:42,054 DEBG 'housekeeping' stdout output:,
header: Content-Type: application/json,
,
2019-01-29 09:43:42,054 DEBG 'housekeeping' stdout output:,
header: Content-Length: 113,
,
2019-01-29 09:43:42,055 DEBG 'housekeeping' stdout output:,
header: Connection: keep-alive,
,
2019-01-29 09:43:42,055 DEBG 'housekeeping' stdout output:,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:43:42,056 DEBG 'housekeeping' stdout output:,
header: Vary: Origin,
,
2019-01-29 09:43:42,058 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:43:42,070 DEBG 'nginx' stdout output:,
2019/01/29 09:43:42 [info] 72#72: *13102 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:43:42,101 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206652025240 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:43:42,101 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:43:42,101 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:43:43,105 INFO spawned: 'housekeeping' with pid 7850,
2019-01-29 09:43:44,107 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:44:19,951 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3402/5939] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:44:19 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:44:19,955 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:44:19 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:44:19,960 DEBG 'nginx' stdout output:,
2019/01/29 09:44:19 [info] 72#72: *13104 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:44:19,960 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:44:19,968 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:44:19,987 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:44:19 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:44:19,993 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3403/5940] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:44:19 2019] GET /api/heartbeats => generated 113 bytes in 16 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:44:19,993 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:44:19 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
2019/01/29 09:44:19 [info] 72#72: *13106 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:44:20,026 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650741032 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:44:20,026 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:44:20,026 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:44:21,030 INFO spawned: 'heartbeats' with pid 7852,
2019-01-29 09:44:22,032 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:44:43,429 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3404/5941] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:44:43 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:44:43,430 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:44:43 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:44:43,432 DEBG 'nginx' stdout output:,
2019/01/29 09:44:43 [info] 72#72: *13108 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:44:43,439 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:44:43,443 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:44:43,452 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3405/5942] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:44:43 2019] GET /api/management/housekeeping => generated 113 bytes in 15 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:44:43,452 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:44:43,453 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:44:43 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:44:43,453 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:44:43 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:44:43,458 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:44:43,468 DEBG 'nginx' stdout output:,
2019/01/29 09:44:43 [info] 72#72: *13110 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:44:43,495 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651407608 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:44:43,495 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:44:43,501 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:44:44,505 INFO spawned: 'housekeeping' with pid 7854,
2019-01-29 09:44:45,507 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:45:21,366 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3406/5943] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:45:21 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:45:21,367 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:45:21 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:45:21,373 DEBG 'nginx' stdout output:,
2019/01/29 09:45:21 [info] 72#72: *13112 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:45:21,379 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:45:21,396 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:45:21,396 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:45:21,404 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:45:21 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:45:21,405 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1644/5944] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:45:21 2019] GET /api/heartbeats => generated 113 bytes in 24 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:45:21,405 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:45:21,405 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:45:21,406 DEBG 'heartbeats' stdout output:,
header: Date: Tue, 29 Jan 2019 09:45:21 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:45:21,406 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:45:21,407 DEBG 'heartbeats' stdout output:,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:45:21,422 DEBG 'nginx' stdout output:,
2019/01/29 09:45:21 [info] 72#72: *13114 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:45:21,452 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206653463944 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:45:21,452 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:45:21,453 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:45:22,457 INFO spawned: 'heartbeats' with pid 7856,
2019-01-29 09:45:23,460 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:45:44,822 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3407/5945] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:45:44 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:45:44,827 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:45:44 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
2019/01/29 09:45:44 [info] 72#72: *13116 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:45:44,831 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:45:44,838 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:45:44,845 DEBG 'uwsgi' stdout output:,
[pid: 1910|app: 0|req: 257/5946] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:45:44 2019] GET /api/management/housekeeping => generated 113 bytes in 14 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:45:44,845 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:45:44 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:45:44,848 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:45:44,849 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:45:44 GMT,
,
2019-01-29 09:45:44,850 DEBG 'housekeeping' stdout output:,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:45:44,850 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:45:44,862 DEBG 'nginx' stdout output:,
2019/01/29 09:45:44 [info] 72#72: *13118 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:45:44,890 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206650955464 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:45:44,890 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:45:44,891 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:45:45,894 INFO spawned: 'housekeeping' with pid 7858,
2019-01-29 09:45:46,898 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:46:22,798 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3408/5947] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:46:22 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:46:22,799 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:46:22 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:46:22,804 DEBG 'nginx' stdout output:,
2019/01/29 09:46:22 [info] 72#72: *13120 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:46:22,810 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:46:22,816 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:46:22,823 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1645/5948] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:46:22 2019] GET /api/heartbeats => generated 113 bytes in 12 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:46:22,826 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:46:22 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:46:22,827 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:46:22 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:46:22,839 DEBG 'nginx' stdout output:,
2019/01/29 09:46:22 [info] 72#72: *13122 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:46:22,866 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650743696 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:46:22,867 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:46:22,867 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:46:23,871 INFO spawned: 'heartbeats' with pid 7860,
2019-01-29 09:46:24,872 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:46:46,214 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3409/5949] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:46:46 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:46:46,218 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:46:46 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
2019/01/29 09:46:46 [info] 72#72: *13124 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:46:46,227 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:46:46,244 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:46:46,244 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:46:46,251 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:46:46 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:46:46,251 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1646/5950] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:46:46 2019] GET /api/management/housekeeping => generated 113 bytes in 23 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:46:46,252 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:46:46,252 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:46:46,253 DEBG 'housekeeping' stdout output:,
header: Date: Tue, 29 Jan 2019 09:46:46 GMT,
,
2019-01-29 09:46:46,253 DEBG 'housekeeping' stdout output:,
header: Content-Type: application/json,
,
2019-01-29 09:46:46,253 DEBG 'housekeeping' stdout output:,
header: Content-Length: 113,
,
2019-01-29 09:46:46,253 DEBG 'housekeeping' stdout output:,
header: Connection: keep-alive,
,
2019-01-29 09:46:46,254 DEBG 'housekeeping' stdout output:,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:46:46,254 DEBG 'housekeeping' stdout output:,
header: Vary: Origin,
,
2019-01-29 09:46:46,255 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:46:46,269 DEBG 'nginx' stdout output:,
2019/01/29 09:46:46 [info] 72#72: *13126 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:46:46,302 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206650956112 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:46:46,303 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:46:46,303 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:46:47,307 INFO spawned: 'housekeeping' with pid 7862,
2019-01-29 09:46:48,309 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:47:24,214 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3410/5951] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:47:24 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:47:24,214 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:47:24 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:47:24,219 DEBG 'nginx' stdout output:,
2019/01/29 09:47:24 [info] 72#72: *13128 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:47:24,224 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:47:24,230 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:47:24,237 DEBG 'uwsgi' stdout output:,
[pid: 1909|app: 0|req: 294/5952] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:47:24 2019] GET /api/heartbeats => generated 113 bytes in 11 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:47:24,239 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:47:24 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:47:24,240 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:47:24,241 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:47:24,241 DEBG 'heartbeats' stdout output:,
header: Date: Tue, 29 Jan 2019 09:47:24 GMT,
,
2019-01-29 09:47:24,241 DEBG 'heartbeats' stdout output:,
header: Content-Type: application/json,
,
2019-01-29 09:47:24,242 DEBG 'heartbeats' stdout output:,
header: Content-Length: 113,
,
2019-01-29 09:47:24,242 DEBG 'heartbeats' stdout output:,
header: Connection: keep-alive,
,
2019-01-29 09:47:24,244 DEBG 'heartbeats' stdout output:,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:47:24,248 DEBG 'heartbeats' stdout output:,
header: Vary: Origin,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:47:24,260 DEBG 'nginx' stdout output:,
2019/01/29 09:47:24 [info] 72#72: *13130 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:47:24,287 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206653463944 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:47:24,287 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:47:24,287 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:47:25,291 INFO spawned: 'heartbeats' with pid 7864,
2019-01-29 09:47:26,293 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:47:47,621 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3411/5953] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:47:47 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:47:47,621 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:47:47 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:47:47,627 DEBG 'nginx' stdout output:,
2019/01/29 09:47:47 [info] 72#72: *13132 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:47:47,631 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:47:47,639 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:47:47,653 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1647/5954] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:47:47 2019] GET /api/management/housekeeping => generated 113 bytes in 19 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:47:47,653 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:47:47,653 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:47:47 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:47:47,654 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:47:47 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:47:47,657 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:47:47,673 DEBG 'nginx' stdout output:,
2019/01/29 09:47:47 [info] 72#72: *13134 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:47:47,704 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651252104 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:47:47,704 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:47:47,704 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:47:48,708 INFO spawned: 'housekeeping' with pid 7866,
2019-01-29 09:47:49,710 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:48:25,632 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1648/5955] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:48:25 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:48:25,633 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:48:25 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:48:25,636 DEBG 'nginx' stdout output:,
2019/01/29 09:48:25 [info] 72#72: *13136 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:48:25,644 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:48:25,651 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:48:25,662 DEBG 'uwsgi' stdout output:,
[pid: 1911|app: 0|req: 346/5956] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:48:25 2019] GET /api/heartbeats => generated 113 bytes in 20 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:48:25,662 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:48:25 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:48:25,662 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:48:25,665 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:48:25,666 DEBG 'heartbeats' stdout output:,
header: Date: Tue, 29 Jan 2019 09:48:25 GMT,
,
2019-01-29 09:48:25,670 DEBG 'heartbeats' stdout output:,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:48:25,683 DEBG 'nginx' stdout output:,
2019/01/29 09:48:25 [info] 72#72: *13138 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:48:25,710 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650955536 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:48:25,710 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:48:25,710 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:48:26,714 INFO spawned: 'heartbeats' with pid 7868,
2019-01-29 09:48:27,716 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:48:49,028 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1649/5957] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:48:49 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:48:49,028 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:48:49 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:48:49,035 DEBG 'nginx' stdout output:,
2019/01/29 09:48:49 [info] 72#72: *13140 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:48:49,035 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:48:49,044 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:48:49,051 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3412/5958] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:48:49 2019] GET /api/management/housekeeping => generated 113 bytes in 15 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:48:49,052 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:48:49,052 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:48:49 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:48:49,052 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:48:49 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:48:49,053 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:48:49,080 DEBG 'nginx' stdout output:,
2019/01/29 09:48:49 [info] 72#72: *13142 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:48:49,113 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206652024880 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:48:49,113 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:48:49,113 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:48:50,117 INFO spawned: 'housekeeping' with pid 7870,
2019-01-29 09:48:51,124 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:49:27,056 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3413/5959] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:49:27 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:49:27,056 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:49:27 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:49:27,067 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:49:27,074 DEBG 'nginx' stdout output:,
2019/01/29 09:49:27 [info] 72#72: *13144 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:49:27,074 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:49:27,083 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1650/5960] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:49:27 2019] GET /api/heartbeats => generated 113 bytes in 18 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:49:27,083 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:49:27,084 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:49:27 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:49:27,085 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
,
2019-01-29 09:49:27,086 DEBG 'heartbeats' stdout output:,
header: Date: Tue, 29 Jan 2019 09:49:27 GMT,
,
2019-01-29 09:49:27,086 DEBG 'heartbeats' stdout output:,
header: Content-Type: application/json,
,
2019-01-29 09:49:27,089 DEBG 'heartbeats' stdout output:,
header: Content-Length: 113,
,
2019-01-29 09:49:27,089 DEBG 'heartbeats' stdout output:,
header: Connection: keep-alive,
,
2019-01-29 09:49:27,091 DEBG 'heartbeats' stdout output:,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:49:27,092 DEBG 'heartbeats' stdout output:,
header: Vary: Origin,
,
2019-01-29 09:49:27,093 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
2019-01-29 09:49:27,094 DEBG 'heartbeats' stdout output:,
,
,
2019-01-29 09:49:27,094 DEBG 'heartbeats' stdout output:,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:49:27,111 DEBG 'nginx' stdout output:,
2019/01/29 09:49:27 [info] 72#72: *13146 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:49:27,138 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206652025240 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:49:27,138 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:49:27,138 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:49:28,142 INFO spawned: 'heartbeats' with pid 7872,
2019-01-29 09:49:29,150 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:49:50,622 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:49:50 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:49:50,622 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1651/5961] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:49:50 2019] GET /api/config => generated 690 bytes in 4 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:49:50,626 DEBG 'nginx' stdout output:,
2019/01/29 09:49:50 [info] 72#72: *13148 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:49:50,630 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:49:50,653 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:49:50,668 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3414/5962] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:49:50 2019] GET /api/management/housekeeping => generated 113 bytes in 36 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:49:50,669 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:49:50 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:49:50,669 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:49:50 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:49:50,673 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:49:50,702 DEBG 'nginx' stdout output:,
2019/01/29 09:49:50 [info] 72#72: *13150 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:49:50,738 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651407608 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:49:50,738 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:49:50,738 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:49:51,741 INFO spawned: 'housekeeping' with pid 7874,
2019-01-29 09:49:52,744 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:50:28,705 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3415/5963] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:50:28 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:50:28,705 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:50:28 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:50:28,714 DEBG 'nginx' stdout output:,
2019/01/29 09:50:28 [info] 72#72: *13152 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:50:28,722 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:50:28,732 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:50:28,733 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:50:28,745 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1652/5964] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:50:28 2019] GET /api/heartbeats => generated 113 bytes in 20 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:50:28,745 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:50:28 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:50:28,745 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:50:28 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
,
2019-01-29 09:50:28,745 DEBG 'heartbeats' stdout output:,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:50:28,747 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:50:28,747 DEBG 'heartbeats' stdout output:,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:50:28,782 DEBG 'nginx' stdout output:,
2019/01/29 09:50:28 [info] 72#72: *13154 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:50:28,835 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206651458120 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:50:28,835 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:50:28,835 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:50:29,840 INFO spawned: 'heartbeats' with pid 7876,
2019-01-29 09:50:30,843 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:50:52,245 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3416/5965] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:50:52 2019] GET /api/config => generated 690 bytes in 4 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:50:52,246 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:50:52 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:50:52,253 DEBG 'nginx' stdout output:,
2019/01/29 09:50:52 [info] 72#72: *13156 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:50:52,260 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:50:52,267 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:50:52,273 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:50:52 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:50:52,273 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:50:52,274 DEBG 'housekeeping' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:50:52 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:50:52,275 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:50:52,277 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1653/5966] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:50:52 2019] GET /api/management/housekeeping => generated 113 bytes in 12 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:50:52,291 DEBG 'nginx' stdout output:,
2019/01/29 09:50:52 [info] 72#72: *13158 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:50:52,352 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206650956112 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:50:52,352 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:50:52,352 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:50:53,358 INFO spawned: 'housekeeping' with pid 7878,
2019-01-29 09:50:54,360 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:51:30,408 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3417/5967] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:51:30 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:51:30,409 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:51:30 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:51:30,412 DEBG 'nginx' stdout output:,
2019/01/29 09:51:30 [info] 72#72: *13160 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:51:30,416 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:51:30,429 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:51:30,435 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:51:30 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:51:30,435 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:51:30,435 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:51:30 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:51:30,443 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:51:30,444 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3418/5968] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:51:30 2019] GET /api/heartbeats => generated 113 bytes in 19 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:51:30,453 DEBG 'nginx' stdout output:,
2019/01/29 09:51:30 [info] 72#72: *13162 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:51:30,508 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650955464 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:51:30,510 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:51:30,510 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:51:31,514 INFO spawned: 'heartbeats' with pid 7880,
2019-01-29 09:51:32,516 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:51:53,896 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:51:53 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:51:53,897 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3419/5969] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:51:53 2019] GET /api/config => generated 690 bytes in 8 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:51:53,897 DEBG 'nginx' stdout output:,
2019/01/29 09:51:53 [info] 72#72: *13164 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:51:53,912 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:51:53,914 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:51:53,927 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:51:53 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:51:53,927 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:51:53 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:51:53,929 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3420/5970] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:51:53 2019] GET /api/management/housekeeping => generated 113 bytes in 18 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:51:53,964 DEBG 'nginx' stdout output:,
2019/01/29 09:51:53 [info] 72#72: *13166 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:51:54,015 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651252104 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:51:54,016 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:51:54,016 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:51:55,021 INFO spawned: 'housekeeping' with pid 7882,
2019-01-29 09:51:56,026 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:52:32,083 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3421/5971] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:52:32 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:52:32,084 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:52:32 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:52:32,090 DEBG 'nginx' stdout output:,
2019/01/29 09:52:32 [info] 72#72: *13168 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:52:32,096 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:52:32,110 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:52:32,111 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:52:32,120 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3422/5972] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:52:32 2019] GET /api/heartbeats => generated 113 bytes in 22 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:52:32,120 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:52:32 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:52:32,120 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:52:32,120 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:52:32 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:52:32,122 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:52:32,122 DEBG 'heartbeats' stdout output:,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:52:32,137 DEBG 'nginx' stdout output:,
2019/01/29 09:52:32 [info] 72#72: *13170 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:52:32,179 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206653463944 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:52:32,180 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:52:32,180 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:52:33,184 INFO spawned: 'heartbeats' with pid 7884,
2019-01-29 09:52:34,186 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:52:55,592 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3423/5973] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:52:55 2019] GET /api/config => generated 690 bytes in 7 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:52:55,593 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:52:55 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
2019/01/29 09:52:55 [info] 72#72: *13172 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:52:55,604 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:52:55,612 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:52:55,620 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:52:55 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:52:55,620 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:52:55 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:52:55,623 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:52:55,629 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3424/5974] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:52:55 2019] GET /api/management/housekeeping => generated 113 bytes in 19 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:52:55,678 DEBG 'nginx' stdout output:,
2019/01/29 09:52:55 [info] 72#72: *13174 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:52:55,771 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651252104 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:52:55,772 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:52:55,772 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:52:56,777 INFO spawned: 'housekeeping' with pid 7886,
2019-01-29 09:52:57,779 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:53:25,102 DEBG 'uwsgi' stdout output:,
INFO:flask.app:Webhook Request:,
POST http://192.168.0.201:8080/api/webhooks/prometheus,
,
Content-Type: application/json
,
Content-Length: 1071
,
Host: 192.168.0.201:8080
,
User-Agent: Go-http-client/1.1
,
Accept-Encoding: gzip
,
,
{"receiver":"alerta_system","status":"firing","alerts":[{"status":"firing","labels":{"alertname":"HighMemoryUsage","group":"proxmox","instance":"nodo_proxmox_46","job":"proxmox_node","monitor":"example","severity":"critical"},"annotations":{"description":"El nodo nodo_proxmox_46 tiene un uso del 72.4% de su RAM ocupada.","summary":"Uso de RAM en nodo_proxmox_46","value":"72.4"},"startsAt":"2019-01-29T14:56:04.977006014Z","endsAt":"0001-01-01T00:00:00Z","generatorURL":"http://prometheus:9090/graph?g0.expr=100+-+%28%28node_memory_MemAvailable_bytes+%2A+100%29+%2F+node_memory_MemTotal_bytes%29+%3E+68\u0026g0.tab=1"}],"groupLabels":{"alertname":"HighMemoryUsage"},"commonLabels":{"alertname":"HighMemoryUsage","group":"proxmox","instance":"nodo_proxmox_46","job":"proxmox_node","monitor":"example","severity":"critical"},"commonAnnotations":{"description":"El nodo nodo_proxmox_46 tiene un uso del 72.4% de su RAM ocupada.","summary":"Uso de RAM en nodo_proxmox_46","value":"72.4"},"externalURL":"http://prometheus:9093","version":"3","groupKey":2587700644907796556},
,
,
2019-01-29 09:53:25,109 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT *,
FROM blackouts,
WHERE start_time <= NOW() at time zone 'utc' AND end_time > NOW() at time zone 'utc',
AND environment='Production',
AND (,
(resource IS NULL AND service='{}' AND event IS NULL AND "group" IS NULL AND tags='{}'),
OR ( resource IS NULL AND service='{}' AND event IS NULL AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service='{}' AND event IS NULL AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource IS NULL AND service='{}' AND event IS NULL AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service='{}' AND event='HighMemoryUsage' AND "group" IS NULL AND tags='{}' ),
OR ( resource IS NULL AND service='{}' AND event='HighMemoryUsage' AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service='{}' AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource IS NULL AND service='{}' AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event IS NULL AND "group" IS NULL AND tags='{}' ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event IS NULL AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event IS NULL AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event IS NULL AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group" IS NULL AND tags='{}' ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource IS NULL AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event IS NULL AND "group" IS NULL AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event IS NULL AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event IS NULL AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event IS NULL AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event='HighMemoryUsage' AND "group" IS NULL AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event='HighMemoryUsage' AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service='{}' AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event IS NULL AND "group" IS NULL AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event IS NULL AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event IS NULL AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event IS NULL AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group" IS NULL AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group" IS NULL AND tags <@ ARRAY['group=proxmox'] ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags='{}' ),
OR ( resource='nodo_proxmox_46' AND service <@ ARRAY[''] AND event='HighMemoryUsage' AND "group"='proxmox_node' AND tags <@ ARRAY['group=proxmox'] ),
),
,
****************************************,
,
2019-01-29 09:53:25,216 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT id FROM alerts,
WHERE environment='Production',
AND resource='nodo_proxmox_46',
AND event='HighMemoryUsage',
AND severity='critical',
AND customer IS NULL,
,
****************************************,
,
2019-01-29 09:53:25,369 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT id FROM alerts,
WHERE environment='Production' AND resource='nodo_proxmox_46',
AND ((event='HighMemoryUsage' AND severity!='critical'),
OR (event!='HighMemoryUsage' AND 'HighMemoryUsage'=ANY(correlate))),
AND customer IS NULL,
,
****************************************,
,
2019-01-29 09:53:25,373 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT severity FROM alerts,
WHERE environment='Production' AND resource='nodo_proxmox_46',
AND ((event='HighMemoryUsage' AND severity!='critical'),
OR (event!='HighMemoryUsage' AND 'HighMemoryUsage'=ANY(correlate))),
AND customer IS NULL,
,
****************************************,
,
2019-01-29 09:53:25,378 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT resource, environment, service, "group", tags, attributes, origin, customer, h.*,
FROM alerts, unnest(history[1:100]) h,
WHERE environment='Production' AND resource='nodo_proxmox_46',
AND (h.event='HighMemoryUsage' OR 'HighMemoryUsage'=ANY(correlate)),
AND customer IS NULL,
ORDER BY update_time DESC,
LIMIT 100 OFFSET 0,
****************************************,
2019-01-29 09:53:25,378 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:53:25,445 DEBG 'uwsgi' stdout output:,
INFO:flask.app:State Transition: Rule #CLS-3 STATE=closed ACTION= SET=open SEVERITY=normal -> critical HISTORY=open -> closed => SEVERITY=normal , STATUS=open ,
,
2019-01-29 09:53:25,448 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
UPDATE alerts,
SET event='HighMemoryUsage', severity='critical', status='open', value='72.4', text='El nodo nodo_proxmox_46 tiene un uso del 72.4% de su RAM ocupada.',,
create_time='2019-01-29T14:56:04.977Z', timeout=86400, raw_data='{"status": "firing", "labels": {"alertname": "HighMemoryUsage", "group": "proxmox", "instance": "nodo_proxmox_46", "job": "proxmox_node", "monitor": "example", "severity": "critical"}, "annotations": {"description": "El nodo nodo_proxmox_46 tiene un uso del 72.4% de su RAM ocupada.", "summary": "Uso de RAM en nodo_proxmox_46", "value": "72.4"}, "startsAt": "2019-01-29T14:56:04.977006014Z", "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "http://prometheus:9090/graph?g0.expr=100+-+%28%28node_memory_MemAvailable_bytes+%2A+100%29+%2F+node_memory_MemTotal_bytes%29+%3E+68&g0.tab=1"}', duplicate_count=0,,
repeat=false, previous_severity='normal', trend_indication='moreSevere',,
receive_time='2019-01-29T09:53:25.372Z', last_receive_id='f2839186-9b5c-4a78-838f-d82df0b3547b',,
last_receive_time='2019-01-29T09:53:25.372Z', tags=ARRAY(SELECT DISTINCT UNNEST(tags || ARRAY['group=proxmox'])),,
attributes=attributes || '{"externalUrl": "http://prometheus:9093", "moreInfo": "<a href=\"http://prometheus:9090/graph?g0.expr=100+-+%28%28node_memory_MemAvailable_bytes+%2A+100%29+%2F+node_memory_MemTotal_bytes%29+%3E+68&g0.tab=1\" target=\"_blank\">Prometheus Graph</a>", "ip": "10.255.0.2"}', history=(ARRAY[('f2839186-9b5c-4a78-838f-d82df0b3547b', 'HighMemoryUsage', 'critical', 'open', '72.4', 'correlated alert', 'severity', '2019-01-29T14:56:04.977Z'::timestamp)::history] || history)[1:100],
WHERE environment='Production',
AND resource='nodo_proxmox_46',
AND ((event='HighMemoryUsage' AND severity!='critical') OR (event!='HighMemoryUsage' AND 'HighMemoryUsage'=ANY(correlate))),
AND customer IS NULL,
RETURNING *,
,
****************************************,
2019-01-29 09:53:25,449 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:53:25,496 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:53:25 +0000] "\POST /api/webhooks/prometheus HTTP/1.1" \201 \1252 "\-" "\Go-http-client/1.1",
2019/01/29 09:53:25 [info] 72#72: *13176 client 10.255.0.2 closed keepalive connection,
,
2019-01-29 09:53:25,497 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3425/5975] 10.255.0.2 () {38 vars in 494 bytes} [Tue Jan 29 09:53:25 2019] POST /api/webhooks/prometheus => generated 1252 bytes in 395 msecs (HTTP/1.1 201) 5 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:53:33,735 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:53:33 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:53:33,736 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1654/5976] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:53:33 2019] GET /api/config => generated 690 bytes in 5 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:53:33,749 DEBG 'nginx' stdout output:,
2019/01/29 09:53:33 [info] 72#72: *13178 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:53:33,753 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:53:33,770 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:53:33,771 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:53:33,780 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:53:33 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:53:33,785 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:53:33 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:53:33,789 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3426/5977] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:53:33 2019] GET /api/heartbeats => generated 113 bytes in 19 msecs (HTTP/1.1 401) 4 headers in 143 bytes (2 switches on core 0),
,
2019-01-29 09:53:33,805 DEBG 'nginx' stdout output:,
2019/01/29 09:53:33 [info] 72#72: *13180 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:53:33,866 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650955536 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:53:33,868 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:53:33,868 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:53:34,871 INFO spawned: 'heartbeats' with pid 7888,
2019-01-29 09:53:35,874 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:53:57,336 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1655/5978] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:53:57 2019] GET /api/config => generated 690 bytes in 5 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:53:57,337 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:53:57 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:53:57,340 DEBG 'nginx' stdout output:,
2019/01/29 09:53:57 [info] 72#72: *13182 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:53:57,343 DEBG 'housekeeping' stdout output:,
send: b'GET /api/management/housekeeping HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:53:57,356 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
,
2019-01-29 09:53:57,366 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:53:57 +0000] "\GET /api/management/housekeeping HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:53:57,368 DEBG 'housekeeping' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:53:57 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
header: Vary: Origin,
,
2019-01-29 09:53:57,369 DEBG 'housekeeping' stdout output:,
Error: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
,
2019-01-29 09:53:57,377 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3427/5979] 127.0.0.1 () {40 vars in 503 bytes} [Tue Jan 29 09:53:57 2019] GET /api/management/housekeeping => generated 113 bytes in 22 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:53:57,392 DEBG 'nginx' stdout output:,
2019/01/29 09:53:57 [info] 72#72: *13184 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:53:57,425 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140206651252104 for <Subprocess at 140206652024304 with name housekeeping in state RUNNING> (stdout)>,
2019-01-29 09:53:57,426 INFO exited: housekeeping (exit status 1; not expected),
2019-01-29 09:53:57,426 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:53:58,432 INFO spawned: 'housekeeping' with pid 7890,
2019-01-29 09:53:59,435 INFO success: housekeeping entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2019-01-29 09:54:23,467 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET / HTTP/1.1" \304 \0 "\-" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,752 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/services.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,754 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/angular.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,757 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/angular-resource.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/angular-sanitize.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/filters.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,759 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/angular-route.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,763 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/app.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/auth.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/bootstrap.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,765 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/config.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/directives.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,766 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/routes.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,768 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /css/app.css HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,782 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/satellizer.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,861 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/jquery.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,864 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /js/controllers.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,868 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/js/bootstrap.min.js HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:23,894 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:23 +0000] "\GET /vendor/css/bootstrap.min.css HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,052 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /vendor/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/vendor/css/bootstrap.min.css" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,056 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /fonts/SonsieOne-Regular.ttf HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/css/app.css" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,091 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /fonts/Sintony-Regular.ttf HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/css/app.css" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,152 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /config.json HTTP/1.1" \304 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,185 DEBG 'nginx' stdout output:,
2019/01/29 09:54:24 [error] 72#72: *13187 open() "/web/favicon.ico" failed (2: No such file or directory), client: 10.255.0.2, server: , request: "GET /favicon.ico HTTP/1.1", host: "swarm.mtz.desoft.cu:8080", referrer: "http://swarm.mtz.desoft.cu:8080/",
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /favicon.ico HTTP/1.1" \404 \200 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,213 DEBG 'uwsgi' stdout output:,
[pid: 1909|app: 0|req: 295/5980] 10.255.0.2 () {46 vars in 765 bytes} [Tue Jan 29 09:54:24 2019] GET /api/config => generated 698 bytes in 6 msecs (HTTP/1.1 200) 6 headers in 180 bytes (2 switches on core 0),
,
2019-01-29 09:54:24,213 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /api/config HTTP/1.1" \200 \698 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,231 DEBG 'nginx' stdout output:,
2019/01/29 09:54:24 [error] 72#72: *13187 open() "/web/config.js" failed (2: No such file or directory), client: 10.255.0.2, server: , request: "HEAD /config.js HTTP/1.1", host: "swarm.mtz.desoft.cu:8080", referrer: "http://swarm.mtz.desoft.cu:8080/",
ip=\- [\29/Jan/2019:09:54:24 +0000] "\HEAD /config.js HTTP/1.1" \404 \0 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,313 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /partials/alert-list.html HTTP/1.1" \200 \2168 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,359 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3428/5981] 10.255.0.2 () {46 vars in 1467 bytes} [Tue Jan 29 09:54:24 2019] GET /api/services?status=open&status=unknown => generated 93 bytes in 3 msecs (HTTP/1.1 401) 4 headers in 142 bytes (2 switches on core 0),
,
2019-01-29 09:54:24,359 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /api/services?status=open&status=unknown HTTP/1.1" \401 \93 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,397 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /img/loading.gif HTTP/1.1" \200 \433 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,432 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /fonts/Sintony-Bold.ttf HTTP/1.1" \200 \26016 "\http://swarm.mtz.desoft.cu:8080/css/app.css" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:24,441 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:24 +0000] "\GET /partials/login.html HTTP/1.1" \200 \594 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:25,839 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
SELECT * FROM users WHERE email='luis.dominguez@mtz.desoft.cu',
****************************************,
,
2019-01-29 09:54:26,440 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
UPDATE users,
SET last_login=NOW() at time zone 'utc',
WHERE id='461f0a07-2db7-4ae3-9c76-1a8ffc9a5a45',
,
****************************************,
,
2019-01-29 09:54:26,480 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\POST /api/auth/login HTTP/1.1" \200 \470 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,481 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3429/5982] 10.255.0.2 () {52 vars in 1573 bytes} [Tue Jan 29 09:54:25 2019] POST /api/auth/login => generated 470 bytes in 655 msecs (HTTP/1.1 200) 4 headers in 119 bytes (2 switches on core 0),
,
2019-01-29 09:54:26,615 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT environment, svc, count(1) FROM alerts, UNNEST(service) svc,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY environment, svc,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:26,616 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,644 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 35, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 35,
RETURNING *,
,
****************************************,
2019-01-29 09:54:26,645 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,706 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\GET /api/services?status=open&status=unknown HTTP/1.1" \200 \145 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,706 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3430/5983] 10.255.0.2 () {46 vars in 1467 bytes} [Tue Jan 29 09:54:26 2019] GET /api/services?status=open&status=unknown => generated 145 bytes in 99 msecs (HTTP/1.1 200) 4 headers in 133 bytes (2 switches on core 0),
,
2019-01-29 09:54:26,841 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT severity, COUNT(*) FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:26.826Z',
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY severity,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:26,843 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT severity, COUNT(*) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY severity,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:26,844 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT environment, count(1) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY environment,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:26,849 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT status, COUNT(*) FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:26.826Z',
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY status,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:26,850 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT environment, count(1) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY environment,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:26,850 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,851 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT status, COUNT(*) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY status,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:26,854 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:26.826Z',
AND "status"=ANY(ARRAY['open','unknown']),
ORDER BY last_receive_time DESC,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:26,854 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,863 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 27, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 27,
RETURNING *,
,
****************************************,
2019-01-29 09:54:26,865 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'counts', 'Count alerts', 'Total time and number of count queries', 1, 42, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 42,
RETURNING *,
,
****************************************,
,
2019-01-29 09:54:26,866 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 41, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 41,
RETURNING *,
,
****************************************,
,
2019-01-29 09:54:26,868 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 51, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 51,
RETURNING *,
,
****************************************,
2019-01-29 09:54:26,869 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,874 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:26,892 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\GET /api/environments?status=open&status=unknown HTTP/1.1" \200 \127 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,893 DEBG 'uwsgi' stdout output:,
[pid: 1909|app: 0|req: 296/5984] 10.255.0.2 () {46 vars in 1475 bytes} [Tue Jan 29 09:54:26 2019] GET /api/environments?status=open&status=unknown => generated 127 bytes in 90 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:26,899 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\GET /api/alerts/count?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \146 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,900 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1656/5985] 10.255.0.2 () {46 vars in 1523 bytes} [Tue Jan 29 09:54:26 2019] GET /api/alerts/count?sort-by=lastReceiveTime&status=open&status=unknown => generated 146 bytes in 100 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:26,910 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\GET /api/environments?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \127 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,912 DEBG 'uwsgi' stdout output:,
[pid: 1910|app: 0|req: 258/5986] 10.255.0.2 () {46 vars in 1523 bytes} [Tue Jan 29 09:54:26 2019] GET /api/environments?sort-by=lastReceiveTime&status=open&status=unknown => generated 127 bytes in 101 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:26,934 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:26 +0000] "\GET /api/alerts?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \1337 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:26,934 DEBG 'uwsgi' stdout output:,
[pid: 1911|app: 0|req: 347/5987] 10.255.0.2 () {46 vars in 1511 bytes} [Tue Jan 29 09:54:26 2019] GET /api/alerts?sort-by=lastReceiveTime&status=open&status=unknown => generated 1337 bytes in 120 msecs (HTTP/1.1 200) 5 headers in 175 bytes (1 switches on core 0),
,
2019-01-29 09:54:31,814 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT environment, count(1) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY environment,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:31,815 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,819 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT severity, COUNT(*) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY severity,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:31,824 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 19, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 19,
RETURNING *,
,
****************************************,
2019-01-29 09:54:31,825 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,828 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT status, COUNT(*) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY status,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:31,831 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'counts', 'Count alerts', 'Total time and number of count queries', 1, 29, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 29,
RETURNING *,
,
****************************************,
,
2019-01-29 09:54:31,847 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT environment, count(1) FROM alerts,
WHERE 1=1,
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY environment,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:31,850 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT severity, COUNT(*) FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:31.838Z',
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY severity,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:31,851 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,857 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,862 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 30, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 30,
RETURNING *,
,
****************************************,
2019-01-29 09:54:31,864 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT status, COUNT(*) FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:31.838Z',
AND "status"=ANY(ARRAY['open','unknown']),
GROUP BY status,
LIMIT 1000 OFFSET 0,
****************************************,
2019-01-29 09:54:31,864 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,865 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:31,888 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM alerts,
WHERE 1=1,
AND last_receive_time <= '2019-01-29T09:54:31.838Z',
AND "status"=ANY(ARRAY['open','unknown']),
ORDER BY last_receive_time DESC,
LIMIT 1000 OFFSET 0,
****************************************,
,
2019-01-29 09:54:31,889 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1657/5988] 10.255.0.2 () {46 vars in 1475 bytes} [Tue Jan 29 09:54:31 2019] GET /api/environments?status=open&status=unknown => generated 127 bytes in 86 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:31,889 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:31 +0000] "\GET /api/environments?status=open&status=unknown HTTP/1.1" \200 \127 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:31,892 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:31 +0000] "\GET /api/alerts/count?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \146 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:31,892 DEBG 'uwsgi' stdout output:,
[pid: 1913|app: 0|req: 3431/5989] 10.255.0.2 () {46 vars in 1523 bytes} [Tue Jan 29 09:54:31 2019] GET /api/alerts/count?sort-by=lastReceiveTime&status=open&status=unknown => generated 146 bytes in 93 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:31,900 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
INSERT INTO metrics ("group", name, title, description, count, total_time, type),
VALUES ('alerts', 'queries', 'Alert queries', 'Total time and number of alert queries', 1, 58, 'timer'),
ON CONFLICT ("group", name, type) DO UPDATE,
SET count=metrics.count + 1, total_time=metrics.total_time + 58,
RETURNING *,
,
****************************************,
,
2019-01-29 09:54:31,908 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:31 +0000] "\GET /api/environments?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \127 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:31,913 DEBG 'uwsgi' stdout output:,
[pid: 1909|app: 0|req: 297/5990] 10.255.0.2 () {46 vars in 1523 bytes} [Tue Jan 29 09:54:31 2019] GET /api/environments?sort-by=lastReceiveTime&status=open&status=unknown => generated 127 bytes in 101 msecs (HTTP/1.1 200) 4 headers in 133 bytes (1 switches on core 0),
,
2019-01-29 09:54:31,940 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:31 +0000] "\GET /api/alerts?sort-by=lastReceiveTime&status=open&status=unknown HTTP/1.1" \200 \1337 "\http://swarm.mtz.desoft.cu:8080/" "\Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.7 Safari/537.36",
,
2019-01-29 09:54:31,943 DEBG 'uwsgi' stdout output:,
[pid: 1910|app: 0|req: 259/5991] 10.255.0.2 () {46 vars in 1511 bytes} [Tue Jan 29 09:54:31 2019] GET /api/alerts?sort-by=lastReceiveTime&status=open&status=unknown => generated 1337 bytes in 129 msecs (HTTP/1.1 200) 5 headers in 175 bytes (1 switches on core 0),
,
2019-01-29 09:54:35,434 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:35 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:54:35,435 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1658/5992] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:54:35 2019] GET /api/config => generated 690 bytes in 5 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0),
,
2019-01-29 09:54:35,443 DEBG 'nginx' stdout output:,
2019/01/29 09:54:35 [info] 72#72: *13202 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:54:35,451 DEBG 'heartbeats' stdout output:,
send: b'GET /api/heartbeats HTTP/1.1\r\nHost: localhost:8080\r\nUser-Agent: python-requests/2.21.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Key could\r\n\r\n',
,
2019-01-29 09:54:35,466 DEBG 'uwsgi' stdout output:,
DEBUG:flask.app:****************************************,
,
SELECT * FROM keys,
WHERE (id='could' OR key='could'),
AND 1=1,
,
****************************************,
2019-01-29 09:54:35,467 DEBG 'uwsgi' stdout output:,
,
,
2019-01-29 09:54:35,476 DEBG 'uwsgi' stdout output:,
[pid: 1912|app: 0|req: 1659/5993] 127.0.0.1 () {40 vars in 477 bytes} [Tue Jan 29 09:54:35 2019] GET /api/heartbeats => generated 113 bytes in 23 msecs (HTTP/1.1 401) 4 headers in 143 bytes (1 switches on core 0),
,
2019-01-29 09:54:35,477 DEBG 'heartbeats' stdout output:,
reply: 'HTTP/1.1 401 UNAUTHORIZED\r\n',
,
2019-01-29 09:54:35,477 DEBG 'nginx' stdout output:,
ip=\- [\29/Jan/2019:09:54:35 +0000] "\GET /api/heartbeats HTTP/1.1" \401 \113 "\-" "\python-requests/2.21.0",
,
2019-01-29 09:54:35,477 DEBG 'heartbeats' stdout output:,
header: Server: nginx/1.10.3,
header: Date: Tue, 29 Jan 2019 09:54:35 GMT,
header: Content-Type: application/json,
header: Content-Length: 113,
header: Connection: keep-alive,
header: Access-Control-Allow-Origin: http://localhost,
,
2019-01-29 09:54:35,477 DEBG 'heartbeats' stdout output:,
header: Vary: Origin,
,
2019-01-29 09:54:35,478 DEBG 'heartbeats' stdout output:,
,
body: {,
"code": 401, ,
"errors": null, ,
"message": "API key parameter 'could' is invalid", ,
"status": "error",
},
,
Error: API key parameter 'could' is invalid,
,
2019-01-29 09:54:35,505 DEBG 'nginx' stdout output:,
2019/01/29 09:54:35 [info] 72#72: *13204 client 127.0.0.1 closed keepalive connection,
,
2019-01-29 09:54:35,556 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140206650743696 for <Subprocess at 140206652023512 with name heartbeats in state RUNNING> (stdout)>,
2019-01-29 09:54:35,556 INFO exited: heartbeats (exit status 1; not expected),
2019-01-29 09:54:35,557 DEBG received SIGCLD indicating a child quit,
2019-01-29 09:54:36,561 INFO spawned: 'heartbeats' with pid 7892,
2019-01-29 09:54:37,563 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment