HoloBot icon indicating copy to clipboard operation
HoloBot copied to clipboard

Responses come in out of order

Open KeenanGray opened this issue 6 years ago • 3 comments

Hi Nick, I've been playing around with the microsoft bot framework and am trying to implement my bot with this program. I registered my bot with the framework and deployed it on Azure. I've done some debugging in Unity and it seems that the issue I am having is that the first message I send has no response from the bot, then the second message I send gets the bot to respond with the correct response for the first message. The third message gets the response for the second message, and so on. At first I thought it was an issue with the bot code I had written but I am unsure since I have replaced my bot with this example and the issue persists. Any help you could offer would be greatly appreciated. I could also PM you my direct line key to see if you can reproduce the issue.

KeenanGray avatar Jul 10 '17 19:07 KeenanGray

hi Keenan - i have fixed it in my "Fork" and used WebSockets with an HTTP Framework - checkout the bug here and the patch file.

its an issue of the polling feature that was used in the current implementation. websockets are asynchronius and will display when there is a new results.

https://github.com/ActiveNick/HoloBot/issues/1

for my Fork https://github.com/lolo8304/LoloBot - but i have adapted some stuff. checkout a demo on youtube - https://www.youtube.com/watch?v=MhijtVyEtFs

just take the patch file - the bug is still open - it seems that Nick does not have so much time

lolo8304 avatar Jul 10 '17 19:07 lolo8304

Thanks so much, this seems to have solved it.

KeenanGray avatar Jul 10 '17 21:07 KeenanGray

Thanks, I am finally revisiting HoloBot and will look at this, including the fix from @lolo8304. I'm leaving the issue open for now.

ActiveNick avatar Jul 27 '17 16:07 ActiveNick