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

Index isn't created so api returns 500 so chat front end says 'Sorry, we are having some problems. Please try again later.' #200

Open
diberry opened this issue May 10, 2024 · 9 comments
Assignees
Labels
bug Something isn't working Stale

Comments

@diberry
Copy link
Contributor

diberry commented May 10, 2024

In Codespaces

  1. azd auth login
  2. azd up
image image image

Deployment succeeded

image

@anfibiacreativa @sinedied @achandmsft

@sinedied
Copy link
Contributor

sinedied commented May 13, 2024

Seems like the postup script did not run successfully.
Could you try running azd hooks run postup to see you have additional debug messages/errors we could use?

EDIT: Additionally, do you have any errors in the indexer container app log stream?
Thank you

@anfibiacreativa
Copy link
Member

@LianwMS @yungezz This sample is actually ready for testing. MI is already implemented and please see comment from @sinedied above regarding this issue.

@anfibiacreativa
Copy link
Member

@diberry could you please retry following the steps above and see what results you're getting now? Thank you!

@Armstrong-Kim
Copy link

I was running into the same issue and when I ran the [azd hooks run postup] this was the response
{
Running postup command hook for project

(✓) Done: Running postup command hook for project
(!) Warning: Running postup service hook for indexer (No hook found)
(!) Warning: Running postup service hook for search (No hook found)
(!) Warning: Running postup service hook for webapp (No hook found)

SUCCESS: Your hooks have been run successfully
}

image

@sinedied
Copy link
Contributor

Thanks for the details.
I deployed a fresh environment from Codespaces and cannot reproduce the issue, I think it might be related to the environment.

Could you share more information about your current environment to help pinpoint the issue?

  • OS / Version:
  • Powershell version (if Windows) (open powershell and run $PSVersionTable):
  • Are you using WSL? If yes, which distribution are you using? (lsb_release -a):
  • Node.js version (node -v):
  • NPM version (npm -v):

@sinedied sinedied added the bug Something isn't working label May 17, 2024
@Armstrong-Kim
Copy link

OS / Version: Windows 10 Pro
PSVersion 5.1.19041.4412
Description: Ubuntu 22.04.3 LTS
node -v v19.6.0
npm -v 9.6.6

@sinedied
Copy link
Contributor

@Armstrong-Kim thank you.

Could you try updating Powershell to the latest version (v7+)?

Powershell 5 seems to have an issue with some of the scripts we use in the demo.

@dbastin
Copy link

dbastin commented Jun 3, 2024

I had the same issue as @diberry (thanks for the screenshots!).

The issue was resolved by (re?)running azd hooks run postup as instructed. Many thanks!

azure-search-openai-javascript ff72fa5
OS / Version: Mac OS (Sonoma 14.2.1)
Docker Desktop: 4.27.1 (136059)
azd version 1.9.3
node -v v21.6.1
npm -v 10.2.4

Copy link

github-actions bot commented Aug 3, 2024

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 github-actions bot added the Stale label Aug 3, 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

5 participants