[root@tgsocksproxy]# python3 /opt/tgsocksproxy/tgsocksproxy.py
tg://socks?server=YOUR_IP&port=3255&user=tg&pass=pass
tg://socks?server=YOUR_IP&port=3255&user=tg2&pass=pass2
Traceback (most recent call last):
File "/opt/tgsocksproxy/tgsocksproxy.py", line 314, in <module>
main()
File "/opt/tgsocksproxy/tgsocksproxy.py", line 297, in main
server = loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/asyncio/streams.py", line 85, in start_server
return await loop.create_server(factory, host, port, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_server() got an unexpected keyword argument 'loop'
[root@tgsocksproxy]# python3 -V
Python 3.11.4
[root@tgsocksproxy]# python -V
Python 3.11.4