semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Unable to generate bot response. Details: TypeError: Failed to fetch Please check that your backend is running and that it is accessible by the app

Open Newday235 opened this issue 2 years ago • 3 comments

Describe the bug It seems I have started the program seccessfully. But when I try to talk to the bot, it could not answer.

To Reproduce Steps to reproduce the behavior:

  1. Go to : http://localhost:3000/
  2. talk to copilot bot
  3. no response
  4. See error 1(on the web): Unable to generate bot response. Details: TypeError: Failed to fetch Please check that your backend is running and that it is accessible by the app
  5. See error 2(windows terminal,dotnet run): fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HMQIM1UJD5D4", Request id "0HMQIM1UJD5D4:00000019": An unhandled exception was thrown by the application.

Expected behavior can talk to copilot bot

Screenshots please see attached 2 pictures. pilot chat dotnet dun

Desktop (please complete the following information):

  • OS: Windows11
  • IDE: VS Code
  • NuGet Package Version ?

Additional context Add any other context about the problem here.

Newday235 avatar May 12 '23 06:05 Newday235

It's likely that you are testing again OpenAI instead of AzureOpenAI, then make sure you replaced all AzureOpenAI settings in the config file.

If you missed one of them, then this error above is expected.

lextm avatar May 13 '23 05:05 lextm

It's likely that you are testing again OpenAI instead of AzureOpenAI, then make sure you replaced all AzureOpenAI settings in the config file.

If you missed one of them, then this error above is expected.

Thank you! Do you mean the 3 places I have replaced? Are there any other places I need to replace? 微信图片_20230513161113 微信图片_20230513161109 微信图片_20230513161058

Newday235 avatar May 13 '23 08:05 Newday235

thank you. fixed the bug.

Newday235 avatar May 14 '23 09:05 Newday235

Closing since this is resolved.

hathind-ms avatar May 16 '23 17:05 hathind-ms