Skip to content

No response after conversation creation #2

@codingcronus

Description

@codingcronus

Hi, thank you for a great library :-)

I'm running into an issue. I have:

  1. A custom WebChat component from https://github.com/Microsoft/BotFramework-WebChat running on port 8000.
  2. A .NET Bot Webservice running on port 3979
  3. Your sample where I have just changed 3978 to 3979

When re-loading the WebChat component, I can see that your service creates a new conversation id with a random guid.
When sending a message via the WebChat, I can see via Fiddler that the message is correctly posted to your service (the activities endpoint), but it never responds and eventually times out.

I have also tried to replace my .NET Bot Webservice with a very simple Node.js Bot Webservice (the one from https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-quickstart).
I can see that your service correctly post the message to the web service, but then I get the following error: "ERROR: ChatConnector: receive - no security token sent.". In the BotBuilder SDKs ChatConnector I edited the code to skip the token check:

ChatConnector.prototype.verifyBotFramework = function (req, res) {
   var _this = this;
   _this.dispatch(req.body, res);

   return;
}

And then the Bot Webservice (Node.js) replies correctly. This leads me to think that it's a security issue and since I do not have the source code for .NET BotBuilder SDK, I cannot skip the token verification, which means that I cannot use my .NET Bot Webservice and instead have to rewrite it to Node.js...

I hope you can help me :-)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions