-
Notifications
You must be signed in to change notification settings - Fork 713
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
Looking for your backend - ID Token Loop #545
Comments
To add some additional information, if I redeploy the app while it's going through the loop it causes an error from the WebSocket closing, eventually reconnects after the app has fully deployed, and will progress past the "Looking for your backend" message. From there I'm able to start a new chat but when I send messages I receive "Unable to generate bot response. Details: Error: 500: Internal Server Error". In the logs it shows that the Logon Method and User are anonymous however in the frontend it does show my user account as logged in in the upper right. |
@gitri-ms - Can you please weigh in on if this seems related to auth config? |
@rmaster-smirth can you please post a screenshot from the Network tab of the browser? I'm specifically interested in knowing the response of the |
Here is the output of the network tab: And here is the output of the headers from one of the maintenanceStatus calls: The response is always: The response from the bad request token call is the following, but I believe this is related to #538: |
@rmaster-smirth from @crickman's comment in #523:
|
The search service has zero indexes - let me know if that's not what you referring to. |
If your deployment is stuck for a long time in a state where a memory migration is required, make sure your Azure Cognitive Search instance has not reached its maximum number of indexes. To verify that, select your Azure Cognitive Search instance in the Azure portal, then click on 'Indexes'. If you see 15 indexes, delete at least 2 of them and your deployment should now be able to proceed with memory migration. |
@rmaster-smirth Did the last message help you solve the problem? Are you still experiencing ir? |
@glahaye , I experience the same issue, any advice? Does chat-copilot solution require Azure Cognitive Search instance? I didn't install any Azure Cognitive Search instance... |
@daleche-sh When deployed, you do indeed need either Azure Cognitive Search or Qdrant to be deployed. I STRONGLY suggest you use Azure Cognitive Search. |
@glahaye , thank you for the reply, I followed the steps described in this doc to run the app locally, is Azure Cognitive Search or Qdrant still required? https://learn.microsoft.com/en-us/semantic-kernel/chat-copilot/getting-started?tabs=Windows%2CPowershell, this doc doesn't have the instruction to ask to install ACS or Qdrant. |
@daleche-sh Locally, you don't need to set up ACS or Qdrant. Are you experiencing the issue locally?? |
Hi, I am experiencing this same issue locally, any advice? |
There's a PR out to fix this whole problem: #791 I anticipate it to be merged in today. |
I am able to run this locally, however when I deploy it using the deploy-webapi.ps1 script it remains on the "Looking for your backend" screen. After the initial start, the browser console shows a continuous loop of the following 7 events:
The frontend app registration does have the URL of the app in the redirect URIs for the single-page application and /healthz is showing "Healthy".
The text was updated successfully, but these errors were encountered: