Skip to content
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

ReadSpeaker DocReader in SEB 3.7 #889

Open
Mobron opened this issue May 24, 2024 · 14 comments
Open

ReadSpeaker DocReader in SEB 3.7 #889

Mobron opened this issue May 24, 2024 · 14 comments
Assignees
Labels
enhancement This issue proposes an enhancement of the software.

Comments

@Mobron
Copy link

Mobron commented May 24, 2024

Describe the Bug
Recently, we encountered an issue with DocReader bt ReadSpeaker in Safe Exam Browser (SEB) version 3.7. When attempting to open a file, it gets stuck while trying to read it out loud (see image attached to this message). Interestingly, this problem does not exist in version 3.6 and earlier.

Our Moodle provider, OpenEdu, as well as ReadSpeaker support have confirmed the issue after conducting their analysis. They recommended that I file this bug for further assistance.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Create Quiz with SEB in Moodle with ReadSpeaker plugin
  2. Create Question with link to uploaden PDF file
  3. Open Quiz in SEB
  4. Open PDF with ReadSpeaker/DocReader
  5. Click 'Read' button on top
  6. See error

Expected Behavior
Up untill version 3.6 ReadSpeaker DocReader would read the text aloud.

Screenshots
IMG_20240517_160645

Version Information

  • Windows 11 (any version)
  • SEB-Version 3.7

Additional Context
ReadSpeaker is an important accessibility tool in the online world. Support seems critical. They asked me to file this bug report, but they can be reached at support@readspeaker.com. Lisa knows the issue and can provide further assistance.

@dbuechel
Copy link
Member

We'd need access to a quiz with that specific plugin, I personally do not know it nor how to install / configure it. In other words, it would be great if you could take care of steps 1 and 2 as specified abvoe so that we can investigate the remaining steps.

@dbuechel dbuechel added the information required This issue lacks information or requires feedback. label May 27, 2024
@Mobron
Copy link
Author

Mobron commented May 28, 2024

Thank you for your reply, Damian. I've created an account for you on our Moodle instance, with access to a simple Quiz. The Quiz contains one question, linking to a PDF file.

Go to elo.keizerkarelcollege.nl
Click 'Inloggen' and then 'Reguliere login'
Log in with username: Damian
Password: SEB4ever
Here is the example test you can use..
Open the test in SEB 3.7 with password 'Doei' (exit password is the same)
Click on the ReadSpeaker icon behind the link in the question to open the PDF in DocReader.
DockReader opens the PDF, but will fail to read it.

NB: SEB 3.6 and earlier will work just fine.

Kind regards,
Robin

@dbuechel
Copy link
Member

Excellent, thank you. I shall investigate the issue as soon as I have time, presumably in the upcoming 1-2 weeks.

@dbuechel dbuechel added being investigated This issue is being investigated. and removed information required This issue lacks information or requires feedback. labels May 29, 2024
@Mobron
Copy link
Author

Mobron commented Jun 5, 2024

Very good. Thank you. We and all our dyslectic students will keep our fingers crossed for a solution

@ObscureScience
Copy link

Hi @dbuechel
I work with ReadSpeaker and am interested if any findings has been made.
If changes in CSP configuration of SEB has been made that could be something to look at.
As this is a open source project, are there instruction on how to enable a debug build, which will make inspector tools available?

@thomasvergouwe
Copy link

Following this thread, as we have the exact same issue in our schools.

@dbuechel
Copy link
Member

As this is a open source project, are there instruction on how to enable a debug build, which will make inspector tools available?

You can enable the development tools via the configuration under User Interface > Enable browser toolbar > Show developer tools (see https://safeexambrowser.org/windows/win_usermanual_en.html#AppearancePane).

@ObscureScience
Copy link

ObscureScience commented Jun 19, 2024

@dbuechel
Thank you! What we've been able to see is that some responses from ReadSpeaker servers are blocked by the browser because the browser sets CORS credentials mode "include" on fetches, and ReadSpeaker has "Access-Control-Allow-Origin" set to "*" on responses.

The error is basically this: "Credential is not supported if the CORS header 'Access-Control-Allow-Origin' is '*'"

IMG_9311

This must have changed between v3.6 and 3.7.
My recommendation would be to at least allow the header parameter to be set (including "omit").

@dbuechel
Copy link
Member

Thanks for the information, that might very well be the case due to a change in the browser engine. I shall thus try to set the credentials mode as mentioned above, though we obviously need to make sure that this won't impact other requests resp. use cases.

@dbuechel dbuechel added the enhancement This issue proposes an enhancement of the software. label Jun 20, 2024
@Dirk076-BMLDNCK
Copy link

Good morning @dbuechel
Are there any relevant updates for this issue with SEB 3.7.0? Or can you maybey confirm this issue is going to be fixed with a new browser engine in SEB 3.8 or later? Thanks in advance also on behalve of our students

@dbuechel
Copy link
Member

dbuechel commented Jul 22, 2024

We will definitely have a look at it and do already have an internal work item created. It currently is scheduled for version 3.8.0, but most unfortunately and due to various factors we'll probably need to reschedule it for a later version.

The code change itself may be and hopefully is minor, but the possible side effects and required testing unfortunately not. We already had quite a few issues related to CORS, thus experiences has taught that any related changes must be made with great caution.

@thomasvergouwe
Copy link

Is there an update on this problem? We start schools again in september and we'd like to use Readspeaker Docreader in combination with SEB.

@dbuechel
Copy link
Member

Most unfortunately not, we were not able to have a look at the issue due to other priorities. The issue is however still in our backlog and we will inform here once we were able to make any changes.

@dbuechel dbuechel removed the being investigated This issue is being investigated. label Aug 23, 2024
@Mobron
Copy link
Author

Mobron commented Aug 26, 2024

For anyone tuning in. I can confirm that version 3.6 still works for now. The problem is however, that in my experience older versions will eventually stop working as automated SEB config creators (such as Moodle's) get updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue proposes an enhancement of the software.
Projects
None yet
Development

No branches or pull requests

5 participants