Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openAI API Connection Error, 500 Internal Server Error #1074

Open
meharvansingh opened this issue Sep 1, 2024 · 1 comment
Open

openAI API Connection Error, 500 Internal Server Error #1074

meharvansingh opened this issue Sep 1, 2024 · 1 comment
Labels
bug Something isn't working stale

Comments

@meharvansingh
Copy link

Describe the bug
Trying to locally run the app with my Azure OpenAI and Azure AI Search resource, however, after it connects to the website and redirects me to the Contoso interface, whenever I try to ask it something, it hits me with a Connection Error on Contoso and an openAI API Connection Error on the console with a 500 Internal Service Error. While the app is compiling the backend, I also do see this in the console:
INFO: Will watch for changes in these directories: ['C:\Users\Mehar\Projects\test3\sample-app-aoai-chatGPT']
INFO: Uvicorn running on http://127.0.0.1:50505 (Press CTRL+C to quit)
INFO: Started reloader process [29500] using StatReload
INFO: Started server process [27156]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: 127.0.0.1:53195 - "GET / HTTP/1.1" 200 OK
INFO: 127.0.0.1:53195 - "GET /history/ensure HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:53196 - "GET /frontend_settings HTTP/1.1" 200 OK

I'm thinking the 404 not found error somehow correlates to the API not being able to connect to the service.

To Reproduce
Steps to reproduce the behavior:

  1. Fill in environment variables just as the readMe says
  2. Run ./start.cmd
  3. Wait for webapp to be deployed and you to get redirected to the Contoso interface
  4. Enter a request and see the error below

Expected behavior
Webapp to be deployed and work as intended free of any errors and on my resources

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image

Configuration: Please provide the following

  • Azure OpenAI model name and version: gpt-4-32k
  • Is chat history enabled? No
  • Are you using data? If so, what data source? (e.g. Azure AI Search, Azure CosmosDB Mongo vCore, etc): Azure AI Search
@meharvansingh meharvansingh added the bug Something isn't working label Sep 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

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

@github-actions github-actions bot added the stale label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant