Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:32:47 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 173, in submit
    raise RuntimeError('cannot schedule new futures after '
                       'interpreter shutdown')

RuntimeError: cannot schedule new futures after interpreter shutdown


Exception happened while polling for updates.

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
    code, payload = await self.do_request(
                    ^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
    res = await self._client.request(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1540, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
    raise exc from None

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        pool_request.request
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
    raise exc

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/anyio.py", line 115, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 215, in connect_tcp
    gai_res = await getaddrinfo(
              ^^^^^^^^^^^^^^^^^^
        target_host, remote_port, family=family, type=socket.SOCK_STREAM
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 649, in getaddrinfo
    gai_res = await get_async_backend().getaddrinfo(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoded_host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2732, in getaddrinfo
    return await get_running_loop().getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 939, in getaddrinfo
    return await self.run_in_executor(
                 ~~~~~~~~~~~~~~~~~~~~^
        None, getaddr_func, host, port, family, type, proto, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown

The above exception was the direct cause of the following exception:

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper
    raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc

telegram.error.NetworkError: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after shutdown')


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
    code, payload = await self.do_request(
                    ^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
    res = await self._client.request(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1540, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
    raise exc from None

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        pool_request.request
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
    raise exc

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/anyio.py", line 115, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 215, in connect_tcp
    gai_res = await getaddrinfo(
              ^^^^^^^^^^^^^^^^^^
        target_host, remote_port, family=family, type=socket.SOCK_STREAM
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 649, in getaddrinfo
    gai_res = await get_async_backend().getaddrinfo(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoded_host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2732, in getaddrinfo
    return await get_running_loop().getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 939, in getaddrinfo
    return await self.run_in_executor(
                 ~~~~~~~~~~~~~~~~~~~~^
        None, getaddr_func, host, port, family, type, proto, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown

The above exception was the direct cause of the following exception:

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper
    raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc

telegram.error.NetworkError: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after shutdown')


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper
    raise exception

telegram.error.Conflict: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running


Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:38:00 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^


Error linking account: cannot schedule new futures after shutdown

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/services/telegram_bot_service.py", line 966, in cmd_link
    test_response = await loop.run_in_executor(None, test_client.funds)
                          ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^


Invalid session 7laOcfHqKELdUNKcAAA6 (further occurrences of this error will be logged with level INFO)


Invalid session tViT830ryTqVIoHpAABA (further occurrences of this error will be logged with level INFO)


WebSocket port 8765 is already in use on 127.0.0.1.
This port is required for SDK compatibility (see strategies/ltp_example.py).
Please:
1. Stop any other OpenAlgo instances running on port 8765
2. Kill any processes using port 8765: lsof -ti:8765 | xargs kill -9
3. Or wait for the port to be released
Cannot start WebSocket server with port switching as it would break SDK clients.


Error in WebSocket server thread: WebSocket port 8765 is already in use on 127.0.0.1.
This port is required for SDK compatibility (see strategies/ltp_example.py).
Please:
1. Stop any other OpenAlgo instances running on port 8765
2. Kill any processes using port 8765: lsof -ti:8765 | xargs kill -9
3. Or wait for the port to be released
Cannot start WebSocket server with port switching as it would break SDK clients.

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/websocket_proxy/app_integration.py", line 159, in run_websocket_server
    _websocket_proxy_instance = WebSocketProxy(host=ws_host, port=ws_port)

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/websocket_proxy/server.py", line 59, in __init__
    raise RuntimeError(error_msg)

RuntimeError: WebSocket port 8765 is already in use on 127.0.0.1.
This port is required for SDK compatibility (see strategies/ltp_example.py).
Please:
1. Stop any other OpenAlgo instances running on port 8765
2. Kill any processes using port 8765: lsof -ti:8765 | xargs kill -9
3. Or wait for the port to be released
Cannot start WebSocket server with port switching as it would break SDK clients.


Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:41:58 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown


Invalid session HgnNw5tW0pzQmjRlAAAJ (further occurrences of this error will be logged with level INFO)


  File "/home/passwordmn/openalgo.password-managers.com/openalgo/websocket_proxy/app_integration.py", line 159, in run_websocket_server
    _websocket_proxy_instance = WebSocketProxy(host=ws_host, port=ws_port)

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/websocket_proxy/server.py", line 59, in __init__
    raise RuntimeError(error_msg)

RuntimeError: WebSocket port 8765 is already in use on 127.0.0.1.
This port is required for SDK compatibility (see strategies/ltp_example.py).
Please:
1. Stop any other OpenAlgo instances running on port 8765
2. Kill any processes using port 8765: lsof -ti:8765 | xargs kill -9
3. Or wait for the port to be released
Cannot start WebSocket server with port switching as it would break SDK clients.


Invalid session 1TxTAb_EmU-sUQwZAAAL (further occurrences of this error will be logged with level INFO)


  File "/home/passwordmn/openalgo.password-managers.com/openalgo/services/telegram_bot_service.py", line 966, in cmd_link
    test_response = await loop.run_in_executor(None, test_client.funds)
                          ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown


Invalid session WF7QVM92Xjb1KNPoAABR (further occurrences of this error will be logged with level INFO)


Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:43:48 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 173, in submit
    raise RuntimeError('cannot schedule new futures after '
                       'interpreter shutdown')

RuntimeError: cannot schedule new futures after interpreter shutdown


Invalid session TeUdDZBc6yvS5-6IAAAF (further occurrences of this error will be logged with level INFO)


Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:44:13 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown


Error linking account: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after shutdown')

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
    code, payload = await self.do_request(
                    ^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
    res = await self._client.request(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1540, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
    raise exc from None

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        pool_request.request
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
    raise exc

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/anyio.py", line 115, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 215, in connect_tcp
    gai_res = await getaddrinfo(
              ^^^^^^^^^^^^^^^^^^
        target_host, remote_port, family=family, type=socket.SOCK_STREAM
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 649, in getaddrinfo
    gai_res = await get_async_backend().getaddrinfo(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoded_host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2732, in getaddrinfo
    return await get_running_loop().getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 939, in getaddrinfo
    return await self.run_in_executor(
                 ~~~~~~~~~~~~~~~~~~~~^
        None, getaddr_func, host, port, family, type, proto, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown

The above exception was the direct cause of the following exception:

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/services/telegram_bot_service.py", line 1029, in cmd_link
    await update.message.reply_text(
    ...<2 lines>...
    )

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_message.py", line 2068, in reply_text
    return await self.get_bot().send_message(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<21 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 3115, in send_message
    return await super().send_message(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<23 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 1122, in send_message
    return await self._send_message(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<21 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 629, in _send_message
    result = await super()._send_message(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<23 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 819, in _send_message
    result = await self._post(
             ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper
    raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc

telegram.error.NetworkError: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after shutdown')


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper
    raise exception

telegram.error.Conflict: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running


Invalid session O_KsD7VaFc25YXLoAAAR (further occurrences of this error will be logged with level INFO)


WSGI application raised an exception!

  File "/opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 216, in main_loop
    socket_hijacked = self.process_request(env, input_stream, client)

  File "/opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 348, in process_request
    result = self.app(env, start_response)

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/utils/traffic_logger.py", line 66, in __call__
    return self.app(environ, custom_start_response)
           ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/utils/security_middleware.py", line 73, in __call__
    return self.app(environ, start_response)
           ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/engineio/middleware.py", line 63, in __call__
    return self.engineio_app.handle_request(environ, start_response)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/socketio/server.py", line 435, in handle_request
    return self.eio.handle_request(environ, start_response)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/engineio/server.py", line 306, in handle_request
    socket = self._get_socket(sid)

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/engineio/base_server.py", line 242, in _get_socket
    raise KeyError('Session is disconnected')


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper
    raise exception

telegram.error.Conflict: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running


Error submitting job "market_hours_enforcer (trigger: interval[0:01:00], next run at: 2026-04-14 22:55:02 IST)" to executor "default"

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/schedulers/base.py", line 1195, in _process_jobs
    executor.submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/base.py", line 74, in submit_job
    self._do_submit_job(job, run_times)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/apscheduler/executors/pool.py", line 27, in _do_submit_job
    f = self._pool.submit(
        run_job, job, job._jobstore_alias, run_times, self._logger.name
    )

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown


Exception happened while polling for updates.


  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
    code, payload = await self.do_request(
                    ^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
    res = await self._client.request(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1540, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
    raise exc from None

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        pool_request.request
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
    raise exc

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/anyio.py", line 115, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 215, in connect_tcp
    gai_res = await getaddrinfo(
              ^^^^^^^^^^^^^^^^^^
        target_host, remote_port, family=family, type=socket.SOCK_STREAM
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 649, in getaddrinfo
    gai_res = await get_async_backend().getaddrinfo(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoded_host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2732, in getaddrinfo
    return await get_running_loop().getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 939, in getaddrinfo
    return await self.run_in_executor(
                 ~~~~~~~~~~~~~~~~~~~~^
        None, getaddr_func, host, port, family, type, proto, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')

RuntimeError: cannot schedule new futures after shutdown

The above exception was the direct cause of the following exception:

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop
    await do_action()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_utils/networkloop.py", line 154, in do_action
    action_cb_task.result()
    ~~~~~~~~~~~~~~~~~~~~~^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_updater.py", line 340, in polling_action_cb
    updates = await self.bot.get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 671, in get_updates
    updates = await super().get_updates(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 4860, in get_updates
    await self._post(
    ^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    ),
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper
    raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc

telegram.error.NetworkError: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after shutdown')


Failed to initialize bot: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after interpreter shutdown')

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper
    code, payload = await self.do_request(
                    ^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request
    res = await self._client.request(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1540, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
    raise exc from None

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        pool_request.request
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
    raise exc

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_async/connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/httpcore/_backends/anyio.py", line 115, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
                                   ^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 215, in connect_tcp
    gai_res = await getaddrinfo(
              ^^^^^^^^^^^^^^^^^^
        target_host, remote_port, family=family, type=socket.SOCK_STREAM
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_core/_sockets.py", line 649, in getaddrinfo
    gai_res = await get_async_backend().getaddrinfo(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoded_host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2732, in getaddrinfo
    return await get_running_loop().getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        host, port, family=family, type=type, proto=proto, flags=flags
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 939, in getaddrinfo
    return await self.run_in_executor(
                 ~~~~~~~~~~~~~~~~~~~~^
        None, getaddr_func, host, port, family, type, proto, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/asyncio/base_events.py", line 901, in run_in_executor
    executor.submit(func, *args), loop=self)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "/opt/alt/python313/lib64/python3.13/concurrent/futures/thread.py", line 173, in submit
    raise RuntimeError('cannot schedule new futures after '
                       'interpreter shutdown')

RuntimeError: cannot schedule new futures after interpreter shutdown

The above exception was the direct cause of the following exception:

  File "/home/passwordmn/openalgo.password-managers.com/openalgo/services/telegram_bot_service.py", line 521, in initialize_bot
    await temp_app.initialize()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_application.py", line 489, in initialize
    await self.bot.initialize()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 315, in initialize
    await super().initialize()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 856, in initialize
    await self.get_me()

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 2007, in get_me
    return await super().get_me(
           ^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 989, in get_me
    result = await self._post(
             ^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 703, in _post
    return await self._do_post(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
    return await super()._do_post(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/_bot.py", line 732, in _do_post
    result = await request.post(
             ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^

  File "/home/passwordmn/virtualenv/openalgo.password-managers.com/openalgo/3.13/lib/python3.13/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper
    raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc

telegram.error.NetworkError: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after interpreter shutdown')


Failed to initialize Telegram bot: Unknown error in HTTP implementation: RuntimeError('cannot schedule new futures after interpreter shutdown')