我是Bots的新手,我注册了我的机器人,我试图在模拟器 Microsoft Bot框架通道模拟器(3.0.0.59)上运行它,我也在测试连接上测试了它你的机器人,但我们两个都收到了这个错误,如下所示:
500 InternalServerError
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'huzy281116'
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Intercom.DevPortal.Server.Controllers.BotManagerController.<PingV3BotAsync>d__73.MoveNext() in D:\a\1\s\DevPortalLib\Controllers\BotManagerController.cs:line 2039
我做了所有必要的步骤,例如插入 BotId , MicrosoftAppId 和 MicrosoftAppPassword 。
为什么会出现这种错误,因为这是我第一次运行Bot App。
答案 0 :(得分:0)
我得到了答案,我不得不在模拟器上留下 Microsoft App Id 和 Microsoft App密码为空白,我在运行项目后对其进行了测试。
答案 1 :(得分:-1)
尝试从此处下载最新的Bot Framework Channel Emulator:https://emulator.botframework.com(截至2017.03.05的v3.5.25)