You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Streaming stops after the first ping/pong (flags freeze 10s after start since 1.1.8) #18
Since 1.1.8, the streaming data source stops permanently ~10 seconds after start. Flag changes are no longer received until the process restarts, while client.initialize still returns True.
Confirmed root cause
The SDK sends {"messageType":"ping"} every 10 s; the evaluation server replies {"messageType":"pong","data":{}} (PingMessageHandler.cs, unchanged since 2023).
Summary
Since 1.1.8, the streaming data source stops permanently ~10 seconds after start. Flag changes are no longer received until the process restarts, while
client.initializestill returnsTrue.Confirmed root cause
{"messageType":"ping"}every 10 s; the evaluation server replies{"messageType":"pong","data":{}}(PingMessageHandler.cs, unchanged since 2023).Streaming._on_messageraisesValueError('invalid streaming data')for any message rejected byvalide_all_data(), which only acceptsdata-sync.exceptbranch closes the socket with_SelfClosed(is_reconn=False), so the streaming thread exits and never reconnects.Reproduced on 1.1.9 with a clean install against FeatBit v6.0.0:
On CPython 3.13/3.14, pip/Poetry can only install 1.1.9 (1.1.7 declares
<3.13), so there is no working version there.Proposed scope
pongas a keep-alive reply in_on_messageand return before data validation.pongframe and the existing invalid-data path.Acceptance criteria
pongframe does not close the connection or change the data-update state.