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

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:

Attachments

5

Activity

Show:

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 ( being fixed in

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 PM
Edited

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.

Fixed

Details

Priority

Affects versions

23 Status

QA Verification Pass

Components

Assignee

Reporter

Environment

24x: https://trunk-maria.nightly.sakaiproject.org/, build: 4a592f48 23x: https://qa23-maria.nightly.sakaiproject.org/, build: e528d1b8
Created February 13, 2024 at 1:24 AM
Updated April 12, 2024 at 4:12 PM
Resolved March 25, 2024 at 6:18 PM