Hello,
Well, I managed to diagnose the problem.
The problem comes when the Panel is in SSL and has a certificate
In /www/server/panel/BT-Task
you have this function
def check_panel_ssl():
try:
while True:
lets_info = ReadFile("{}/ssl/lets.info".format(base_path))
if not lets_info:
time.sleep(600)
continue
os.system(get_python_bin() + " {}/script/panel_ssl_task.py > /dev/null".format(base_path))
time.sleep(60)
except Exception as e:
public.writeFile("/tmp/panelSSL.pl", str(e), "a+")
And if we look at the file /script/panel_ssl_task.py
we find this
#coding: utf-8
import os,sys,time
os.chdir('/www/server/panel/')
sys.path.insert(0,"class/")
import setPanelLets,public
from json import loads
lets_info = public.readFile("/www/server/panel/ssl/lets.info")
if lets_info:
lets_info = loads(lets_info)
if setPanelLets.setPanelLets().check_cert_update(lets_info['domain']):
strTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(time.time())))
public.writeFile("/tmp/panelSSL.pl","{} Panel certificate updated successfully\n".format(strTime),"a+")
#public.writeFile('/www/server/panel/data/reload.pl',"1")
I simply commented the last line : reload.pl
Because the reload breaks the terminal connection and as the bt-task is launched every minute, I had a disconnection every minute.
And now, it's great, my aapanel terminal has no more TIMEOUT !
Yeeeee
Can you please warn the developers ?
Thanks in advance
Fabrice