microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.65k stars 2.59k forks source link

Internal Server Error #578

Closed cameronjy closed 21 hours ago

cameronjy commented 9 months ago

New deployments of this web app from the Azure AI Studio Preview are resulting in an "Internal Server Error". This occurs with or without deploying Chat History.

jbrodsky-code commented 9 months ago

I'm seeing the same behavior. App Service Logs and Diagnostic Logs show these errors:

TypeError: Quart.__call__() missing 1 required positional argument: 'send'

image

sarah-widder commented 9 months ago

Hi, we're looking into an issue with AI studio web app deployment. In the meantime, you can try to deploy from Azure OpenAI Studio.

sarah-widder commented 9 months ago

@cameronjy @jbrodsky-code You can also "rescue" your AI studio app by configuring the App Startup command like below: image Be sure to restart the app and give it a few minutes before trying again.

jbrodsky-code commented 9 months ago

@sarah-widder That startup command worked. Thanks again!

nickmachairas commented 9 months ago

This fix worked for me too. Thanks, @sarah-widder!

mathiastnielsen commented 9 months ago

Worked for me to :)

kichul5252hey commented 8 months ago

it worked well Thx b. I was struggling with persistent 'internal errors' during local deployment, but I managed to resolve the issue using the method described above.

kagoolastha23 commented 6 months ago

I am getting this error as well and I have written the startup command.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 21 hours ago

This issue was closed because it has been inactive for 14 days since being marked as stale.