第6天,HttpListenerException获胜

时间:2016-11-29 13:17:01

标签: asp.net json azure alexa alexa-skill

未处理的异常:System.Net.HttpListenerException:拒绝访问。使用AWS Lambda构建演示Alexa Skill,将查询和凭据发送到http://alexaintent.azurewebsites.net运行的Azure Web App。没有问题连接,但即使在问好之后,也无法获得端口80来监听。 Http,不是Https。我现在看到的只是数字。一定要吃。 2016-11-29T13:15:36 PID [56848]错误未处理的异常:System.Net.HttpListenerException:访问被拒绝

2016-11-29T13:15:36 PID [56848] System.Net.HttpListener.SetupV2Config()

出错

2016-11-29T13:15:36 PID [56848] System.Net.HttpListener.Start()

出错

2016-11-29T13:15:36 PID [56848] ProxyIntent1.Program.Main(String [] args)

出错

2016-11-29 13:14:36 ALEXAINTENT GET /意图请求=%7B%22locale%22%3A%22en-US%22%2C%22timestamp%22%3A%222016-10-27T21%3A06% 3A28Z%22%2C%22type%22%3A%22IntentRequest%22%2C%22requestId%22%3A%22 amzn1.echo-api.request.EdwRequestId.80c95f4f-16b4-4c00-9cd3-d65b495fb08a%22%2C%22intent% 22%3A%7B%22slots%22%3A%7B%22Color%22%3A%7B%22name%22%3A%22Color%22%2C%22value%22%3A%22blue%22%7D%7D%2C% 22name%22%3A%22MyColorIsIntent%22%7D%7D&安培;会话=%7B%22new%22%3Afalse%2C%22sessionId%22%3A%22 amzn1.echo-api.session.SessionId.adb7e494-4afa-4892-9f46 -7819e0090403%22%2C%22attributes%22%3A%7B%7D%2C%22user%22%3A%7B%22userId%22%3A%22 amzn1.ask.account.AEPAXARAQWGW76N6ILPEJY676JAVHDL457YLBCOAEUWKE727P5I3P5MS64IQFTZZH4L7QZYTHCKC7OP3ZCYHCK6JA3DXB6RLPYUVBLXZZJ2PE76Y2DP2KDB4EIB6NCZ4YTIVFF4VRLTZAGIRGPFXLP3ZMYO7ELSDCG7DGIABWMUZ4R7KDC6UNWB6RJK2B7YMCNAB3HPRMKMCG5Y%22%7D%2C%22application%22 %3A%7B%22applicationId%22%3A%22 amzn1.ask.skill.a15efd21-ff4f-4fe0-93c6-5a593390ea38%22%7D%7D&安培; X-ARR-LOG-ID = 3da8e463-ed65-4d28的广告4d-0097ab149f87 80 - 54.145.163.135 - - - alexaintent.azurewebsites.net 404 0 2 475 2367 15

1 个答案:

答案 0 :(得分:0)

使用GitHub的轻微框架并使其工作