microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.47k stars 2.44k forks source link

ConversationState does not store the property value correctly #6576

Closed smkmate closed 1 year ago

smkmate commented 1 year ago

Describe the bug

There is a counter property in the ConversationState which counts how many times the but was unable to answer a question. This variable is accessed only in two functions. One increases its value and the other sets the value to zero. When I run the code locally or in an azure container app everything works fine. But after I deployed the code to an azure app service, the value of the counter will be incorrect. Sometimes it does not increase after the function was called and other times it increases by two.