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
Flag evaluation on client SDK continues to fail, even after the flipt server has been restarted. Server logs show that the client SDK is polling/fetching flags, but the evaluation call doesn't recover.
Steps to Reproduce
Spin up a flipt server like so:
docker run -p 8080:8080 -v ./flipt-data:/var/opt/flipt docker.flipt.io/flipt/flipt:latest
Problem
Flag evaluation on client SDK continues to fail, even after the flipt server has been restarted. Server logs show that the client SDK is polling/fetching flags, but the evaluation call doesn't recover.
Steps to Reproduce
Add a flag
my-flag
.Run the following python client
Observe that the python client works as expected, printing the evaluation result every second
Stop the flipt server
Observe the python client correctly logging the following error
Restart the flipt server
Expected Behaviour
The client SDK should successfully recover and resume normal operation once the flipt server is back online
Nasty Workaround
Wrap
evaluate_boolean
andevaluate_variant
function, handle the (generic) exception and re-initializeFliptEvaluationClient
Environment
flipt-client
version0.13.0
Additional Notes
Happy to help if further clarification or testing is needed! 😄
The text was updated successfully, but these errors were encountered: