View As: When the instructor enters View As student and launches the chat, o.s.p.l.SakaiProxyImpl.ensureUuid User errors fill up the server logs
Description
Attachments
- 12 Apr 2024, 04:12 PM
- 12 Apr 2024, 04:12 PM
- 13 Feb 2024, 01:24 AM
- 13 Feb 2024, 01:23 AM
- 13 Feb 2024, 01:23 AM
Activity
Wasi Khan April 12, 2024 at 4:12 PM
Verified on 23x with the following server info:
Sakai Version: 23-SNAPSHOT
Server Time: Apr 12, 2024 12:11:24 PM EDT
Server: ip-172-31-7-189
Build Info: ce993c56
No errors were displayed on server logs and console logs as follows:
Andrea Schmidt March 26, 2024 at 9:55 PM
Verified on 25x: https://trunk-maria.nightly.sakaiproject.org/, build: bcad32b1
The server logs are no longer filling up with errors. The getBrowserFingerprint console error is still present ( https://sakaiproject.atlassian.net/browse/SAK-49759 being fixed in https://sakaiproject.atlassian.net/browse/SAK-49287
Automation for Jira March 25, 2024 at 4:32 PM
A pull request has been created, "SAK-49745 Profile2/Chat: avoid filling up logs when instructor is role swapped", you can see it at https://github.com/sakaiproject/sakai/pull/12461
Earle Nietzel February 15, 2024 at 3:30 PMEdited
This error occurs because the user’s profile image is attempting to be fetched
org.sakaiproject.profile2.logic.SakaiProxyImpl#ensureUuid
doesn’t locate the mock/hidden user account.
When the instructor enters View As student and launches Chat Room, there are console errors and the server logs start filling up with errors. I think the reason being because chat is constantly checking to see if there is a new post.
Server errors:
12-Feb-2024 19:55:48.665 ERROR [http-nio-20313-exec-3] o.s.p.l.SakaiProxyImpl.ensureUuid User: 99f80fff-3900-4af9-a35c-132800bdf997:8f489701-b0c6-478f-93cc-2c28668efe8f could not be found in any lookup by either id or eid 12-Feb-2024 19:55:48.665 INFO [http-nio-20313-exec-3] o.s.e.u.s.DirectServlet.dispatch Could not process entity: /profile/99f80fff-3900-4af9-a35c-132800bdf997:8f489701-b0c6-478f-93cc-2c28668efe8f (404)[null]: Cannot execute custom action (image): Could not find entity (/profile/99f80fff-3900-4af9-a35c-132800bdf997:8f489701-b0c6-478f-93cc-2c28668efe8f): Invalid user. (rethrown)