azure-search-openai-javascript icon indicating copy to clipboard operation
azure-search-openai-javascript copied to clipboard

Fail to run locally

Open jianingwang123 opened this issue 1 year ago • 2 comments

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:

  • Azd version: azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
  • OS: Windows,Codespaces, and Dev Containers.

Expected behavior: Success to run locally.

@jongio and @sinedied for notification.

jianingwang123 avatar Aug 07 '24 06:08 jianingwang123

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.

sinedied avatar Aug 07 '24 07:08 sinedied

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

jianingwang123 avatar Aug 16 '24 08:08 jianingwang123

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.

github-actions[bot] avatar Oct 16 '24 02:10 github-actions[bot]

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

jianingwang123 avatar Oct 16 '24 06:10 jianingwang123

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.

github-actions[bot] avatar Dec 16 '24 02:12 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Dec 24 '24 01:12 github-actions[bot]