Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to the app after restarting the container #812

Open
feloy opened this issue Nov 12, 2024 · 0 comments
Open

Error connecting to the app after restarting the container #812

feloy opened this issue Nov 12, 2024 · 0 comments

Comments

@feloy
Copy link
Contributor

feloy commented Nov 12, 2024

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.

browser-pending.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant