机器人程序无法加入机器人程序模拟器中的会话



我最近将我的windows更新为windows 10和visual studio 2019,之后每当我尝试在bot Framework Emulator上运行我的机器人程序时,我的机器人无法加入会话。早些时候,我正在开发windows 7 Enterprise和Visual Studio 2017。所有的nuget软件包都已安装并更新到最新版本。

我调试了我的Bot-Controller类,在该类中,在PostAsync()的方法请求、响应上附加断点时,我得到了以下错误:

Length  '((Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponseStream)((Microsoft.AspNetCore.Http.Internal.DefaultHttpResponse)Response).Body).Length' threw an exception of type 'System.NotSupportedException' long {System.NotSupportedException}
Position    '((Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponseStream)((Microsoft.AspNetCore.Http.Internal.DefaultHttpResponse)Response).Body).Position' threw an exception of type 'System.NotSupportedException'   long {System.NotSupportedException}
ReadTimeout '((Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.WriteOnlyStream)((Microsoft.AspNetCore.Http.Internal.DefaultHttpResponse)Response).Body).ReadTimeout' threw an exception of type 'System.NotSupportedException' int {System.NotSupportedException}
WriteTimeout    '((Microsoft.AspNetCore.Http.Internal.DefaultHttpResponse)Response).Body.WriteTimeout' threw an exception of type 'System.InvalidOperationException'    int {System.InvalidOperationException}

我有一个调度模型机器人在LUIS&QnA制造商,我的代码中没有任何更改,它在以前的windows版本中运行良好。我的系统也不在任何受限网络中,我也检查过了,代理也被禁用了。

这个由ngrok方面引起的问题已经解决,总结OP的评论,以便它能帮助其他有类似问题的人:

Ngrok被阻止进入我的工作网络

最新更新