I have a Microsoft Azure Bot running with basic QnA Dialog implementation. When I run the stock code from Azure, with only the QnAKnowledgebaseId
and QnASubscriptionKey
inserted, it will give me the following error (not anymore - see EDIT ):
Exception: The remote name could not be resolved: ‘westus.api.cognitive.microsoft.com’
In addition to this error, there is another console output in Virtual Studio:
iisexpress.exe Warning: 0 : Service url localhost:59706 is not trusted and JwtToken cannot be sent to it.
This issue is probably related to JwtToken cannot be sent - Microsoft Azure Bot - LUIS
Does anyone have the same issue and knows a solution?
I now used a proxy to connect to the network on my computer. The Expection doesn't appear anymore but now another one appears:
Exception: The remote server returned an error: (404) Not Found.
the Warning though still exists.
I had this problem for ages.
Adding this to the web.config fixed it for me.
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true"></defaultProxy>
</system.net>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.