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

The config key or browser exam keys could not be validated #449

Open
R2D2byBest opened this issue Oct 24, 2024 · 10 comments
Open

The config key or browser exam keys could not be validated #449

R2D2byBest opened this issue Oct 24, 2024 · 10 comments
Assignees
Labels
cannot reproduce Unless we can reproduce this issue, we can't fix it. Fixed in specific OS version

Comments

@R2D2byBest
Copy link

Hi

I have a few students on macOS for whom the key validation doesn't work (often mac OS 10.14 or 10.15) but strangely not all.
The students usually download the SEB exam file from moodle to reach their exam and this works fine. But for some time now I've had an exam key validation error. I'm going to be able to test it myself next week with a freshly installed Hight Sierra.

Is there a workaround?

Regards
Capture d’écran 2024-10-24 080812

@danschlet danschlet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
@danschlet
Copy link
Member

Please provide ALL necessary information asked for in the issue template.

Otherwise we cannot analyze issues.

@R2D2byBest
Copy link
Author

I tried some SEB version on my macOS 10.13.6 (new install)

With SEB 3.2.2/3.2.5/3.3.3 there is key exam validation error and i can't go in exam

With SEB 2.3/2.3.2 validation key is correct but the web interface do not allow me to enter the code to start the exam

@danschlet
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.
-> Sorry, but I still don’t fully understand the issue.
To understand why, watch this video: https://www.youtube.com/watch?v=cDA3_5982h8&t=106s

What does „ but the web interface do not allow me to enter the code to start the exam“ mean? Are you referring to the Moodle quiz password? Please film a video of what is happening.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
    -> I know that requires some effort, but most likely I won’t be able to help if I can’t reproduce your issue. Our Moodle exams with our setting work, so the issue is connected to either your Moodle version (which one?), your settings (are you using manual or uploaded your own settings? If the latter is the case, attach or email us these settings info at safeexambrowser . org). And this might still not allow us to find out what is wrong, so we need to be able to reproduce the issue, which would require a demonstration quiz which we can access.

Screenshots
If applicable, add screenshots or a link to a video to help explain your problem.
-> Experience shows that hardly anyone is able to explain what is happening really exactly with all necessary details, so a video usually helps a lot.

  • Always send SEB log files (in directory ~/Library/Logs/Safe Exam Browser/ on Mac, on iOS use Settings app / SEB / Initiate Sending Logs to email log files to yourself and attach them here).
    -> Log files don’t always help, but often they do.

  • Often a test link (send URL and if necessary login/password for a testing/demo account) or an SEB configuration file to reproduce the issue is helpful (remove SEB Quit and Admin passwords!) and compress the .seb file to ZIP to attach here.

WITHOUT THIS INFORMATION WE USUALLY CANNOT ANSWER YOUR SUPPORT REQUEST!

@danschlet danschlet reopened this Oct 29, 2024
@R2D2byBest
Copy link
Author

R2D2byBest commented Nov 5, 2024

Hi,

Environment
** macOS 10.13.6 High Sierra
** Moodle 4.3.7 (configure with template SEB file)

Describe the bug
On macOS with SEB 3.2.2/3.2.5/3.3.3 i'am not able to enter on pratice exman, i get this message "The config key or browser exam keys could not be validated. Please ensure you are using the Safe Exam Browser with correct configuration file". But this exam works with recent macos.

shared image (6)
If i click on Launch Safe Exam Browser, i get URL Blocked (it's good because the template authorise only the LMS's domain), if i click on Download configuration i get this page (it's the first time i have this)
shared image (7)

Now if i try on the same mac with SEB 2.3 (i kwon it's old version). It seems to validate exam key and i can see the windows to enter the require password to start exam but i can't click on it to enter the password. (it's moodle bug, I'm going to open a tracker for this bug, it seems that the new password window display mode is not compatible with older AppleWebKit/605.1.15) .

shared image (5)

Unfortunately, we have several students with old versions of mac 10.13 / 10.14 for whom the exam keys have not been validated. But all seems work with recent macOS

Regards

@danschlet
Copy link
Member

Please send me the used config file and if possible give me access to a demo exam where this issue happens. This is the only way how I can analyze it. You can use email info at safeexambrowser . org

@danschlet
Copy link
Member

danschlet commented Nov 8, 2024

And make sure the template configuration doesn’t contain the settings key
allowWLAN.
The correct key is spelled allowWlan (capitalization must be exactly correct).
If the wrong settings key is contained in a config, then the access to the quiz might not work depending on macOS version, as the ConfigKey hash is incorrectly calculated.
The symptoms of your report seem to match this issue.
PS: If you save the template with SEB 3.3.3 or 3.4, the wrong allowWLAN key is removed.

@R2D2byBest
Copy link
Author

Hi,

There no key allowWLAN in file. I can't give you an access to our Moodle (i tried to find solution for your access).

Regards

@danschlet
Copy link
Member

Then download the config file from Moodle from the quiz start page and send me that. Otherwise I have to close this issue with „cannot reproduce“.

@R2D2byBest
Copy link
Author

Here is the file @
config-test-config.seb.txt

Renam it to .seb

Regards

@danschlet
Copy link
Member

I can't really see anything wrong with the config file, although currently my two test Macs with macOS 10.13 refuse to boot, so I can't really test it. I think we will stop supporting all macOS versions before 10.15 or 11, as we don't have the resources to deal with these ancient, outdated OS versions.

@danschlet danschlet added cannot reproduce Unless we can reproduce this issue, we can't fix it. Fixed in specific OS version labels Dec 10, 2024
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. Fixed in specific OS version
Projects
None yet
Development

No branches or pull requests

2 participants