Microsoft bot 旧版本警告消息即使在更新后仍然存在

Microsoft bot older version warning message persistent even after update

我将 SDK 版本更新到 3.8.1,但在本地机器人模拟器上仍然收到警告消息。

Warning: The Bot is using an SDK version earlier than 3.5.0.
Warning: SDK versions earlier than 3.5.0 use an authentication configuration that will no longer work after July 31, 2017.
Warning: For your bot to continue working beyond this date, please update your bot to use an SDK version greater than or equal to 3.5.0.

Environment setup:
Lang   |  Nodejs
Editor |  Visual Studio Code
OS     |  macOS Sierra
          botframework-emulator v3.5.29
SDK    |  "botbuilder": "^3.8.1"

我遇到了与 botframework-emulator 3.5.29botbuilder 3.7.1 相同的问题。

Bot Emulator 正在检查版本 user-agent header(代码 here and here), and the header is set by the bot framework here.

我会说这是模拟器中的问题,因为机器人框架正在发送 header IS。就我而言,我得到:

User-Agent: BF-DirectLine (Microsoft-BotFramework/3.1 +https://botframework.com/ua)

POST/api/messages 发送消息时,但模拟器期望 header 在向 https://directline.botframework.com/v3/conversations/:conversationId/activities/:activityId 发出的请求中,导致 user-agent header 未定义。

已使用今天早些时候发布的 SDK v3.8.3 追踪并修复了该错误。您可以在 GitHub.

上找到详细信息

此错误源于 'User-Agent' header 被意外删除。