robert.marik
robert.marik
SSolara
Created by robert.marik on 2/26/2025 in #questions-issues
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.
1 replies
SSolara
Created by robert.marik on 11/15/2024 in #questions-issues
Dashboard from a dataframe, modified only i-th row
Hello, I have a dashboard created from a dataframe. For each row from a df subset a card with graph and some other info is created. Now if the data in i-th row are modified, I want to update only the corresponding card. My current solution updates all rows. The code is at https://gist.github.com/robert-marik/77e1bdccc617bd6880f324535fe74a98 (I was not allowed to paste link from pycafe, since the message turned to be long). When I click the button, all cards are rendered again, despite the fact that only one row has been modified. Any idea?
1 replies