python /home/admin/mtr/script_for_cron.py -j deploy_api -m 20 -a ' ' -s api_util -M 0 -S 0 -U 90,80,95 ['/home/admin/mtr', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/home/admin/workarea/git/apy', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '/home/admin/workarea/git/Velours/python'] Check environ variable ! port = 8998 options = -Xmx3G -Xms1G -Xss1G dhttps_key_store = /home/admin/.https/marlene.fotonower.com-keystore.jks outfile = /tmp/report_rerun.txt duser_lang = fr verbose = False sshport = 4243 and port = 8998 senders@fotonower.com Traceback (most recent call last): File "/home/admin/mtr/rerun_api.py", line 462, in restartAPIftn(ports, os.path.expanduser(x.dhttps_key_store), x.dhttps_key_store_password, x.outfile, os.getenv('PYTHONMAIL'), x.java_opt, x.duser_lang, "", verbose, x.version) File "/home/admin/mtr/rerun_api.py", line 206, in restartAPIftn sendmailAndExit(1, "The rerun_api job stop unexpectedly and update was not done, please connect to server and check if compilation succeed of if conf for db is there", "rerun server interrupted " + socket.gethostname(), outfile, pythonmail) File "/home/admin/mtr/rerun_api.py", line 30, in sendmailAndExit msm.SesMailer().send_html_email('senders@fotonower.com',['senders@fotonower.com'], objet, message, '') File "/home/admin/workarea/git/Velours/python/mtr/ses_mailer.py", line 41, in send_html_email response = self._sendgrid_client.send(message) File "/home/admin/.local/lib/python3.8/site-packages/sendgrid/base_interface.py", line 62, in send return self.client.mail.send.post(request_body=message) File "/home/admin/.local/lib/python3.8/site-packages/python_http_client/client.py", line 277, in http_request self._make_request(opener, request, timeout=timeout) File "/home/admin/.local/lib/python3.8/site-packages/python_http_client/client.py", line 184, in _make_request raise exc python_http_client.exceptions.UnauthorizedError: HTTP Error 401: Unauthorized Command exited with non-zero status 1 0.24user 0.65system 0:15.55elapsed 5%CPU (0avgtext+0avgdata 35828maxresident)k 479200inputs+468368outputs (26major+16927minor)pagefaults 0swaps dans le try make output : /data_4/data_log/job/2025/November/27112025/api/ avant le res res make : None apres le print du res user : -5420144887888633165, pwd : 2438869717762478799, host : sql.fotonower.com bdd connecte insertion l956 outfolder : /data_4/data_log/job/2025/November/27112025/api/ l 984 : job api time ./fotonower -Dhttp.port=8998 -Dlogger.file=conf/logger.xml -Dhttps.keyStore=/home/admin/.https/marlene.fotonower.com-keystore.jks -Dhttps.keyStorePassword=mrvr220401 -Dhttps.port=4243 -Duser.language=fr -Dhttp.port=8998 -Dlogger.file=conf/logger.xml -Dhttps.keyStore=/home/admin/.https/marlene.fotonower.com-keystore.jks -Dhttps.keyStorePassword=mrvr220401 -Dhttps.port=4243 -Duser.language=fr >> /data_4/data_log/job/2025/November/27112025/api/log-fotonower--Dhttpport=8998--Dloggerfile=conf-loggerxml--DhttpskeySt-17:14:13.txt 2>&1 l1007