Comments (7)
Found some additional logs
2024-04-15T14:24:18 PID[5332] Information 04-15 14:24:18 Error: Unexpected exception in agent main process. Details: Microsoft.ServiceProfiler.Utilities.AppIdNotFoundException: Unable to find AppId for iKey:
2024-04-15T14:24:18 PID[5332] Information at Microsoft.ServiceProfiler.Utilities.AppInsightsProfileFetcher.<FetchProfileAsync>d__3.MoveNext()
2024-04-15T14:24:18 PID[5332] Information --- End of stack trace from previous location where exception was thrown ---
2024-04-15T14:24:18 PID[5332] Information at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2024-04-15T14:24:18 PID[5332] Information at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2024-04-15T14:24:18 PID[5332] Information at Microsoft.ServiceProfiler.DiagnosticsAgent.Program.GetApplicationInsightsAppId(String instrumentationKey, String appInsightsEndpoint)
2024-04-15T14:24:18 PID[5332] Information at Microsoft.ServiceProfiler.DiagnosticsAgent.Program.Main(String[] cmdArgs)
from chat-copilot.
Seems to be an authentication issue, where the Front-end want to connect to the backend using authentication but is not able to get the information. Followed all the step to create the App registrations but nothing seems to be working.
In the browser, I have following exception:
Uncaught (in promise) BrowserAuthError: uninitialized_public_client_application: You must call and await the initialize function before attempting to call any other MSAL API. For more visit: aka.ms/msaljs/browser-errors
at c (BrowserAuthError.ts:351:12)
at G (BrowserUtils.ts:136:15)
at lt.handleRedirectPromise (StandardController.ts:333:9)
at d.handleRedirectPromise (PublicClientApplication.ts:259:32)
at index.tsx:44:39
from chat-copilot.
Seems to be a Front-end issue. In mean time recreated the App registration and also tried to run it locally with authentication and I'm getting the same error. Adding some logs to the Frontend revelated following issue:
Received error while retrieving access token: BrowserAuthError: no_account_error: No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.
from chat-copilot.
This issue seems to be related to issue #918. I had the same "Connecting..."-behavior (both while running with docker compose and with running it on Azure App Service). Changing the auth-code as described there solved it for me.
from chat-copilot.
I found the issue, seems the @azure/msal-browser version currently in the master branch is having the issue.
Still further investigating, but when I update the package, seems to be working.
from chat-copilot.
Related Issues (20)
- Webapi exception HOT 2
- Skip vectorization and use the full document
- You must call and await the initialize function before attempting to call any other MSAL API HOT 10
- How do I add support for csv, ppt, and support for other document types? HOT 2
- Unable to generate bot response. Details: Error: 500: Internal Server Error HOT 1
- Conflict between appsettings and code HOT 1
- Infinite questions in copilot HOT 1
- Chat memories are not deleted when chat session is deleted HOT 7
- ChatPlugin crashes on Azure OpenAI gpt-35-turbo 1106 HOT 4
- What's the default queue name for AzureQueue? HOT 5
- Power Platform Chatbot Copilot Studio: Issue with publishing Copilots HOT 1
- User Feedback content violation
- After running the memory pipeline, it keeps throwing an error: 'File not found: chatmemory/{GUID}/__pipeline_status.json HOT 3
- Can't retrieve document memory in chat HOT 6
- Cannot read properties of undefined (reading 'getLogger') HOT 6
- Definition of quality health care HOT 1
- Definition of quality health care HOT 1
- Getting 404 - Ressource not found HOT 2
- 我如何在本地部署
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-copilot.