Directline Reconnect Issue
pvkas opened this issue ยท 5 comments
Problem
- Directline sending all past activity when connecting to an old conversation
Issue Description
Reconnecting to old conversation relies on Reconnect Conversation API. Microsoft API is currently having an issue where they are always returning watermark=-
in API
We found the issue in directline when we tried to resolve this issue with Directline APIs.
I could not find place to register issue to directline api.
So, if it relates to any internal repository for direcltine kindly forward this issue to right place.
Please fix it as soon as possible, Suddenly why sending all activities on reconnect?
import { DirectLine } from 'botframework-directlinejs';
const dl = new DirectLine({
secret: /* SECRET */,
conversationId: /* the conversationid you stored from previous conversation */
});
@pvkas is specifying API call behind is new DirectLine with conversationId
.
Why suddenly sending all activities ????? ๐
We had the same issue today, we removed the dash after the watermark=
as a quick fix
Same issue here, the streamUrl returned from reconnecting to a conversation forces watermark=-
which means that all past messages get pushed down the websocket
This is a regression in the directline service. The fix will go out with this week's release
Fix has been released worldwide. Please reopen if you continue to see this issue