runtime error

Exit code: 3. Reason: INFO: Started server process [1] INFO: Waiting for application startup. ERROR: Traceback (most recent call last): File "/home/user/.local/lib/python3.12/site-packages/starlette/routing.py", line 638, in lifespan async with self.lifespan_context(app) as maybe_state: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/app/api_server.py", line 954, in lifespan engine.mqtt.connect(config.BROKER_HOST, config.BROKER_PORT) File "/home/user/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1435, in connect return self.reconnect() ^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 1598, in reconnect self._sock = self._create_socket() ^^^^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 4616, in _create_socket return _WebsocketWrapper( ^^^^^^^^^^^^^^^^^^ File "/home/user/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 4713, in __init__ self._do_handshake(extra_headers) File "/home/user/.local/lib/python3.12/site-packages/paho/mqtt/client.py", line 4779, in _do_handshake raise WebsocketConnectionError( paho.mqtt.client.WebsocketConnectionError: WebSocket handshake error, connection not upgraded ERROR: Application startup failed. Exiting.

Container logs:

Fetching error logs...