After upgrade with Python 3.9.6 on 3.10 have appeared in the log:
/opt/root/mtprotoproxy/mtprotoproxy.py:2317: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
/opt/root/mtprotoproxy/mtprotoproxy.py:2279: DeprecationWarning: There is no current event loop
stats_printer_task = asyncio.Task(stats_printer())
/opt/root/mtprotoproxy/mtprotoproxy.py:2283: DeprecationWarning: There is no current event loop
middle_proxy_updater_task = asyncio.Task(update_middle_proxy_info())
/opt/root/mtprotoproxy/mtprotoproxy.py:2287: DeprecationWarning: There is no current event loop
time_get_task = asyncio.Task(get_srv_time())
/opt/root/mtprotoproxy/mtprotoproxy.py:2290: DeprecationWarning: There is no current event loop
get_cert_len_task = asyncio.Task(get_mask_host_cert_len())
/opt/root/mtprotoproxy/mtprotoproxy.py:2293: DeprecationWarning: There is no current event loop
clear_resolving_cache_task = asyncio.Task(clear_ip_resolving_cache())
After upgrade with Python 3.9.6 on 3.10 have appeared in the log:
/opt/root/mtprotoproxy/mtprotoproxy.py:2317: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() /opt/root/mtprotoproxy/mtprotoproxy.py:2279: DeprecationWarning: There is no current event loop stats_printer_task = asyncio.Task(stats_printer()) /opt/root/mtprotoproxy/mtprotoproxy.py:2283: DeprecationWarning: There is no current event loop middle_proxy_updater_task = asyncio.Task(update_middle_proxy_info()) /opt/root/mtprotoproxy/mtprotoproxy.py:2287: DeprecationWarning: There is no current event loop time_get_task = asyncio.Task(get_srv_time()) /opt/root/mtprotoproxy/mtprotoproxy.py:2290: DeprecationWarning: There is no current event loop get_cert_len_task = asyncio.Task(get_mask_host_cert_len()) /opt/root/mtprotoproxy/mtprotoproxy.py:2293: DeprecationWarning: There is no current event loop clear_resolving_cache_task = asyncio.Task(clear_ip_resolving_cache())