Message: App is disconnnected, and may not function properly. Please refresh the page.

Hello. I am running solara as blueprint in flask application. Flask contains some authorization and then redirects to the blueprint. I hav 4 workers, 20 threads, the app contains about 10 routes. I get often after short time of inactivity the message from the subject (App i s disconnected ...) Any idea, what could be wrong or what should be checked? I use the code from https://solara.dev/documentation/getting_started/deploying/self-hosted#embedding-in-an-existing-fastapi-application , run the app as a service on a nonpriviledged port and redirect apache to that port. The problem was minor with few routes, but becomes more important whe adding more routes. Thank you for any help.
Deploying and hosting your own Solara app
Solara is compatible with many different hosting solutions, such as Flask, Starlette, FastAPI, and Voila.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?