From 276b4e2213b90b3c5b865458d2b576b109e6be54 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 31 Mar 2014 23:08:38 +0200 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log/activity.log | 610 ++++++++++++++++++++++++++++++++++++++++++++ log/error.log | 140 ++++++++++ log/warning.log | 4 + m/fichier/conf | 5 +- superTornado.py | 28 +- test/AllowTest | 24 +- test/ConfTest | 22 +- test/MiEmulator.py | 19 +- test/botTest.py | 22 +- test/testFichier.py | 40 ++- 10 files changed, 861 insertions(+), 53 deletions(-) diff --git a/log/activity.log b/log/activity.log index 75fce49..cd6feee 100644 --- a/log/activity.log +++ b/log/activity.log @@ -1767,3 +1767,613 @@ WebSocketClosedError 2014-03-30 21:20:03,485 :: INFO :: ->Demand Data Receive : 127.0.0.1 2014-03-30 21:20:06,470 :: ERROR :: [Errno socket error] [Errno 113] No route to host 2014-03-30 21:20:06,470 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:36:03,396 :: INFO :: ->Loading configuration ...  +2014-03-31 09:36:03,396 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:36:03,396 :: INFO ::  +Blind unhabitant +2014-03-31 09:36:03,396 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:36:03,396 :: INFO ::  +Port Camera : 80 +2014-03-31 09:36:03,397 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:36:03,397 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:36:03,397 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:36:03,397 :: INFO ::  +Port Server : 80 +2014-03-31 09:36:03,397 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:36:03,397 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:36:03,397 :: INFO :: ->Ping camera ... +2014-03-31 09:36:33,426 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:36:33,427 :: INFO :: ->Server Start ... +2014-03-31 09:36:33,427 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:07,224 :: INFO :: ->Loading configuration ...  +2014-03-31 09:37:07,225 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:37:07,225 :: INFO ::  +Blind unhabitant +2014-03-31 09:37:07,225 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:37:07,225 :: INFO ::  +Port Camera : 80 +2014-03-31 09:37:07,225 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:37:07,226 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:37:07,226 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:37:07,226 :: INFO ::  +Port Server : 80 +2014-03-31 09:37:07,226 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:37:07,226 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:37:07,226 :: INFO :: ->Ping camera ... +2014-03-31 09:37:37,257 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:37,257 :: INFO :: ->Server Start ... +2014-03-31 09:37:37,257 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:40,883 :: INFO :: ->Loading configuration ...  +2014-03-31 09:37:40,884 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:37:40,884 :: INFO ::  +Blind unhabitant +2014-03-31 09:37:40,884 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:37:40,884 :: INFO ::  +Port Camera : 80 +2014-03-31 09:37:40,884 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:37:40,884 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:37:40,885 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:37:40,885 :: INFO ::  +Port Server : 80 +2014-03-31 09:37:40,885 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:37:40,885 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:37:40,885 :: INFO :: ->Ping camera ... +2014-03-31 09:37:40,886 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:40,886 :: INFO :: ->Server Start ... +2014-03-31 09:37:40,887 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:47,538 :: INFO :: ->Loading configuration ...  +2014-03-31 09:37:47,539 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:37:47,539 :: INFO ::  +Blind unhabitant +2014-03-31 09:37:47,539 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:37:47,539 :: INFO ::  +Port Camera : 80 +2014-03-31 09:37:47,539 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:37:47,539 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:37:47,539 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:37:47,539 :: INFO ::  +Port Server : 80 +2014-03-31 09:37:47,540 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:37:47,540 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:37:47,540 :: INFO :: ->Ping camera ... +2014-03-31 09:37:47,541 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:47,541 :: INFO :: ->Server Start ... +2014-03-31 09:37:47,541 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:21,231 :: INFO :: ->Loading configuration ...  +2014-03-31 09:38:21,231 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:38:21,231 :: INFO ::  +Blind unhabitant +2014-03-31 09:38:21,231 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:38:21,232 :: INFO ::  +Port Camera : 80 +2014-03-31 09:38:21,232 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:38:21,232 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:38:21,232 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:38:21,232 :: INFO ::  +Port Server : 80 +2014-03-31 09:38:21,232 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:38:21,232 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:38:21,232 :: INFO :: ->Ping camera ... +2014-03-31 09:38:21,233 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:38:21,233 :: INFO :: ->Server Start ... +2014-03-31 09:38:21,234 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:21,234 :: ERROR :: [Errno 98] Address already in use +2014-03-31 09:38:42,190 :: INFO :: ->Loading configuration ...  +2014-03-31 09:38:42,190 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:38:42,190 :: INFO ::  +Blind unhabitant +2014-03-31 09:38:42,190 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:38:42,191 :: INFO ::  +Port Camera : 80 +2014-03-31 09:38:42,191 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:38:42,191 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:38:42,191 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:38:42,191 :: INFO ::  +Port Server : 80 +2014-03-31 09:38:42,191 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:38:42,191 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:38:42,191 :: INFO :: ->Ping camera ... +2014-03-31 09:38:42,192 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:38:42,193 :: INFO :: ->Server Start ... +2014-03-31 09:38:42,193 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:42,193 :: ERROR :: [Errno 98] Address already in use +2014-03-31 09:39:13,421 :: INFO :: 302 GET /video (127.0.0.1) 0.30ms +2014-03-31 09:39:13,422 :: INFO :: 200 GET / (127.0.0.1) 0.31ms +2014-03-31 09:39:13,424 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 09:39:13,424 :: INFO :: 302 POST / (127.0.0.1) 0.84ms +2014-03-31 09:39:13,426 :: INFO :: 200 GET /unauthorized (127.0.0.1) 0.39ms +2014-03-31 09:39:13,430 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.53ms +2014-03-31 09:39:13,431 :: INFO :: 200 GET /video (127.0.0.1) 0.39ms +2014-03-31 09:39:13,463 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.35ms +2014-03-31 09:39:13,465 :: INFO :: 200 GET / (127.0.0.1) 0.41ms +2014-03-31 09:39:13,488 :: INFO :: 302 POST / (127.0.0.1) 0.68ms +2014-03-31 09:39:13,489 :: INFO :: 200 GET /video (127.0.0.1) 0.38ms +2014-03-31 09:39:13,490 :: SUCCESS :: ->Websocket Open : 127.0.0.1 +2014-03-31 09:39:13,490 :: INFO :: ->jmi : Authorized user connection : 127.0.0.1 +2014-03-31 09:39:13,491 :: INFO :: ->Send audio alarm authorized user +2014-03-31 09:39:13,491 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 09:39:13,491 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,491 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:39:13,492 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,492 :: SUCCESS :: ->Websocket Closed : 127.0.0.1 +2014-03-31 09:39:13,492 :: INFO :: ->jmi : Authorized User Deconnection : 127.0.0.1 +2014-03-31 09:39:13,492 :: INFO :: ->Send Audio Alarm Deconnection User +2014-03-31 09:39:13,492 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 09:39:13,531 :: INFO :: 302 GET /disconnection (127.0.0.1) 0.58ms +2014-03-31 09:39:13,532 :: INFO :: 200 GET / (127.0.0.1) 0.30ms +2014-03-31 09:39:13,555 :: INFO :: 302 GET /video (127.0.0.1) 0.27ms +2014-03-31 09:39:13,556 :: INFO :: 200 GET / (127.0.0.1) 0.28ms +2014-03-31 09:39:13,581 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:39:13,582 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,582 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:39:31,127 :: INFO :: 200 GET / (127.0.0.1) 0.39ms +2014-03-31 09:39:31,217 :: INFO :: 200 GET /style/styles.css (127.0.0.1) 17.19ms +2014-03-31 09:39:31,218 :: INFO :: 200 GET /images/iut.jpg (127.0.0.1) 0.50ms +2014-03-31 09:39:31,222 :: INFO :: 200 GET /images/favicon.ico (127.0.0.1) 0.61ms +2014-03-31 09:39:31,240 :: INFO :: 200 GET /images/favicon.gif (127.0.0.1) 0.61ms +2014-03-31 09:39:31,386 :: INFO :: 200 GET /images/favicon.gif (127.0.0.1) 1.51ms +2014-03-31 09:39:59,457 :: INFO :: 302 GET /video (127.0.0.1) 0.55ms +2014-03-31 09:39:59,458 :: INFO :: 200 GET / (127.0.0.1) 0.35ms +2014-03-31 09:39:59,460 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 09:39:59,460 :: INFO :: 302 POST / (127.0.0.1) 0.70ms +2014-03-31 09:39:59,462 :: INFO :: 200 GET /unauthorized (127.0.0.1) 0.41ms +2014-03-31 09:39:59,501 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.79ms +2014-03-31 09:39:59,502 :: INFO :: 200 GET /video (127.0.0.1) 0.40ms +2014-03-31 09:39:59,528 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.43ms +2014-03-31 09:39:59,530 :: INFO :: 200 GET / (127.0.0.1) 0.41ms +2014-03-31 09:39:59,551 :: INFO :: 302 POST / (127.0.0.1) 0.60ms +2014-03-31 09:39:59,552 :: INFO :: 200 GET /video (127.0.0.1) 0.37ms +2014-03-31 09:39:59,574 :: SUCCESS :: ->Websocket Open : 127.0.0.1 +2014-03-31 09:39:59,574 :: INFO :: ->jmi : Authorized user connection : 127.0.0.1 +2014-03-31 09:39:59,575 :: INFO :: ->Send audio alarm authorized user +2014-03-31 09:39:59,575 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 09:39:59,575 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,575 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:39:59,576 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,576 :: SUCCESS :: ->Websocket Closed : 127.0.0.1 +2014-03-31 09:39:59,576 :: INFO :: ->jmi : Authorized User Deconnection : 127.0.0.1 +2014-03-31 09:39:59,577 :: INFO :: ->Send Audio Alarm Deconnection User +2014-03-31 09:39:59,577 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 09:39:59,577 :: INFO :: 302 GET /disconnection (127.0.0.1) 0.34ms +2014-03-31 09:39:59,579 :: INFO :: 200 GET / (127.0.0.1) 0.44ms +2014-03-31 09:39:59,602 :: INFO :: 302 GET /video (127.0.0.1) 1.43ms +2014-03-31 09:39:59,603 :: INFO :: 200 GET / (127.0.0.1) 0.34ms +2014-03-31 09:39:59,631 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:39:59,631 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,631 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:45:11,197 :: INFO :: 304 GET / (127.0.0.1) 0.48ms +2014-03-31 09:45:11,296 :: INFO :: 304 GET /images/favicon.ico (127.0.0.1) 0.72ms +2014-03-31 09:45:11,297 :: INFO :: 304 GET /images/favicon.gif (127.0.0.1) 0.55ms +2014-03-31 09:45:19,731 :: INFO :: 302 POST / (127.0.0.1) 0.69ms +2014-03-31 09:45:19,762 :: INFO :: 200 GET /video (127.0.0.1) 0.52ms +2014-03-31 09:45:19,881 :: SUCCESS :: ->Websocket Open : 127.0.0.1 +2014-03-31 09:45:19,881 :: INFO :: ->jmi : Authorized user connection : 127.0.0.1 +2014-03-31 09:45:19,881 :: INFO :: ->Send audio alarm authorized user +2014-03-31 09:45:19,881 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 09:45:24,887 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:24,887 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:24,889 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:45:24,890 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:29,891 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:29,892 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:34,897 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:34,898 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:39,903 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:39,904 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:42,911 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:45:42,912 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:47,913 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:47,914 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:52,920 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:52,920 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:45:57,923 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:57,924 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:02,930 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:02,930 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:02,931 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:46:02,932 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:03,934 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:46:03,935 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:08,940 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:08,941 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:13,943 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:13,944 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:18,948 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:18,948 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:23,954 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:23,955 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:28,956 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:28,957 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:33,963 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:33,964 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:38,969 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:38,970 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:43,971 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:43,972 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:48,977 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:48,979 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:53,984 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:53,985 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:46:58,990 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:58,991 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:03,993 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:03,994 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:08,999 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:09,000 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:14,006 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:14,006 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:19,008 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:19,009 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:24,015 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:24,016 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:29,021 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:29,022 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:34,027 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:34,028 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:39,034 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:39,035 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:44,040 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:44,041 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:49,046 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:49,047 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:54,052 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:54,052 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:59,058 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:59,059 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:47:59,060 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:47:59,061 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:04,063 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:04,064 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:09,070 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:09,071 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:14,076 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:14,077 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:19,083 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:19,083 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:24,089 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:24,090 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:29,095 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:29,095 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:34,101 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:34,102 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:39,107 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:39,108 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:44,113 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:44,114 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:49,120 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:49,120 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:54,126 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:54,126 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:48:59,131 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:59,132 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:04,137 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:04,138 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:09,144 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:09,145 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:14,150 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:14,151 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:19,156 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:19,157 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:24,162 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:24,163 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:26,763 :: INFO :: ->Loading configuration ...  +2014-03-31 09:49:26,763 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 09:49:26,763 :: INFO ::  +Blind unhabitant +2014-03-31 09:49:26,763 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 09:49:26,764 :: INFO ::  +Port Camera : 80 +2014-03-31 09:49:26,764 :: INFO ::  +ID url Camera : test:a +2014-03-31 09:49:26,764 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 09:49:26,764 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 09:49:26,764 :: INFO ::  +Port Server : 8080 +2014-03-31 09:49:26,764 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 09:49:26,764 :: INFO ::  +Port Domotic : 80 +2014-03-31 09:49:26,764 :: INFO :: ->Ping camera ... +2014-03-31 09:49:29,168 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:29,169 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:34,174 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:34,175 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:39,181 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:39,182 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:44,187 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:44,188 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:49,194 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:49,195 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:54,197 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:54,198 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:49:56,790 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:49:56,791 :: INFO :: ->Server Start ... +2014-03-31 09:49:56,791 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 09:49:59,204 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:59,205 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:04,210 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:04,211 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:09,215 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:09,216 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:14,217 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:14,218 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:19,224 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:19,225 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:24,230 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:24,231 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:29,236 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:29,237 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:34,242 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:34,242 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:39,248 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:39,249 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:44,255 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:44,255 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:49,258 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:49,258 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:54,264 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:54,264 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:50:59,267 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:59,267 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:00,271 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:51:00,272 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:01,274 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:51:01,275 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:06,280 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:06,281 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:11,286 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:11,286 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:16,289 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:16,290 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:19,935 :: INFO :: 302 GET /video (127.0.0.1) 0.47ms +2014-03-31 09:51:19,967 :: INFO :: 200 GET / (127.0.0.1) 2.66ms +2014-03-31 09:51:20,038 :: INFO :: 200 GET /style/styles.css (127.0.0.1) 11.30ms +2014-03-31 09:51:20,039 :: INFO :: 200 GET /images/iut.jpg (127.0.0.1) 0.55ms +2014-03-31 09:51:20,071 :: INFO :: 200 GET /images/favicon.ico (127.0.0.1) 0.61ms +2014-03-31 09:51:20,072 :: INFO :: 200 GET /images/favicon.gif (127.0.0.1) 0.46ms +2014-03-31 09:51:20,227 :: INFO :: 200 GET /images/favicon.gif (127.0.0.1) 1.08ms +2014-03-31 09:51:21,295 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:21,296 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:26,301 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:26,302 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:31,304 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:31,304 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:36,305 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:36,306 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:41,310 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:41,311 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 09:51:46,316 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:46,316 :: SUCCESS :: ->Websocket Closed : 127.0.0.1 +2014-03-31 09:51:46,316 :: INFO :: ->jmi : Authorized User Deconnection : 127.0.0.1 +2014-03-31 09:51:46,316 :: INFO :: ->Send Audio Alarm Deconnection User +2014-03-31 09:51:46,316 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 22:22:13,366 :: INFO :: ->Loading configuration ...  +2014-03-31 22:22:13,366 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 22:22:13,366 :: INFO ::  +Blind unhabitant +2014-03-31 22:22:13,367 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 22:22:13,367 :: INFO ::  +Port Camera : 80 +2014-03-31 22:22:13,367 :: INFO ::  +ID url Camera : test:a +2014-03-31 22:22:13,367 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 22:22:13,367 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 22:22:13,367 :: INFO ::  +Port Server : 80 +2014-03-31 22:22:13,367 :: INFO ::  +IP Domotic : 192.168.16.150 +2014-03-31 22:22:13,367 :: INFO ::  +Port Domotic : 80 +2014-03-31 22:22:13,367 :: INFO :: ->Ping camera ... +2014-03-31 22:22:16,377 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:22:16,377 :: INFO :: ->Server Start ... +2014-03-31 22:22:16,378 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 22:22:32,538 :: INFO :: 302 GET /video (127.0.0.1) 0.41ms +2014-03-31 22:22:32,541 :: INFO :: 200 GET / (127.0.0.1) 2.78ms +2014-03-31 22:22:32,542 :: INFO :: 302 GET /video (127.0.0.1) 0.31ms +2014-03-31 22:22:32,544 :: INFO :: 200 GET / (127.0.0.1) 0.34ms +2014-03-31 22:22:32,546 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 22:22:32,546 :: INFO :: 302 POST / (127.0.0.1) 1.05ms +2014-03-31 22:22:32,548 :: INFO :: 200 GET /unauthorized (127.0.0.1) 0.75ms +2014-03-31 22:22:32,648 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.53ms +2014-03-31 22:22:32,651 :: INFO :: 200 GET /video (127.0.0.1) 1.53ms +2014-03-31 22:22:32,652 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.35ms +2014-03-31 22:22:32,654 :: INFO :: 200 GET / (127.0.0.1) 0.41ms +2014-03-31 22:22:32,678 :: INFO :: 302 POST / (127.0.0.1) 0.59ms +2014-03-31 22:22:32,680 :: INFO :: 200 GET /video (127.0.0.1) 0.64ms +2014-03-31 22:22:32,707 :: SUCCESS :: ->Websocket Open : 127.0.0.1 +2014-03-31 22:22:32,707 :: INFO :: ->jmi : Authorized user connection : 127.0.0.1 +2014-03-31 22:22:32,707 :: INFO :: ->Send audio alarm authorized user +2014-03-31 22:22:32,707 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 22:22:35,717 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:35,717 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 22:22:38,727 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:38,728 :: INFO :: 302 GET /disconnection (127.0.0.1) 0.43ms +2014-03-31 22:22:38,728 :: SUCCESS :: ->Websocket Closed : 127.0.0.1 +2014-03-31 22:22:38,728 :: INFO :: ->jmi : Authorized User Deconnection : 127.0.0.1 +2014-03-31 22:22:38,729 :: INFO :: ->Send Audio Alarm Deconnection User +2014-03-31 22:22:38,729 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 22:22:38,729 :: INFO :: 200 GET / (127.0.0.1) 0.36ms +2014-03-31 22:22:38,759 :: INFO :: 302 GET /video (127.0.0.1) 0.30ms +2014-03-31 22:22:38,761 :: INFO :: 200 GET / (127.0.0.1) 0.56ms +2014-03-31 22:22:38,789 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 22:22:41,737 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:41,737 :: ERROR :: ->Failed Send data : Socket Close  +2014-03-31 22:25:10,197 :: INFO :: 302 GET /video (127.0.0.1) 0.34ms +2014-03-31 22:25:10,198 :: INFO :: 200 GET / (127.0.0.1) 0.56ms +2014-03-31 22:25:10,200 :: INFO :: 302 GET /video (127.0.0.1) 0.59ms +2014-03-31 22:25:10,201 :: INFO :: 200 GET / (127.0.0.1) 0.31ms +2014-03-31 22:25:10,207 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 22:25:10,208 :: INFO :: 302 POST / (127.0.0.1) 0.87ms +2014-03-31 22:25:10,209 :: INFO :: 200 GET /unauthorized (127.0.0.1) 0.41ms +2014-03-31 22:25:10,230 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.52ms +2014-03-31 22:25:10,231 :: INFO :: 200 GET /video (127.0.0.1) 0.41ms +2014-03-31 22:25:10,258 :: INFO :: 302 POST /unauthorized (127.0.0.1) 0.34ms +2014-03-31 22:25:10,259 :: INFO :: 200 GET / (127.0.0.1) 0.45ms +2014-03-31 22:25:10,282 :: INFO :: 302 POST / (127.0.0.1) 0.72ms +2014-03-31 22:25:10,283 :: INFO :: 200 GET /video (127.0.0.1) 0.41ms +2014-03-31 22:25:10,284 :: SUCCESS :: ->Websocket Open : 127.0.0.1 +2014-03-31 22:25:10,284 :: INFO :: ->jmi : Authorized user connection : 127.0.0.1 +2014-03-31 22:25:10,285 :: INFO :: ->Send audio alarm authorized user +2014-03-31 22:25:10,285 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 22:25:13,293 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:13,294 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 22:25:16,303 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:16,305 :: INFO :: 302 GET /disconnection (127.0.0.1) 0.42ms +2014-03-31 22:25:16,305 :: SUCCESS :: ->Websocket Closed : 127.0.0.1 +2014-03-31 22:25:16,305 :: INFO :: ->jmi : Authorized User Deconnection : 127.0.0.1 +2014-03-31 22:25:16,305 :: INFO :: ->Send Audio Alarm Deconnection User +2014-03-31 22:25:16,305 :: SUCCESS :: ->Signal To House Send Successfully +2014-03-31 22:25:16,306 :: INFO :: 200 GET / (127.0.0.1) 0.37ms +2014-03-31 22:25:16,332 :: INFO :: 302 GET /video (127.0.0.1) 0.32ms +2014-03-31 22:25:16,333 :: INFO :: 200 GET / (127.0.0.1) 0.37ms +2014-03-31 22:25:16,357 :: INFO :: ->Demand Data Receive : 127.0.0.1 +2014-03-31 22:25:19,313 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:19,313 :: ERROR :: ->Failed Send data : Socket Close  +2014-03-31 22:48:19,027 :: INFO :: ->Loading configuration ...  +2014-03-31 22:48:19,027 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 22:48:19,027 :: INFO ::  +Blind unhabitant +2014-03-31 22:48:19,027 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 22:48:19,028 :: INFO ::  +Port Camera : 80 +2014-03-31 22:48:19,028 :: INFO ::  +ID url Camera : test:a +2014-03-31 22:48:19,028 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 22:48:19,028 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 22:48:19,028 :: INFO ::  +Port Server : 80 +2014-03-31 22:48:19,028 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 22:48:19,028 :: INFO ::  +Port Domotic : 8080 +2014-03-31 22:48:19,028 :: INFO :: ->Ping camera ... +2014-03-31 22:48:22,036 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:48:22,037 :: INFO :: ->Server Start ... +2014-03-31 22:48:22,037 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 22:58:53,579 :: INFO :: ->Loading configuration ...  +2014-03-31 22:58:53,579 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 22:58:53,579 :: INFO ::  +Blind unhabitant +2014-03-31 22:58:53,579 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 22:58:53,580 :: INFO ::  +Port Camera : 80 +2014-03-31 22:58:53,580 :: INFO ::  +ID url Camera : test:a +2014-03-31 22:58:53,580 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 22:58:53,580 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 22:58:53,580 :: INFO ::  +Port Server : 80 +2014-03-31 22:58:53,580 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 22:58:53,580 :: INFO ::  +Port Domotic : 8080 +2014-03-31 22:58:53,580 :: INFO :: ->Ping camera ... +2014-03-31 22:58:56,590 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:58:56,590 :: INFO :: ->Server Start ... +2014-03-31 22:58:56,591 :: ERROR :: Server Start Failed ! +2014-03-31 22:58:56,591 :: ERROR :: type object 'EndHandler' has no attribute 'signal' +2014-03-31 23:01:02,965 :: INFO :: ->Loading configuration ...  +2014-03-31 23:01:02,966 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:01:02,966 :: INFO ::  +Blind unhabitant +2014-03-31 23:01:02,966 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:01:02,966 :: INFO ::  +Port Camera : 80 +2014-03-31 23:01:02,966 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:01:02,966 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:01:02,966 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:01:02,966 :: INFO ::  +Port Server : 80 +2014-03-31 23:01:02,966 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:01:02,966 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:01:02,967 :: INFO :: ->Ping camera ... +2014-03-31 23:01:05,976 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:01:05,977 :: INFO :: ->Server Start ... +2014-03-31 23:01:05,978 :: ERROR :: Server Start Failed ! +2014-03-31 23:01:05,978 :: ERROR :: name 'signalHandler' is not defined +2014-03-31 23:01:16,999 :: INFO :: ->Loading configuration ...  +2014-03-31 23:01:17,000 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:01:17,000 :: INFO ::  +Blind unhabitant +2014-03-31 23:01:17,000 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:01:17,000 :: INFO ::  +Port Camera : 80 +2014-03-31 23:01:17,000 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:01:17,000 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:01:17,001 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:01:17,001 :: INFO ::  +Port Server : 80 +2014-03-31 23:01:17,001 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:01:17,001 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:01:17,001 :: INFO :: ->Ping camera ... +2014-03-31 23:01:20,010 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:01:20,011 :: INFO :: ->Server Start ... +2014-03-31 23:01:20,012 :: ERROR :: Server Start Failed ! +2014-03-31 23:01:20,012 :: ERROR :: name 'signal_handler' is not defined +2014-03-31 23:01:33,034 :: INFO :: ->Loading configuration ...  +2014-03-31 23:01:33,034 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:01:33,035 :: INFO ::  +Blind unhabitant +2014-03-31 23:01:33,035 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:01:33,035 :: INFO ::  +Port Camera : 80 +2014-03-31 23:01:33,035 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:01:33,035 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:01:33,035 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:01:33,035 :: INFO ::  +Port Server : 80 +2014-03-31 23:01:33,035 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:01:33,035 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:01:33,035 :: INFO :: ->Ping camera ... +2014-03-31 23:01:36,046 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:01:36,047 :: INFO :: ->Server Start ... +2014-03-31 23:01:36,048 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:02:48,124 :: INFO :: ->Loading configuration ...  +2014-03-31 23:02:48,125 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:02:48,125 :: INFO ::  +Blind unhabitant +2014-03-31 23:02:48,125 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:02:48,125 :: INFO ::  +Port Camera : 80 +2014-03-31 23:02:48,125 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:02:48,125 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:02:48,125 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:02:48,126 :: INFO ::  +Port Server : 80 +2014-03-31 23:02:48,126 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:02:48,126 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:02:48,126 :: INFO :: ->Ping camera ... +2014-03-31 23:02:51,136 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:02:51,137 :: INFO :: ->Server Start ... +2014-03-31 23:02:51,138 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:02:53,149 :: ERROR :: Server Start Failed ! +2014-03-31 23:02:53,150 :: ERROR :: signal_handler() takes exactly 3 arguments (2 given) +2014-03-31 23:03:29,407 :: INFO :: ->Loading configuration ...  +2014-03-31 23:03:29,408 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:03:29,408 :: INFO ::  +Blind unhabitant +2014-03-31 23:03:29,408 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:03:29,408 :: INFO ::  +Port Camera : 80 +2014-03-31 23:03:29,408 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:03:29,409 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:03:29,409 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:03:29,409 :: INFO ::  +Port Server : 80 +2014-03-31 23:03:29,409 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:03:29,409 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:03:29,410 :: INFO :: ->Ping camera ... +2014-03-31 23:03:32,420 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:03:32,420 :: INFO :: ->Server Start ... +2014-03-31 23:03:32,421 :: ERROR :: Server Start Failed ! +2014-03-31 23:03:32,421 :: ERROR :: signal() takes exactly 2 arguments (3 given) +2014-03-31 23:04:36,005 :: INFO :: ->Loading configuration ...  +2014-03-31 23:04:36,005 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:04:36,006 :: INFO ::  +Blind unhabitant +2014-03-31 23:04:36,006 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:04:36,006 :: INFO ::  +Port Camera : 80 +2014-03-31 23:04:36,006 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:04:36,006 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:04:36,006 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:04:36,006 :: INFO ::  +Port Server : 80 +2014-03-31 23:04:36,007 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:04:36,007 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:04:36,007 :: INFO :: ->Ping camera ... +2014-03-31 23:04:39,016 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:04:39,017 :: INFO :: ->Server Start ... +2014-03-31 23:04:39,017 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:04:41,132 :: ERROR :: Server Start Failed ! +2014-03-31 23:04:41,133 :: ERROR :: signal_handler() takes exactly 3 arguments (2 given) +2014-03-31 23:04:48,484 :: INFO :: ->Loading configuration ...  +2014-03-31 23:04:48,484 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:04:48,484 :: INFO ::  +Blind unhabitant +2014-03-31 23:04:48,484 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:04:48,484 :: INFO ::  +Port Camera : 80 +2014-03-31 23:04:48,484 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:04:48,484 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:04:48,485 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:04:48,485 :: INFO ::  +Port Server : 80 +2014-03-31 23:04:48,485 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:04:48,485 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:04:48,485 :: INFO :: ->Ping camera ... +2014-03-31 23:04:51,493 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:04:51,494 :: INFO :: ->Server Start ... +2014-03-31 23:04:51,494 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:04:53,313 :: ERROR :: Server Start Failed ! +2014-03-31 23:04:53,313 :: ERROR :: 'EPollIOLoop' object has no attribute 'end' +2014-03-31 23:05:09,704 :: INFO :: ->Loading configuration ...  +2014-03-31 23:05:09,705 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:05:09,705 :: INFO ::  +Blind unhabitant +2014-03-31 23:05:09,705 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:05:09,705 :: INFO ::  +Port Camera : 80 +2014-03-31 23:05:09,705 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:05:09,706 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:05:09,706 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:05:09,706 :: INFO ::  +Port Server : 80 +2014-03-31 23:05:09,706 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:05:09,706 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:05:09,707 :: INFO :: ->Ping camera ... +2014-03-31 23:05:12,716 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:05:12,717 :: INFO :: ->Server Start ... +2014-03-31 23:05:12,718 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:05:15,132 :: SUCCESS :: ->Server Stop Successfully ! +2014-03-31 23:07:42,010 :: INFO :: ->Loading configuration ...  +2014-03-31 23:07:42,011 :: SUCCESS :: ->Configuration Server Load Successfully ! +2014-03-31 23:07:42,011 :: INFO ::  +Blind unhabitant +2014-03-31 23:07:42,011 :: INFO ::  +Ip Camera : 192.168.1.13 +2014-03-31 23:07:42,011 :: INFO ::  +Port Camera : 80 +2014-03-31 23:07:42,011 :: INFO ::  +ID url Camera : test:a +2014-03-31 23:07:42,011 :: INFO ::  +End url Camera : /image.jpg +2014-03-31 23:07:42,011 :: INFO ::  +Ip Server : 127.0.0.1 +2014-03-31 23:07:42,012 :: INFO ::  +Port Server : 80 +2014-03-31 23:07:42,012 :: INFO ::  +IP Domotic : 127.0.0.1 +2014-03-31 23:07:42,012 :: INFO ::  +Port Domotic : 8080 +2014-03-31 23:07:42,012 :: INFO :: ->Ping camera ... +2014-03-31 23:07:45,023 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:07:45,023 :: INFO :: ->Server Start ... +2014-03-31 23:07:45,024 :: SUCCESS :: ->Server Start Successfully ! +2014-03-31 23:07:48,514 :: SUCCESS :: ->Server Stop Successfully ! diff --git a/log/error.log b/log/error.log index 33ff539..5e4f9d8 100644 --- a/log/error.log +++ b/log/error.log @@ -442,3 +442,143 @@ WebSocketClosedError 2014-03-30 21:20:03,460 :: ERROR :: [Errno socket error] [Errno 113] No route to host 2014-03-30 21:20:06,470 :: ERROR :: [Errno socket error] [Errno 113] No route to host 2014-03-30 21:20:06,470 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:36:33,426 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:36:33,427 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:37,257 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:37,257 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:40,886 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:40,887 :: ERROR :: Server Start Failed ! +2014-03-31 09:37:47,541 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:37:47,541 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:21,233 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:38:21,234 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:21,234 :: ERROR :: [Errno 98] Address already in use +2014-03-31 09:38:42,192 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:38:42,193 :: ERROR :: Server Start Failed ! +2014-03-31 09:38:42,193 :: ERROR :: [Errno 98] Address already in use +2014-03-31 09:39:13,491 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,492 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,582 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:13,582 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:39:59,575 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,576 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,631 :: ERROR :: [Errno socket error] [Errno 101] Network is unreachable +2014-03-31 09:39:59,631 :: ERROR :: Failed Send data : Socket Close  +2014-03-31 09:45:24,887 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:24,889 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:45:29,891 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:34,897 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:39,903 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:42,911 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:45:47,913 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:52,920 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:45:57,923 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:02,930 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:02,931 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:46:03,934 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:46:08,940 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:13,943 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:18,948 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:23,954 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:28,956 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:33,963 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:38,969 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:43,971 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:48,977 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:53,984 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:46:58,990 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:03,993 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:08,999 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:14,006 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:19,008 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:24,015 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:29,021 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:34,027 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:39,034 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:44,040 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:49,046 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:54,052 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:59,058 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:47:59,060 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:48:04,063 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:09,070 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:14,076 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:19,083 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:24,089 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:29,095 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:34,101 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:39,107 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:44,113 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:49,120 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:54,126 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:48:59,131 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:04,137 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:09,144 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:14,150 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:19,156 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:24,162 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:29,168 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:34,174 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:39,181 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:44,187 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:49,194 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:54,197 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:49:56,790 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 09:49:59,204 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:04,210 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:09,215 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:14,217 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:19,224 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:24,230 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:29,236 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:34,242 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:39,248 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:44,255 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:49,258 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:54,264 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:50:59,267 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:00,271 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:51:01,274 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 09:51:06,280 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:11,286 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:16,289 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:21,295 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:26,301 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:31,304 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:36,305 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:41,310 :: ERROR :: [Errno socket error] timed out +2014-03-31 09:51:46,316 :: ERROR :: [Errno socket error] timed out +2014-03-31 22:22:16,377 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:22:35,717 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:38,727 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:41,737 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:22:41,737 :: ERROR :: ->Failed Send data : Socket Close  +2014-03-31 22:25:13,293 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:16,303 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:19,313 :: ERROR :: [Errno socket error] [Errno 113] No route to host +2014-03-31 22:25:19,313 :: ERROR :: ->Failed Send data : Socket Close  +2014-03-31 22:48:22,036 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:58:56,590 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 22:58:56,591 :: ERROR :: Server Start Failed ! +2014-03-31 22:58:56,591 :: ERROR :: type object 'EndHandler' has no attribute 'signal' +2014-03-31 23:01:05,976 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:01:05,978 :: ERROR :: Server Start Failed ! +2014-03-31 23:01:05,978 :: ERROR :: name 'signalHandler' is not defined +2014-03-31 23:01:20,010 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:01:20,012 :: ERROR :: Server Start Failed ! +2014-03-31 23:01:20,012 :: ERROR :: name 'signal_handler' is not defined +2014-03-31 23:01:36,046 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:02:51,136 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:02:53,149 :: ERROR :: Server Start Failed ! +2014-03-31 23:02:53,150 :: ERROR :: signal_handler() takes exactly 3 arguments (2 given) +2014-03-31 23:03:32,420 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:03:32,421 :: ERROR :: Server Start Failed ! +2014-03-31 23:03:32,421 :: ERROR :: signal() takes exactly 2 arguments (3 given) +2014-03-31 23:04:39,016 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:04:41,132 :: ERROR :: Server Start Failed ! +2014-03-31 23:04:41,133 :: ERROR :: signal_handler() takes exactly 3 arguments (2 given) +2014-03-31 23:04:51,493 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:04:53,313 :: ERROR :: Server Start Failed ! +2014-03-31 23:04:53,313 :: ERROR :: 'EPollIOLoop' object has no attribute 'end' +2014-03-31 23:05:12,716 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! +2014-03-31 23:07:45,023 :: ERROR :: ->WARNING : Camera Unreachable! Check Camera Configuration! diff --git a/log/warning.log b/log/warning.log index 934c6aa..489499c 100644 --- a/log/warning.log +++ b/log/warning.log @@ -99,3 +99,7 @@ 2014-03-30 21:08:11,785 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 2014-03-30 21:12:40,581 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 2014-03-30 21:19:57,338 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 09:39:13,424 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 09:39:59,460 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 22:22:32,546 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 +2014-03-31 22:25:10,207 :: WARNING :: ->An unauthorized user try to access : 127.0.0.1 diff --git a/m/fichier/conf b/m/fichier/conf index f671eb8..215e303 100644 --- a/m/fichier/conf +++ b/m/fichier/conf @@ -5,6 +5,5 @@ idUrlCamera=test:a endUrlCamera=/image.jpg serv=127.0.0.1 portServ=80 -ipDomoMi=192.168.16.150 -portDomoMi=80 - +ipDomoMi=127.0.0.1 +portDomoMi=8080 diff --git a/superTornado.py b/superTornado.py index f113cfd..1b06271 100644 --- a/superTornado.py +++ b/superTornado.py @@ -15,12 +15,15 @@ import os from urllib import urlopen import string import random +import signal """Import files""" from m.loadConf import * from m.login import * from m.log import * +def signal_handler(signal,frame) : + GlobalVars.loop.stop() class GlobalVars : """ @@ -40,7 +43,7 @@ class GlobalVars : portDomo="" authorized = 0 unauthorized = 0 - + loop = tornado.ioloop.IOLoop.instance() @@ -164,7 +167,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): if GlobalVars.blind == True: GlobalVars.authorized + 1 GlobalVars.log.printL('->Send audio alarm authorized user',lvl.INFO) - self.send_signal_house('maison.request("GET", "/micom/say.php?source=toto&text=Connection%20a%20la%20camera%20autorisee")') + self.send_signal_house('maison.request("GET", "/micom/say.php?source=tornado&text=Connection%20a%20la%20camera%20autorisee")') else: GlobalVars.authorized + 1 GlobalVars.log.printL('->Send visual alarm authorized user',lvl.INFO) @@ -174,7 +177,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): if GlobalVars.blind == True: GlobalVars.unauthorized + 1 GlobalVars.log.printL('->Send audio alarm unauthorized user',lvl.WARNING) - self.send_signal_house('maison.request("GET", "/micom/say.php?source=toto&text=Connection%20a%20la%20camera%20non%20autorisee")') + self.send_signal_house('maison.request("GET", "/micom/say.php?source=tornado&text=Connection%20a%20la%20camera%20non%20autorisee")') else: GlobalVars.unauthorized + 1 GlobalVars.log.printL('->Send visual alarm unauthorized user',lvl.WARNING) @@ -208,7 +211,7 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): if GlobalVars.blind == True: if (GlobalVars.unauthorized == 0) and (GlobalVars.authorized == 0): GlobalVars.log.printL('->Send Audio Alarm Deconnection User', lvl.INFO) - self.send_signal_house('maison.request("GET", "/micom/say.php?source=toto&text=Connection%20a%20la%20camera%20rompue")') + self.send_signal_house('maison.request("GET", "/micom/say.php?source=tornado&text=Connection%20a%20la%20camera%20rompue")') else: if (GlobalVars.unauthorized == 0) and (GlobalVars.authorized == 0): GlobalVars.log.printL('->Send Visual Alarm Deconnection User ...',lvl.INFO) @@ -245,6 +248,8 @@ class WSocketHandler(BaseHandler,tornado.websocket.WebSocketHandler): self.write_message("error") + + application = tornado.web.Application([ (r"/", MainHandler), (r"/video", VideoHandler), @@ -324,8 +329,21 @@ if __name__ == "__main__": tornado.options.parse_command_line() http_server = tornado.httpserver.HTTPServer(application) http_server.listen(GlobalVars.portServ) + signal.signal(signal.SIGINT, signal_handler) GlobalVars.log.printL("->Server Start Successfully !",lvl.SUCCESS) - tornado.ioloop.IOLoop.instance().start() except Exception, e : GlobalVars.log.printL("Server Start Failed !",lvl.FAIL) + GlobalVars.log.printL(e,lvl.FAIL) + sys.exit(1) + try : + GlobalVars.loop.start() + except Exception, e : + GlobalVars.log.printL("Server Crash !",lvl.FAIL) + GlobalVars.log.printL(e,lvl.FAIL) + sys.exit(1) + try : + GlobalVars.log.printL("->Server Stop Successfully !",lvl.SUCCESS) + except Exception, e : + GlobalVars.log.printL("Server Stop Failed !",lvl.FAIL) + GlobalVars.log.printL(e,lvl.FAIL) sys.exit(1) diff --git a/test/AllowTest b/test/AllowTest index 73588db..f31db1e 100644 --- a/test/AllowTest +++ b/test/AllowTest @@ -1,17 +1,7 @@ -4u8jq3J9hEG0ZQ,79af5b0417d02392e22eeea9af539acddf1b7df16c6bf3a83e661774 -7HLP,3bd969da01f586774021e72ef6eb802d38e1c263760f3f56b5812760 -eU65FDk3c,2e687f8b8b0f97e2951b7b69ac45baf291df1e8a0cb01bd90624e2b0 -4NiX4,6ead98789bc7cdcc2fa7702cfe3b10ee280e1d8608fd258a25782045 -CsFd4lwXk9,8f61eaa23a728901322d0596cfbf25da27e212162d897fa95d7ac9ac -nghz,64b00fd3a24a5b2ab169cc3891b0d65c6c65e695532eaff2c7259cbd -wSUyyNNKNTlvr,06386e5d7c243bf66f1cd717ebdab48ca33bf75f408da9c95c3fd30a -0s01eGWoY8aGplb,f9a26c9c8e474c73d61ebb2fbadb72b2743c1cb84e1a92abdf433fe7 -9HA1lzbFEuYf1rXpKe,df4e71601e2a93f5d17e9599f25acd249f3fb20cf57ed8e1d56aba76 -1w,0599c5153b82f9f3a47f45014165e5648edd4e0ff90d5b544d74b629 -Qky5HF,50557d97b6dd5abfc4e86ba4ff4e1f4b92b17908fa42791aaf70bc66 -hTtP,f92d7aa3b3243d461489c61ef4d536fa01fdf0dfab68d60dd354940f -NohoYCOrW0nw0Zie,af6c0bb741cc5725e6e09eb731cb958e6b67b2e30a65ff8ea7b23394 -Ahpx9i65RKUoQTaqc,f5a43e2f60a96ffbe7d75d7f6cfa62bbd170ef7ab36dcc4a233e2a4b -SJEtTanO2FNFUd7MYU,fe6e47c833c2850fd02fa9ed4e17a32e334cf5897ec73a6749466ad8 -B8T9ua3vks2YZYCL4Ag,a2bafbc1dcdd406d9717092d497937e9061e400943658827191b53a9 -JP,95cbc8568bc02f258132fddf1344a6e558f94c39d20284ee3237f325 +J4imqH0XdIxVaJ2B,683aaa5f0213f49142cba1e266a9497bd3ee6bd83e69e1e92a5c0537 +ly3Lb87,e72c51dcc38ead510264a2ba8d8158a9ad978a356918c7da437cda54 +U1mfA,e650ee34063722bd87ae4b44c7f0be0c349495006546c16e22541aec +MrF,2a02fbcc0987071ad700b0cd15acae0dffcac644117d0522f4d07be0 +jgV1CRyQ1HH3DVj,d6b64462bf05af6c8b5d410b88794c41a671860cd936adee41c0f07a +Vt5owCRMuMWchNkcM8p,8c69a549618861013ca04a0d620ba76cc74f4bff521f46381d678da4 +8Dk9cSJkrTw,52ae891fce5c45560a1b567e810ae6ef1abfefdf1c15c829d33bb760 diff --git a/test/ConfTest b/test/ConfTest index 96aa4ee..fb1c239 100644 --- a/test/ConfTest +++ b/test/ConfTest @@ -1,16 +1,6 @@ -VgS4Ia4IvUHC5niHmNR1=ExiJILtyduI -EXTM=lu6ltwn5vYU07mFupP4 -0=m4VYOt7MHSZCijA2kPv -0RH0gFjtlFDxg6=JB -0gbS8=duM7RL -TN=hqkUnUdp -3tynRJm91uvM=9t -KmO=s2vnpx -1DZ7EL8mmUT7=Ck -hWMNcDWfdj=xZsqrp3ctcfR0 -GWVF2moK=CfFlLHozTeiBj7Rh -jin5jmoevE5msN=9T5 -muM=bkRp -cgUGnl8n1=5AGUXFkpSzs -Jb7YlVGMcd6s2=agXT2nzPYkbS -B=y0j02B +eGxmcTxmgd9BL9kKjch=8cb6mZB +dABorrawP=8TZ +fEiSEdIKXQGduvUFL97u=7bF +VW=2A +pelz=GLY59 +bNVgvjcXbC=pHrw diff --git a/test/MiEmulator.py b/test/MiEmulator.py index 715a61c..2376ddf 100644 --- a/test/MiEmulator.py +++ b/test/MiEmulator.py @@ -9,19 +9,30 @@ from tornado.ioloop import PeriodicCallback f = open("requestToMi", "w") -class MainHandler(tornado.web.RequestHandler): +class SayHandler(tornado.web.RequestHandler): def get(self): - print "lol" + source = self.get_argument("source","") + text = self.get_argument("text","") + print"/micom/say.php?source=" + source + "&text=" + text + + +class LampHandler(tornado.web.RequestHandler): + def get(self): + room = self.get_argument("room","") + order = self.get_argument("order","") + print"/micom/lamp.php?room=" + room + "&order=" + order + application = tornado.web.Application([ - (r"/lol", MainHandler)]) + (r"/micom/say.php", SayHandler), + (r"micom/lamp.php", LampHandler)]) if __name__ == "__main__": try : tornado.options.parse_command_line() http_server = tornado.httpserver.HTTPServer(application) - http_server.listen(80) + http_server.listen(8080) tornado.ioloop.IOLoop.instance().start() except Exception, e : print e diff --git a/test/botTest.py b/test/botTest.py index 10a8ffc..c017a50 100644 --- a/test/botTest.py +++ b/test/botTest.py @@ -31,7 +31,19 @@ opener.addheaders = [('User-agent', print "Hello, I'm botTest :)" print "I'm here for test MI camera server." print "I'm not a python script for the server, I'm a browser : \n" + browser.replace(";","") -print "\nI'm starting test with video page where an unconnect user can't normaly access :" +print "\nI'm starting test with main page of the site :" +print "PATH: /" +print "TYPE REQUEST : GET" +print "DATA SEND : -" +print "" +resp = opener.open(base_url+"video") +if resp.geturl()== base_url: + print("OK : receive / page") +else: + print("NOK : not receive / page !") +cj.save() + +print "\nI'm continue with video page where an unconnect user can't normaly access :" print "PATH: /video" print "TYPE REQUEST : GET" print "DATA SEND : -" @@ -116,7 +128,7 @@ else: cj.save() -print "\nNow I have acess to /video i will try to connect to websocket to aquire image :" +print "\nNow I have access to /video I will try to connect to websocket to aquire image :" print "PATH: /socket " print "TYPE REQUEST : GET" print "DATA SEND :" @@ -144,7 +156,7 @@ except Exception, e : print "NOK : Failed To Connect To Websocket And Received Data" cj.save() -print "\nI will now try to disconnet :" +print "\nI will now try to disconnect :" print "PATH: / " print "TYPE REQUEST : GET" print "DATA SEND : - " @@ -156,7 +168,7 @@ else: print("NOK : not redirect to / !") cj.save() -print "\nI'm now test video for check if i am disconnected :" +print "\nI'm now test video for check If I Am Disconnected :" print "PATH: /video" print "TYPE REQUEST : GET" print "DATA SEND : -" @@ -170,7 +182,7 @@ cj.save() -print "\nNow I Will Try To Connect To The Websocket then I not connected :" +print "\nNow I Will Try To Connect To The Websocket Then I not connected :" print "PATH: /socket " print "TYPE REQUEST : GET" print "DATA SEND :" diff --git a/test/testFichier.py b/test/testFichier.py index 66bf415..883bfb4 100644 --- a/test/testFichier.py +++ b/test/testFichier.py @@ -107,13 +107,13 @@ class testLogin(object): err +=1 if err==0: - print "TEST SUCESSFULL : all login were succesfull" + print "TEST SUCESSFULL : All Login Were Succesfull" else : - print "TEST FAIL: all login were not succesfull" + print "TEST FAIL: All Login Were Not Succesfull" - print "\nTesting invalid keys" + print "\nTesting invalid id and password" err = 0 for i in range(10): value = LoginObject.checkLogin( @@ -131,6 +131,40 @@ class testLogin(object): else : print "TEST SUCESSFULL : Login Not Ok With Invalid Information" + print "\nTesting invalid id and correct password" + err = 0 + for name,passwd in self.assos : + name = ''.join(random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in range(random.randint(1,20))) + value = LoginObject.checkLogin(name,passwd) + + if value == True: + print "NOK : Return True" + err += 1 + else : + print "OK : Return False" + + if err>0: + print "TEST FAIL : Login Ok With Invalid Information" + else : + print "TEST SUCESSFULL : Login Not Ok With Invalid Id" + + print "\nTesting invalid password and correct id" + err = 0 + for name,passwd in self.assos : + passwd = ''.join(random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in range(random.randint(1,20))) + value = LoginObject.checkLogin(name,passwd) + + if value == True: + print "NOK : Return True" + err += 1 + else : + print "OK : Return False" + + if err>0: + print "TEST FAIL : Login Ok With Invalid Information" + else : + print "TEST SUCESSFULL : Login Not Ok With Invalid Password" +