claudiajs / claudia-bot-builder

Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes

Home Page:https://claudiajs.com/claudia-bot-builder.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to decrypt pairwise Id error with Skype bot

jrowen opened this issue · comments

I'm running into a 400 error: Failed to decrypt pairwise Id when trying to interact with a simple skype bot. Could this be related to recent authentication changes?

'use strict'

const botBuilder = require('./lib/claudia-bot-builder')

module.exports = botBuilder(function (message, originalApiRequest) {
  return `I got ${message.text}`;
}, { platforms: ['skype'] });

It might be, we'll check, thanks for reporting.

I think my original issue was because I was testing my bot via the bot framework web chat tool. I don't see the error when testing via skype.

Is it possible to update the REST urls to support the complete bot framework?

I'm assuming the authentication urls will still need to be updated.

@jrowen im on it, will be done before the end of the day. if its a hurry, feel free to notify

@jrowen I've changed the authentication api urls for Skype in #79
As previously mentioned, as a Skype bot it works, but as a Bot Framework Web Chat it does not work yet. Skype & Microsoft Web Chat are different platforms, will check them out later.
Microsoft added the online web chat emulator recently and we didn't implement support for that yet, so we haven't tried it.
Will check the API difference for the web chat support, to see if there isn't any major difference

Let's close this since it's not affecting Skype directly. We'll see for web chat support, not sure if that's a priority, but PR is welcome.

commented

Hi guys, suddenly my bot running on azure is not working and the error message is "Failed to decrypt pairwise Id"

@ryzam Azure? Claudia Bot Builder works on AWS Lambda only, so I guess this is not a question related to it.

commented

@stojanovic sorry, i just google this issue when got an error message from my apps and redirected to this project.

@ryzam not a problem. But while you're here, lets help out with what we know.
This is usually a problem that the ID of the conversation is not correct or the token authentication may be an issue. Focus on those two things. When we find out a bit more, we will reply here. And we invite you to do the same, if you find before us.