[Google Cloud Run] Hasn't received its "streamlit:componentReady" warning on custom modules
See original GitHub issueSummary
All the Streamlit modules such as Cookie Manager from extra_streamlit_components, streamlit_option_menu are not working when I run the app on Google Cloud Run, but totally fine when I run it on local.
streamlit==1.13.0 streamlit_option_menu==0.3.2 extra_streamlit_components==0.1.56 Python 3.10
Code snippet:
import extra_streamlit_components as stx
@st.cache(allow_output_mutation=True)
def get_cookie_manager():
return stx.CookieManager()
cookie_manager = get_cookie_manager()
cookies = cookie_manager.get_all()
target = cookie_manager.get("xxyyzz")
from streamlit_option_menu import option_menu
menu = option_menu(None, ['A', 'B', 'C'])
Screenshot
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Any ideas on "Your app is having trouble loading ... - Streamlit
Hey! Ag-grid component has static files and is compiled. My guess is that this issue is happening at the streamlit side of the...
Read more >Troubleshoot Cloud Run issues
This page shows you how to resolve issues with Cloud Run. For other issues not listed below, check to see if they may...
Read more >Add a parameter to set the `COMPONENT_READY` timeout
I'm still debugging and it looks like I should get this warning Received component message for unregistered ComponentInstance! But we will see ...
Read more >No module named 'google.cloud' When deploying Streamlit ...
To access bigquery, you need to add the library to your requirements.txt file: pip install google-cloud-bigquery.
Read more >Google Cloud Platform Resources Cloud Run - GCP Weekly
How to deploy and secure your Streamlit app on GCP? - Streamlit is a great tool to create beautiful data applications, in this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marduk2 Hi! I have just tried
but increasing the concurrency has already solved the problem in my use case so it is hard to evaluate what is the impact from turning on the session affinity, will let let you guys know if I find the impact
Thank You!
I wonder if turning on session affinity might improve the situation.