some system are not fast enough for it's cpu, and that will cause the issue when connecting to http://localhost:5173 (timeout)
the code you written will try to connect to http://localhost:5173 immediately after the service up,
i recommand to change these line (just example)
tmp = requests.get("http://localhost:5173")
to this line
some system are not fast enough for it's cpu, and that will cause the issue when connecting to http://localhost:5173 (timeout) the code you written will try to connect to http://localhost:5173 immediately after the service up, i recommand to change these line (just example)
tmp = requests.get("http://localhost:5173")
to this line