ndahlquist / stable-horde-flutter

An Android+iOS app for the Stable Horde
https://stablehorde.net
GNU General Public License v3.0
53 stars 20 forks source link

Exception: "Waiting Prompt with ID 'ab1bb368-101d-4dd1-acbc-4eab0fa121aa' not found." #82

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: STABLE-HORDE-MOBILE-C

_Exception: Exception: Failed to get task status: 404 {"message": "Waiting Prompt with ID 'ab1bb368-101d-4dd1-acbc-4eab0fa121aa' not found."}

  File "tasks_bloc.dart", line 181, in _TasksBloc._retrieveTaskResult
  File "tasks_bloc.dart", line 251, in _TasksBloc._waitOnTask
ndahlquist commented 1 year ago

This probably happens when a user requests an image, leaves the app, comes back a few hours later (after the stable horde backend has expired the image).

To fix this, I think we can either:

(I would prefer the second option since it would be more robust, but it's more work).

ndahlquist commented 1 year ago

I think we should punt on this for the time being, since it's a big architectural change. Let's focus on the easier issues, and revisit this once other stuff is more stable.