Because following error my streamlit application stopped working on any of the browsers. In place of 8051 I am getting URL as http://localhost:3000/ which is not working at all.
2024-10-09 15:49:58.246 WARNING streamlit.config:
Warning: the config option 'server.enableCORS=false' is not compatible with 'server.enableXsrfProtection=true'.
As a result, 'server.enableCORS' is being overridden to 'true'.
More information:
In order to protect against CSRF attacks, we send a cookie with each request.
To do so, we must specify allowable origins, which places a restriction on
cross-origin resource sharing.
If cross origin resource sharing is required, please disable server.enableXsrfProtection.
2024-10-09 15:49:58.262 DEBUG streamlit.web.server.server: Starting server...
2024-10-09 15:49:58.262 DEBUG streamlit.web.server.server: Serving static content from the Node dev server
2024-10-09 15:49:58.262 DEBUG streamlit.web.server.server: Server started on port 8501
2024-10-09 15:49:58.278 DEBUG streamlit.runtime.runtime: Runtime state: RuntimeState.INITIAL -> RuntimeState.NO_SESSIONS_CONNECTED
You can now view your Streamlit app in your browser.
Local URL: http://localhost:3000
Network URL: http://10.129.182.99:3000
2024-10-09 15:49:58.403 DEBUG streamlit.web.bootstrap: Setting up signal handler