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

Stopping and starting an application causes the app to not load for a long time #1934

Open
cbr7 opened this issue Oct 16, 2024 · 5 comments
Open
Assignees
Labels
area/ui kind/bug 🐞 Something isn't working
Milestone

Comments

@cbr7
Copy link
Contributor

cbr7 commented Oct 16, 2024

Bug description

Currrently if the user stops and starts back up one of the demo apps when he navigates the to app UI the app will fail to load, even though the app shows as running in the AI Lab list, this situation lasts for about 5 mins until the app heals itself.

Screen.Recording.2024-10-16.at.14.37.20.mov

Operating system

macOs

Installation Method

from ghcr.io/containers/podman-desktop-extension-ai-lab container image

Version

next (development version)

Steps to reproduce

  1. Start up a fresh instance of one of the demo apps.
  2. Stop the app.
  3. Once it's stopped start it back up again.
  4. Once it reaches RUNNING state open the app window and try to use it.
  5. Notice that most of the UI will fail to load.
  6. Close the app window and wait 5 mins.
  7. Open the app window again and see that now it works.

Relevant log output

No response

Additional context

No response

@cbr7 cbr7 added kind/bug 🐞 Something isn't working area/ui labels Oct 16, 2024
@slemeur slemeur added this to the 1.4 milestone Oct 23, 2024
@nichjones1 nichjones1 moved this to 📋 Backlog in Podman Desktop Planning Oct 24, 2024
@feloy
Copy link
Contributor

feloy commented Nov 6, 2024

Hi @cbr7 I'm not able to reproduce the problem.

I have tested on Mac, with two versions AI Lab 1.3.0 and with the main branch, and with Podman Desktop main branch.

If you still can reproduce it, could you please share the exact versions of Podman Desktop and AI Lab, and the information of the underlying container (its state, its logs, etc)?

@feloy feloy moved this from 📋 Backlog to 🚧 In Progress in Podman Desktop Planning Nov 6, 2024
@cbr7
Copy link
Contributor Author

cbr7 commented Nov 6, 2024

@feloy will try to reproduce after the release is finished

@cbr7
Copy link
Contributor Author

cbr7 commented Nov 6, 2024

@feloy I've been able to reproduce it with the latest AI Lab release 1.3.2 using PD 1.14.1 release, for me it happens exactly as described in the initial report, after doing a START -> STOP -> START cycle, upon the second startup the app takes a very long time to initialize, to be clear in the end the app will work, you just have to wait for it an unspecified amount of time, currently I'm noticing around 2-3 minutes of wait time until the app is actually usable.

There is nothing inthe container/pod logs that jumped out at me when I looked.

Screen.Recording.2024-11-06.at.15.09.49.mov

@feloy
Copy link
Contributor

feloy commented Nov 7, 2024

When the app is restarted, the app's home page is accessible with curl, but is not with the browser (it seems that the browser can access it if we completely stop and restart the browser app)

browser-pending.mp4

@feloy
Copy link
Contributor

feloy commented Nov 12, 2024

Not sure what can be the root cause of the problem, opening containers/ai-lab-recipes#812 on AI Lab Recipes to have some feedback from app's developers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui kind/bug 🐞 Something isn't working
Projects
Status: 🚧 In Progress
Development

No branches or pull requests

3 participants