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

Error validating SEB keys - Moodle + MacOS Sequoia #454

Open
ehoving opened this issue Oct 31, 2024 · 2 comments
Open

Error validating SEB keys - Moodle + MacOS Sequoia #454

ehoving opened this issue Oct 31, 2024 · 2 comments
Assignees
Labels
cannot reproduce Unless we can reproduce this issue, we can't fix it. feedback required The original poster of the issue needs to provide more information or feedback to a question

Comments

@ehoving
Copy link

ehoving commented Oct 31, 2024

Describe the bug
User cannot start SEB quiz from Moodle.

To Reproduce
Steps to reproduce the behavior:

  1. Create Moodle Quiz with SEB enabled.
  2. Add a True/False question
  3. Install SEB
  4. Launch Exam from Moodle
  5. SEB redirects to Moodle log in.
  6. Log in.

Expected behavior
Quiz start page should show, allow user to Attempt the quiz.

Screenshots
Instead user gets the following error

shared image

SEB logs - error.log

Version Information
OS 15.0
SEB 3.3.3 and SEB 3.4 - issue occurred on both versions.
Moodle 4.4.4

Additional Context
We keep getting mixed results from SEB.
It was working on Windows devices for most users.
Some user reporting similar error on Windows devices.
Here is a log file from a Windows user. Im not sure if its related or separate issue.

SEB logs - window user error.log

@danschlet
Copy link
Member

danschlet commented Nov 4, 2024

Your screen shot shows the error "unsupported URL", the log as well:

-[SEBAbstractWebView sebWebViewDidFailLoadWithError:]: Load Error: Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={networkTaskMetricsPrivacyStance=Unknown, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <DC5A5B59-3B6C-4613-BF4A-DB644D1DC6D5>.<127>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <DC5A5B59-3B6C-4613-BF4A-DB644D1DC6D5>.<127>" ), NSLocalizedDescription=unsupported URL, _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x12de818f0>, networkTaskDescription=LocalDataTask <DC5A5B59-3B6C-4613-BF4A-DB644D1DC6D5>.<127>, NSErrorFailingURLStringKey=sebs://moodle.ucl.ac.uk/mod/quiz/accessrule/seb/config.php?cmid=7040658, NSUnderlyingError=0x12decb140 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}, NSErrorFailingURLKey=sebs://moodle.ucl.ac.uk/mod/quiz/accessrule/seb/config.php?cmid=7040658}

Are you using URL filters in your SEB config? If yes, you need to make sure not to block the URL used by SEB for starting the exam with this sebs:// URL. Disable URL filters to test if it works without them.

Otherwise please provide me access to a test exam where this can be reproduced. I can't reproduce it with neither SEB 3.3.3 nor 3.4 on macOS Sequoia. I nevertheless don't have access to Moodle 4.4.4.

@danschlet danschlet added cannot reproduce Unless we can reproduce this issue, we can't fix it. feedback required The original poster of the issue needs to provide more information or feedback to a question labels Nov 15, 2024
@ehoving
Copy link
Author

ehoving commented Nov 19, 2024

Thanks @danschlet this has resolved the issue for the user now. I was not aware you had to whitelist the launcher.

However, we are still having issues for some users. See the second log file I provided above. I believe it shows a 403 forbidden response.
Do you know what might cause this?
Would SEB be impacted by Cloudflare?

Any advice on the matter would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce Unless we can reproduce this issue, we can't fix it. feedback required The original poster of the issue needs to provide more information or feedback to a question
Projects
None yet
Development

No branches or pull requests

2 participants