Comments (4)
@vdonato I made the assumption that this was a regression, but it seems this problem has been present in earlier builds of streamlit as well. My bad, I've removed that tick.
I noticed the same, that the streamlit code on this area has been stable for some time. For whats it worth, it seems that tornadoweb/tornado#3376 is solving the issue of tornado closing the ws connection prematurely, but with the logic error.
from streamlit.
If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.
Your feedback helps us prioritize which bugs to investigate and address first.
from streamlit.
I'm wondering if this is a upstream bug in Tornado.
I did a TCP dump of the traffic locally where the websocket connection was established via curl, and indeed there is ping traffic being generated:
But the strange thing is that it terminates the connection after 30s, which seems to be a bug in tornado then.
Looking upstream, there seems to be one PR tornadoweb/tornado#3376 that attempts to solve this. I tested with the changes suggested in the PR, and this changes the traffic flow to this:
This works, but for some reason the ping comes at interval of 30s. I think this is related to the PR in question (logic error?)
from streamlit.
Thanks for reporting this @toredash!
Do you happen to remember the last streamlit version where you didn't observe this issue? Anecdotally, I remember inspecting network traffic and seeing websocket pings from tornado to the streamlit client at some point in the past, so there's a chance this is indeed an upstream tornado bug given that I don't think the code for this on our end has changed for quite some time (it has probably been months to years since the code related to this has been changed significantly).
from streamlit.
Related Issues (20)
- st.selectbox could be typed so that it always returns T unless the index is None (etc) HOT 3
- Button Clicks Ignored (WHEN TEXTAREA HAS FOCUS) HOT 9
- Incomplete shortcodes disappear HOT 9
- Update to support protocol buffer above version 5.0 HOT 3
- button should be able to contain image HOT 2
- doesnt work HOT 2
- Streamlit unnecessarily runs the file watcher against every path in imported modules, even when watching is disabled HOT 5
- `st.experimental_dialog` feels a bit laggy when closing HOT 1
- Add Support for Hover-over Tooltips without Input Widgets HOT 2
- disabled_chat_input feature not working correctly last version of Streamlit HOT 1
- Pages clipped off bottom of sidebar in streamlit 1.35.0 HOT 2
- plotly_chart `on_select` not returning anything for an imshow or heatmap HOT 7
- Cannot create form submit button in empty in form from outside form with with. HOT 4
- new config option that suppresses the greeting and creation of the ~/.streamlit folder, but is not headless HOT 1
- Return selected dataframe rows in order of selection HOT 1
- New Selection mode on st.altair_chart doesn't work with binding_radio and binding_select HOT 2
- `plotly_chart`'s new `on_select` feature is poorly integrated with subplots and hovermodes HOT 2
- Hover color should overwrite colored text HOT 1
- [Streamlit 1.35.0] Error related to cached st.plotly_chart(plotly.express.line() "Trying to save widget message that wasn't registered. This should not be possible." HOT 2
- "StreamlitAPIException: Selectbox index must be between 0 and length of options" is probably misphrased HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit.