Closed
Bug 2015116
Opened 9 months ago
Closed 9 months ago
[Smart Window] No chat response from Smart bar
Categories
(Core :: Machine Learning: Frontend, defect, P1)
Core
Machine Learning: Frontend
Tracking
()
RESOLVED
FIXED
149 Branch
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: pdahiya, Assigned: pdahiya)
References
(Blocks 1 open bug)
Details
(Whiteboard: [genai][chat])
Attachments
(1 external file)
Filing to investigate unresponsive chat assistant due to 401 unauthorized and state of FxA token post login (Any expiration?).
Chat assistant gets token from this call which does have cached token logic but with no expiry
It's possible this issue is due to switching service name with fix of Bug 2013398 this week or edge case due to known issue in Bug 2014321
Related Slack thread
| Assignee | ||
Updated•9 months ago
|
Whiteboard: [genai][input]
| Assignee | ||
Updated•9 months ago
|
Whiteboard: [genai][input] → [genai][chat]
Updated•9 months ago
|
Comment 1•9 months ago
•
|
||
if it is expiration, i did have working requests for the same fxa/bearer token for at least ~15 minutes but trying again with the same token ~2 hours later it gave 401
edit: actually, i'm not sure when i started using this token so i guess my timing isn't quite helpful
Comment 2•9 months ago
•
|
||
removing the cached and letting it get a new one seems to work
fxa = ChromeUtils.importESModule("resource://gre/modules/FxAccounts.sys.mjs").getFxAccountsSingleton();
fxa.removeCachedOAuthToken({
token: await fxa.getOAuthToken({
scope: ["https://identity.mozilla.com/apps/smartwindow", "profile:uid"]
})
})
Updated•9 months ago
|
Assignee: nobody → chzhou
| Assignee | ||
Updated•9 months ago
|
Assignee: chzhou → pdahiya
| Assignee | ||
Comment 3•9 months ago
|
||
Updated•9 months ago
|
Attachment #9543764 -
Attachment description: Bug 2015116 - Add 401 authentication retry logic for LLM requests → Bug 2015116 - FxA Token retry logic for LLM requests
Pushed by pdahiya@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/651bdd6b72e0
https://hg.mozilla.org/integration/autoland/rev/7ab11258e481
FxA Token retry logic for LLM requests r=ai-models-reviewers,bjohns,czhou
Status: NEW → RESOLVED
Closed: 9 months ago
status-firefox149:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Updated•8 months ago
|
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in
before you can comment on or make changes to this bug.
Description
•