Botframework-sdk: Intermittent Check bots app ID & Password message with skype

Created on 16 Jul 2016  路  8Comments  路  Source: microsoft/botframework-sdk

For some reason today when debugging bot locally and using skype I see intermittent messages
ERROR: ChatConnector: receive - invalid token. Check bots app ID & Password.

During same debug session (bot runs and I test the script) I see the message in the logs sometimes.
In the same dialog answering same question (basically simple dialog with one function) sometimes fails and sometimes works.
Went to the source code and looks like check for now < decoded.payload.nbf doesn鈥檛 work.
screenshot 2016-07-16 17 16 23

Wondering is it related to the floating part of the now variable?

I'm using Node.js SDK v3.0.1

bug

Most helpful comment

This will be a set of fixes to the SDK.

All 8 comments

Yes, that's probably it. Thank you for noting that. We're seeing validation errors in other places but this is definitely a problem.

Same here. It happens on some machines, maybe to do with how internal clocks are synced across local and cloud machines?

Looks like, hope the fix is easy. So far for workaround I'm counting to 10 before sending reply when testing. But this will not work for customers in production.

We're working on a change that will fix this and some other related issues. Please stay tuned.

Will this be a repository level fix, or a system fix on the microsoft side?

This will be a set of fixes to the SDK.

Hi @alexsorokoletov , @arieschwartzman , and @jesiah-hackinglife , the latest Node release, 3.1.1, has a fix for this bug.

@dandriscoll @Stevenic Please note that is issue is also happening on the CallConnector

Was this page helpful?
0 / 5 - 0 ratings