Azure-Samples / azure-search-openai-javascript

A TypeScript sample app for the Retrieval Augmented Generation pattern running on Azure, using Azure AI Search for retrieval and Azure OpenAI and LangChain large language models (LLMs) to power ChatGPT-style and Q&A experiences.
MIT License
253 stars 131 forks source link

Fail to run locally #213

Open jianingwang123 opened 3 months ago

jianingwang123 commented 3 months ago

Describe the issue: When run locally according to the README , the error is as follows: image

image

Repro Steps:

  1. Create a new folder and switch to it in the terminal
  2. Run azd auth login
  3. Run azd init -t azure-search-openai-javascript
  4. Run azd up
  5. Run azd env get-values > .env to get the environment variables for the app
  6. Run az login
  7. Run npm start or run the "VS Code Task: Start App" to start the project locally.
  8. navigate to http://127.0.0.1:5173 and ask a question

Environment:

Expected behavior: Success to run locally.

@jongio and @sinedied for notification.

sinedied commented 3 months ago

Could you try opening the URL in a private browser window?

Seems like the error you're having is due to having too large cookies being sent to the server, but we don't use cookies. So it's likely to be caused by either browser extensions or other apps that were run on localhost.

jianingwang123 commented 3 months ago

@sinedied I opened the URL in a private browser window and the issue still reappeared: image image

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

jianingwang123 commented 1 month ago

@sinedied Could you please let me know if there has been any progress or if you have any ideas regarding this issue?