diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2d970cf..92d51cd 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,12 +1,13 @@ - + + @@ -149,6 +157,7 @@ - \ No newline at end of file diff --git a/GlobalVariable.py b/GlobalVariable.py index f39ceba..c866549 100644 --- a/GlobalVariable.py +++ b/GlobalVariable.py @@ -310,16 +310,33 @@ if (MYSY_ENV == "PROD"): MYSY_MARIADB_PORT = 3306 MYSY_LMS_BDD = "mysy_db_chamilo_prod" MYSY_LMS_URL = "" - + MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy_prod/" + LMS_BAS_URL = "mysy-training.fr/" elif (MYSY_ENV == "DEV"): - MYSY_MARIADB_USER = "mysy_mariadb_user" - MYSY_MARIADB_USER_PASS = "fB5z%M)GG&g!n2c" - MYSY_MARIADB_HOST = "192.168.1.21" - MYSY_MARIADB_PORT = 3306 - MYSY_LMS_BDD = "chamilo_dev2" - MYSY_LMS_URL = "https://lms.mysy-training.com/" + MYSY_MARIADB_USER = "mysy_mariadb_user" + MYSY_MARIADB_USER_PASS = "fB5z%M)GG&g!n2c" + #MYSY_MARIADB_HOST = "192.168.1.21" + MYSY_MARIADB_HOST = "88.170.110.220" + MYSY_MARIADB_PORT = 3306 + MYSY_LMS_BDD = "chamilo_dev2" + MYSY_LMS_URL = "https://lms.mysy-training.com/" + MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy/" + LMS_BAS_URL = "mysy-training.fr/" + + """ DEV OUTSIDE network + elif (MYSY_ENV == "DEV"): + MYSY_MARIADB_USER = "mysy_mariadb_user" + MYSY_MARIADB_USER_PASS = "fB5z%M)GG&g!n2c" + MYSY_MARIADB_HOST = "88.170.110.220" + MYSY_MARIADB_PORT = 3306 + MYSY_LMS_BDD = "mysy_db_chamilo_rec" + MYSY_LMS_URL = "https://reclms.mysy-training.com/" + MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy_rec/" + LMS_BAS_URL = "rec.mysy-training.fr/" + """ + elif (MYSY_ENV == "REC"): @@ -329,6 +346,8 @@ elif (MYSY_ENV == "REC"): MYSY_MARIADB_PORT = 3306 MYSY_LMS_BDD = "mysy_db_chamilo_rec" MYSY_LMS_URL = "https://reclms.mysy-training.com/" + MYSY_LMS_BASE_DIRECTORY = "/var/www/html/chamilo_mysy_rec/" + LMS_BAS_URL = "rec.mysy-training.fr/" @@ -338,13 +357,6 @@ Variable pour definir les unité de durée acceptées pour une formation CLASS_DURATION_UNIT = ['heure', 'jour', 'mois', 'annee'] -""" -Cette variable est le l'url de base pour le lms. -cette valeur est utilisée pour la creation des url du lms -""" -LMS_BAS_URL = "mysy-training.fr/" - - """ Varibale definit la taille maximiale des repertoire à créer par mysy """ diff --git a/Log/log_file.log b/Log/log_file.log index 8ee19c9..2ea9802 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1568662,3 +1568662,1235 @@ INFO:root:2023-04-22 19:00:36.683550 : ++ DBNAME Database(MongoClient(host=['loc INFO:root:2023-04-22 19:00:36.684546 : ++ FLASK PORT 5001 ++ WARNING:werkzeug: * Debugger is active! INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 07:48:14.426178 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 07:48:14.427177 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 07:48:14.428185 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 07:48:14.429183 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 07:48:38.302054 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 07:48:38.303523 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 07:48:38.303523 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 07:48:38.303523 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 07:49:10.643405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:10.648404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:10.649405 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:10] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:10] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:10] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:11.939144 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:11.943702 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:12] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.042171 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.047548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.057584 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.062578 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.073572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.106570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.115576 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.124571 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.139602 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.150158 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.157170 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.169382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.178171 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.189275 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.198172 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.208174 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.224167 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.241212 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:49:13.273755 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:49:13.281750 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:49:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:50:47.059197 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:50:48.747900 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-23 07:50:47.062369 , _id = 63e8f2745d4b4085b83f3aec +INFO:root:2023-04-23 07:50:48.755416 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:48] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:50:49.061348 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:50:49.068586 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:50:49.076127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:50:49.082538 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:50:49.088925 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:50:49.552741 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:50:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:51:13.518691 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:51:13] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:51:18.284202 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:51:18] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:51:27.500244 : Security check : IP adresse '127.0.0.1' connected +DEBUG:paramiko.transport:starting thread (client mode): 0xa9f9d9f0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5' +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +DEBUG:paramiko.transport:[chan 0] EOF received (0) +DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 1 opened. +DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok +DEBUG:paramiko.transport:[chan 1] EOF received (1) +DEBUG:paramiko.transport:[chan 1] EOF sent (1) +DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 2 opened. +DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok +DEBUG:paramiko.transport:[chan 2] EOF received (2) +DEBUG:paramiko.transport:[chan 2] EOF sent (2) +DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 3 opened. +DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok +DEBUG:paramiko.transport:[chan 3] EOF received (3) +DEBUG:paramiko.transport:[chan 3] EOF sent (3) +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +INFO:root:2023-04-23 07:52:15.012594 : Lms_Config_Theme_and_Logo -Can't connect to server on '192.168.1.21' (10060) - Line : 2360 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:52:15] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 07:54:20.168974 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 07:54:20.169973 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 07:54:20.169973 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 07:54:20.169973 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 07:54:57.609181 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 07:54:57.610186 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 07:54:57.610186 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 07:54:57.610186 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 07:57:36.205515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:57:36] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:57:59.929758 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:57:59.935880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:57:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:57:59.945157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:57:59.951488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 07:57:59.964582 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:57:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:57:59] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:57:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:58:00.849706 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:58:00] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:58:03.619548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:58:03] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:58:06.540877 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:58:06] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 07:58:14.728730 : Security check : IP adresse '127.0.0.1' connected +DEBUG:paramiko.transport:starting thread (client mode): 0x637e3670 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5' +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +DEBUG:paramiko.transport:[chan 0] EOF received (0) +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 1 opened. +DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok +DEBUG:paramiko.transport:[chan 1] EOF received (1) +DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 1] EOF sent (1) +DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 2 opened. +DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok +DEBUG:paramiko.transport:[chan 2] EOF received (2) +DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 2] EOF sent (2) +DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 3 opened. +DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok +DEBUG:paramiko.transport:[chan 3] EOF received (3) +DEBUG:paramiko.transport:[chan 3] EOF sent (3) +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +INFO:root:2023-04-23 07:58:44.318877 : Lms_Config_Theme_and_Logo -Can't connect to server on '88.170.110.220' (10060) - Line : 2360 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 07:58:44] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:00:45.670140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:00:45] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:45.522692 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 08:06:45.530452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 08:06:45.534444 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:45.541445 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:45.556586 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:46.592516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:46] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:48.406879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:48] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:51.459393 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:06:51] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - +INFO:root:2023-04-23 08:06:54.423941 : Security check : IP adresse '127.0.0.1' connected +DEBUG:paramiko.transport:starting thread (client mode): 0x76ebbdf0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5' +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +DEBUG:paramiko.transport:[chan 0] EOF received (0) +DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 1 opened. +DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok +DEBUG:paramiko.transport:[chan 1] EOF received (1) +DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 1] EOF sent (1) +DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 2 opened. +DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok +DEBUG:paramiko.transport:[chan 2] EOF received (2) +DEBUG:paramiko.transport:[chan 2] EOF sent (2) +DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes +DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 3 opened. +DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok +DEBUG:paramiko.transport:[chan 3] EOF received (3) +DEBUG:paramiko.transport:[chan 3] EOF sent (3) +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +DEBUG:paramiko.transport:Dropping user packet because connection is dead. +INFO:root:2023-04-23 08:07:19.475481 : Lms_Config_Theme_and_Logo -Can't connect to server on '88.170.110.220' (10060) - Line : 2360 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 08:07:19] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 08:13:37.183443 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 08:13:37.183443 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 08:13:37.183443 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 08:13:37.184432 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 08:15:35.761544 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 08:15:35.761544 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 08:15:35.762545 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 08:15:35.762545 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 08:16:02.430883 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 08:16:02.431891 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 08:16:02.431891 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 08:16:02.431891 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 09:24:07.059499 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 09:24:07.060496 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 09:24:07.060496 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 09:24:07.060496 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 09:24:21.223570 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 09:24:21.223570 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 09:24:21.223570 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 09:24:21.224568 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 09:24:29.370505 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:29.371507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:29.373507 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:29] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:29] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:29] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:29.754175 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:29.756176 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:29] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:30.766953 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:30.770965 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:30.781966 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:30.782965 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:30.784969 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:30.785970 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.096628 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:31.098625 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.106620 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.109626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:31.115620 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.125629 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.421530 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:31.426515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.431521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.439514 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:31.444523 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:24:31.449517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.735826 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:24:31.739806 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:24:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 09:37:12.098828 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 09:37:12.098828 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 09:37:12.098828 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 09:37:12.098828 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 09:38:13.058781 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 09:38:13.058781 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 09:38:13.058781 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 09:38:13.058781 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 09:39:39.051783 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 09:39:39.051783 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 09:39:39.051783 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 09:39:39.051783 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 09:40:11.147033 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:40:11.821089 : partner_login Les identifiants fournies (login et/ou mot de passe) sont incorrectes +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:40:11] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:41:24.403805 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:41:24.409789 : partner_login Les identifiants fournies (login et/ou mot de passe) sont incorrectes +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:41:24] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 09:42:23.634621 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 09:42:23.639610 : partner_login Les identifiants fournies (login et/ou mot de passe) sont incorrectes +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 09:42:23] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:13.597724 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 16:39:13.598721 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 16:39:13.598721 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 16:39:13.598721 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 16:39:25.609385 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 16:39:25.609385 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 16:39:25.609385 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 16:39:25.609385 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 16:39:37.801741 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:37.804736 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:37.810772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:37] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:37] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:38] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:39.160439 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.162500 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:39.790234 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.791234 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.792222 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.792222 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.794335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:39.797443 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.113497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.115799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.116799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.124187 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.129716 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.135134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.437556 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.438838 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.450509 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.451996 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.451996 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.457559 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:39:40.765545 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:39:40.767554 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:39:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 16:41:21.618943 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 16:41:21.618943 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 16:41:21.618943 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 16:41:21.618943 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 16:44:11.610563 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 16:44:11.610563 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 16:44:11.610563 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 16:44:11.611563 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 16:46:07.998958 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:08.001360 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:08.004327 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:08] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:08] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:08] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:08.973814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:08.978017 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.686440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.691440 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.695442 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.700438 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.707489 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.712481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.723085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.728089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.737085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.741084 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.744095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.758086 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.766091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.770093 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.776085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.784086 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.794542 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.798021 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:46:09.805459 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:46:09.811980 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:46:09] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:11.479664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:47:12.485819 : partner_login Connexion partnair mysy1000formation@gmail.com : OK, Date : 2023-04-23 16:47:11.480729 , _id = 63d168b1da18f633b8053b6a +INFO:root:2023-04-23 16:47:12.495150 : partner_login Connexion partener_token : OK , _id = 63d169b8a18e0689a1336d32 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:12] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:12.915041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:47:12.921230 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:47:12.927041 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:12] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:12.935065 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:12.951911 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:12.957665 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:12] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:13.218269 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:47:17.977655 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:47:17.983680 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:47:17.992720 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NEhvSySzsgrsOA/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NEhvSySzsgrsOA/payment_methods?type=card response_code=404 +DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such customer: \'cus_NEhvSySzsgrsOA\'; a similar object exists in live mode, but a test mode key was used to make this request.",\n "param": "id",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_qiL8fJLmGEuw4K?t=1682261241",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qiL8fJLmGEuw4K message='Dashboard link for request' +INFO:stripe:error_code=resource_missing error_message="No such customer: 'cus_NEhvSySzsgrsOA'; a similar object exists in live mode, but a test mode key was used to make this request." error_param=id error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-04-23 16:47:19.871070 : get_customer_payement_cards -Request req_qiL8fJLmGEuw4K: No such customer: 'cus_NEhvSySzsgrsOA'; a similar object exists in live mode, but a test mode key was used to make this request. - ERRORRRR AT Line : 140 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:47:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:04.477484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:04.481889 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:04.485315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:04] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:04] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:04] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.213165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.217151 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.672625 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.676291 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.681583 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.689425 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.698017 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.701549 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.709860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.717979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.728333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.734961 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.740127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.744787 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.750378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.758383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.765843 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.770657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.777506 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:05.781849 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.785964 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:05.795338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:14.489322 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:14.501665 : partner_login Connexion partnair mysytraining@gmail.com : OK, Date : 2023-04-23 16:48:14.491427 , _id = 638139d0934a818b1f6f85f7 +INFO:root:2023-04-23 16:48:14.507268 : partner_login Connexion partener_token : OK , _id = 63813a72b4c6b1dce20a0481 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:14] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:14.888554 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:14.895185 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:14.903555 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:14.912214 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:14.918993 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:14.940536 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:14] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:15.375771 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:18.072318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:18.078042 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:18.086620 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_m5yLeskFfiGkfH message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:48:53.676619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:48:53.686760 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:48:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:49:12.113991 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:49:12.141168 : update_partner_accountLe partenaire a bien ete mise à jour =638139d0934a818b1f6f85f7 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:49:12] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:05.944027 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:05.949032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:05.957038 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_HJUzPMrcaXz4c2 message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:06] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:10.523634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:10.530314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:10.534683 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:10.544733 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:10] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7WSr3ZkMtYIxRz message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:13.273004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:13.288702 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:24.361147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:24.367404 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX response_code=404 +DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such subscription: \'sub_1MUqmJAbmaEugrFTTTZ07ZfX\'",\n "param": "id",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_3VYmaYfgOXbEZd?t=1682261486",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_3VYmaYfgOXbEZd message='Dashboard link for request' +INFO:stripe:error_code=resource_missing error_message="No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX'" error_param=id error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-04-23 16:51:25.275024 : strip_update_subscription_plan -Request req_3VYmaYfgOXbEZd: No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX' - ERRORRRR AT Line : 970 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:25] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_234000254\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 23/04/2023 Date échéance : 23/04/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00Fv5g\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold390270.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 270.0
    TVA 20% : 54.0
    Montant TTC : 324.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000254.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xcaf70f40 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000254.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000254.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000254.pdf') +INFO:root:2023-04-23 16:51:34.278648 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000254.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000254.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-04-23 16:51:34.280655 : Impression facture N° FACT_234000254 OK +INFO:root:2023-04-23 16:51:34.329935 : UpdataPartnerRankingClass - Le RANKING de 12 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-04-23 16:51:34.300927', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:34] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:34.477110 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:38] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:38.760895 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:38.765473 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:38.771808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:38.778634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 16:51:38.784905 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 16:51:39.688638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 16:51:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 17:25:30.679636 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:25:30.679636 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:25:30.680752 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:25:30.680752 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 17:28:53.071126 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:28:53.078032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:28:53.082930 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:28:53.089946 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:28:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:28:53.109814 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:28:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:28:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:28:54.187472 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:28:54] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:28:54.557401 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:28:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:01.247636 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:01.254076 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:01.262089 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_74P1RgxCWcIGeX message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:09.039600 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:09.047767 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:09.049763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:09.060865 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hqqi1aud2mxeEe message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:10.324305 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:10.335848 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:19.307872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:19.330524 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX response_code=404 +DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such subscription: \'sub_1MUqmJAbmaEugrFTTTZ07ZfX\'",\n "param": "id",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_vyBaPxG5euuJ9P?t=1682263761",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_vyBaPxG5euuJ9P message='Dashboard link for request' +INFO:stripe:error_code=resource_missing error_message="No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX'" error_param=id error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-04-23 17:29:20.275184 : strip_update_subscription_plan -Request req_vyBaPxG5euuJ9P: No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX' - ERRORRRR AT Line : 970 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:20] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_234000255\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 23/04/2023 Date échéance : 23/04/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00tnV_\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Standard250100.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 100.0
    TVA 20% : 20.0
    Montant TTC : 120.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000255.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xc20c9000 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000255.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000255.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000255.pdf') +INFO:root:2023-04-23 17:29:36.758739 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000255.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000255.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-04-23 17:29:36.760755 : Impression facture N° FACT_234000255 OK +INFO:root:2023-04-23 17:29:36.787713 : UpdataPartnerRankingClass - Le RANKING de 12 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-04-23 17:29:36.773264', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:36] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:36.987317 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:47.576073 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:47.580445 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:47.587766 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:47.594468 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:47.599900 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:47.616163 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:48.808683 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:50] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:56.975950 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:56.981875 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:56.987880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:56.991549 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:29:57.000855 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:29:57.891632 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:29:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 17:33:57.378102 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:33:57.378102 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:33:57.379129 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:33:57.379129 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 17:34:28.064268 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:34:28.064268 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:34:28.064268 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:34:28.064268 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 17:34:42.421851 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:34:42.421851 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:34:42.421851 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:34:42.421851 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 17:35:26.202590 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:35:26.202590 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:35:26.202590 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:35:26.202590 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-23 17:35:26.202590 : ++ LMS_BAS_URL rec.mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 17:37:00.720603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:00.726080 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:00.729075 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:00.735085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:00.747839 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:01.659953 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:01.866660 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:04.119368 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:04.123663 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:04.129691 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5qbONs5hz4VNya message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:08.391215 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:08.398012 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:08.402685 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:08.413597 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:08] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wSYNqLrodx2wsB message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:10] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:10.222665 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:10.235933 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:22.167681 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:37:22.173819 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MUqmJAbmaEugrFTTTZ07ZfX response_code=404 +DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such subscription: \'sub_1MUqmJAbmaEugrFTTTZ07ZfX\'",\n "param": "id",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_jQW7i7v6rKrg3l?t=1682264246",\n "type": "invalid_request_error"\n }\n}\n' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_jQW7i7v6rKrg3l message='Dashboard link for request' +INFO:stripe:error_code=resource_missing error_message="No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX'" error_param=id error_type=invalid_request_error message='Stripe API error received' +INFO:root:2023-04-23 17:37:25.896095 : strip_update_subscription_plan -Request req_jQW7i7v6rKrg3l: No such subscription: 'sub_1MUqmJAbmaEugrFTTTZ07ZfX' - ERRORRRR AT Line : 970 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:25] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 - +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t3IL
\n\t\t\t\t\tRue de la victoired
\n\t\t\t\t\t75009 Paris
\n\t\t\t\t\tFrance
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_234000256\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 23/04/2023 Date échéance : 23/04/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00POvD\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold390270.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 270.0
    TVA 20% : 54.0
    Montant TTC : 324.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_234000256.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0x7266c2b0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000256.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000256.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000256.pdf') +INFO:root:2023-04-23 17:37:43.081900 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_234000256.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_234000256.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-04-23 17:37:43.083892 : Impression facture N° FACT_234000256 OK +INFO:root:2023-04-23 17:37:43.116482 : UpdataPartnerRankingClass - Le RANKING de 12 ont été mise à jour avec la valeur {'display_rank': '50', 'date_update': '2023-04-23 17:37:43.099384', 'isalaune': '1'} +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:43] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:37:43.608930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:37:59] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:38:17.262653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:38:17.267077 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:38:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:38:17.273139 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:38:17.278591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:38:17.283054 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:38:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:38:17] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:38:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:38:18.102331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:38:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-04-23 17:40:10.578113 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-04-23 17:40:10.579155 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-04-23 17:40:10.579155 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-04-23 17:40:10.579155 : ++ FLASK PORT 5001 ++ +INFO:root:2023-04-23 17:40:10.579155 : ++ LMS_BAS_URL rec.mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 229-221-900 +INFO:root:2023-04-23 17:41:44.175465 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:44.181094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:44.184683 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:44.190135 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:44.203693 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:45.122531 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:45.292135 : LMS_Get_Partner_Data -'mysy_lms_user_id' - Line : 2004 +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:47.308450 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:47.311479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:47.317479 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_wHaInrHkxn5KCO message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:47] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:55.488451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:55.494659 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:55.502107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:55.506104 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:55] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1MU7aUAbmaEugrFTHmfr14GS",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "carte avec 3DS",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "IE",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "HS92xLRWsDeuSLhN",\n "funding": "credit",\n "generated_from": null,\n "last4": "3220",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1674647782,\n "customer": "cus_NDWmBTkRCuW8J1",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NDWmBTkRCuW8J1/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_awdCZQUE5PF7nk message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:57] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-04-23 17:41:57.375072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-04-23 17:41:57.388070 : Connexion du partner recid = 57c241ea55744b884d1f6c974e90fd1f905556bb1c80677d7d OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [23/Apr/2023 17:41:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat diff --git a/lms_chamilo/mysy_lms.py b/lms_chamilo/mysy_lms.py index 1910b27..188f2bf 100644 --- a/lms_chamilo/mysy_lms.py +++ b/lms_chamilo/mysy_lms.py @@ -2117,7 +2117,7 @@ def LMS_Create_VirtualHost(diction): """ lms_prefixe_url = ''.join(filter(str.isalnum, part_nom)) - lms_prefixe_url = str(lms_prefixe_url)[0:10] + lms_prefixe_url = str(str(lms_prefixe_url)[0:10]).lower() if(len(lms_prefixe_url) < 3 ): mycommon.myprint( str(inspect.stack()[0][3]) + " - le lms_prefixe_url est trop court. Le nom du client comporte moins de 3 caractères alphanumerique") @@ -2136,7 +2136,8 @@ def LMS_Create_VirtualHost(diction): cur = conn.cursor() # Verification d'abord si l'url existe. - query_compte_exist = " Select count(*), url From access_url WHERE url LIKE '%" + lms_prefixe_url + ".%' " + local_full_url = str(lms_prefixe_url)+"."+str(MYSY_GV.LMS_BAS_URL) + query_compte_exist = " Select count(*), url From access_url WHERE url = '" + local_full_url + "' " print(" ### query_compte_exist = ", query_compte_exist) query_compte_exist_exec = cur.execute(query_compte_exist) @@ -2383,10 +2384,10 @@ def Lms_Config_Theme_and_Logo(diction): if (int(mycommon.tryInt(lms_count_courses_val)) <= 0): print(" ### le partenaire "+str(my_partner['nom'])+" n'as pas de config dans la 'settings_current' il faut en créer ") qry_add_update_setting = " INSERT INTO settings_current " \ - "SET variable = 'stylesheets', subkey = 'textfield', " \ + "SET variable = 'stylesheets', subkey = 'textfield', title = 'vchamilo', " \ "category = 'stylesheets', selected_value = '"+str(new_theme_name)+"'," \ " access_url = '"+str(lms_virtualhost_id)+"', access_url_changeable = '1', " \ - "access_url_locked = 'access_url_locked'; " + "access_url_locked = '0'; " print(" ### qry_add_setting = ", qry_add_update_setting) else: print(" ### le partenaire " + str( @@ -2490,10 +2491,10 @@ def Duplicate_LMS_Theme_Design(diction): return False, " Impossible de dupliquer le theme " commands = [ - "rm -rf /var/www/html/chamilo_mysy/web/css/themes/"+str(new_theme_name), - "rm -rf /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(new_theme_name), - "cp -rf /var/www/html/chamilo_mysy/web/css/themes/"+str(original_theme_name)+" /var/www/html/chamilo_mysy/web/css/themes/"+str(new_theme_name), - "cp -rf /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(original_theme_name)+" /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(new_theme_name), + "rm -rf "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"web/css/themes/"+str(new_theme_name), + "rm -rf "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"app/Resources/public/css/themes/"+str(new_theme_name), + "cp -rf "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"web/css/themes/"+str(original_theme_name)+" "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"web/css/themes/"+str(new_theme_name), + "cp -rf "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"app/Resources/public/css/themes/"+str(original_theme_name)+" "+str(MYSY_GV.MYSY_LMS_BASE_DIRECTORY)+"app/Resources/public/css/themes/"+str(new_theme_name), ] print(" ### Les commandes à executé pr dupliquer ", commands) diff --git a/main.py b/main.py index 3353ca0..4c4856d 100644 --- a/main.py +++ b/main.py @@ -2886,6 +2886,7 @@ if __name__ == '__main__': mycommon.myprint("++ DATABASE "+MYSY_GV.CONNECTION_STRING+" ++") mycommon.myprint("++ DBNAME " + str(MYSY_GV.dbname) + " ++") mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_PROD) + " ++") + mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++") app.run(host='localhost', port=MYSY_GV.MYSY_PORT_PROD, debug=True, threaded=True) elif (MYSY_GV.MYSY_ENV == "DEV"): @@ -2893,6 +2894,7 @@ if __name__ == '__main__': mycommon.myprint("++ DATABASE " + MYSY_GV.CONNECTION_STRING + " ++") mycommon.myprint("++ DBNAME " + str(MYSY_GV.dbname) + " ++") mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_DEV) + " ++") + mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++") app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True) elif (MYSY_GV.MYSY_ENV == "REC"): @@ -2900,6 +2902,7 @@ if __name__ == '__main__': mycommon.myprint("++ DATABASE " + MYSY_GV.CONNECTION_STRING + " ++") mycommon.myprint("++ DBNAME " + str(MYSY_GV.dbname) + " ++") mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_REC) + " ++") + mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++") app.run(host='localhost', port=MYSY_GV.MYSY_PORT_REC, debug=True, threaded=True) diff --git a/partners.py b/partners.py index 6e8547e..baa989c 100644 --- a/partners.py +++ b/partners.py @@ -980,7 +980,7 @@ def partner_login(diction): for val in incom_keys: if str(val).lower() not in str(field_list).lower(): mycommon.myprint(str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas accepté dans cette API") - return False, " Impossible de se connecter" + return False, str(inspect.stack()[0][3]) + " Toutes les informations obligatoires ne sont pas fournies" ''' Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente, @@ -990,7 +990,7 @@ def partner_login(diction): for val in field_list_obligatoire: if str(val).lower() not in diction: mycommon.myprint(str(inspect.stack()[0][3]) + " La valeur '" + val + "' n'est pas presente dans liste des champs") - return False, "Impossible de se connecter" + return False, str(inspect.stack()[0][3]) + " Toutes les informations obligatoires ne sont pas fournies (2) " mydata={} @@ -1041,20 +1041,20 @@ def partner_login(diction): if ret_val2 and ret_val2['_id']: mycommon.myprint(str(inspect.stack()[0][3]) + " Connexion partener_token : OK , _id = " + str(ret_val2['_id'])) else: - mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible d'enregistrer le token du partenare dans partener_token ") - return False, " Impossible de se connecter" + mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible d'enregistrer le token du partenaire dans partener_token ") + return False, " Impossible de se connecter. Une erreur technique est survenue. Merci de contacter votre administrateur" return True, partner_key_secrete_key else: - mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible de se connecter - Partner ") - return False, " Impossible de se connecter" + mycommon.myprint(str(inspect.stack()[0][3]) + " Les identifiants fournis (login et/ou mot de passe) sont incorrects") + return False, " Les identifiants fournis (login et/ou mot de passe) sont incorrects" except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) - return False, " Impossible de connecter le partenaire" + return False, " Impossible de se connecter au système. Merci de contacter votre administrateur " """