Description
Investigating on containers/podman-desktop-extension-ai-lab#1934, I can see that when the recipe is stopped, then accessed from a browser, then stopped, then restarted, then accessed again with the same instance of the browser (not the same tab, but the same app instance), it can take a minute or so for the app to be accessible again.
Steps to reproduce:
- start the chatbot recipe from Podman AI Lab
- access the app, then close the tab (but not the entire browser session, be sure to have another opened tab)
- stop the app from the
AI Apps > Running
page (just stopped, not deleted) - start the app again
- try to access the app again
Sometimes, the app is not accessible from the browser, but is accessible with a curl request or from another browser session (for example, it is accessible from a Firefox fresh session, but not accessible from a Chrome session used to access the app previously). After restarting the browser, the app is accessible again.
Not sure if it can be related to the app or the frameworks used in the app.
This is not 100% reproducible, but I can reproduce easily on Mac, with a HyperV based podman machine with 8 cpus and 16GB RAM and the chatbot recipe.