seb-mac icon indicating copy to clipboard operation
seb-mac copied to clipboard

Error when loosing internet connection with Moodle

Open lionelasshauer opened this issue 1 year ago • 23 comments

Describe the bug Environment: Moodle Quiz using the template setting / uploaded configuration - tested with different SEB configuration files.

When SEB loses the internet connection during an exam (e.g. WiFi issues) on Windows, loading a page will simply "pause" and resume as soon as the connection is restored. When losing the connection on a Mac, SEB will report a connection error, allowing to abort or retry. After restoring the connection, instead of properly loading back into the exam, we end up on a Moodle error page reporting that the parameter “attempt” is missing.

Using Sonoma (AAC and non AAC) & Big Sur (non AAC) The error page allows me to get back to the Moodle Dashboard, leaving the secure quiz environment (which we do not want). It is possible to reenter the exam.

Using Big Sur (AAC with pre pinning enabled) The same error page displays, but clicking on any links on that page will lead to a connection error, even though the device is connected and was able to load the error page.

Would it be possible to achieve the same behavior as on Windows, allowing students to resume taking the quiz without leading to an error page? We are currently planning to roll out a BYOD configuration, where a connection loss during the exam is more likely to occur than in our wired Windows labs.

To Reproduce Steps to reproduce the behavior:

  1. Start a Moodle quiz using a SEB template or pre-uploaded configuration
  2. Start the quiz
  3. Disconnect the computer from the internet (tested with unplugging the LAN connection)
  4. Try moving to the next quiz page
  5. Reconnect the cable and wait a couple of seconds for the connection to re-establish
  6. Retry

Depending on system and AAC

  • Moodle error page
  • Retry loop

Expected behavior Same as on Windows, allowing me to resume the exam and saving inputs that were entered during the time the system was offline. In addition, #342 could help to reconnect the device.

Screenshots Moodle error (same on all tested configurations) SCR-20231222-kebe

Version Information Please complete the following information:

  • OS: macOS Sonoma 14.1.2 and Big Sur 11.7.10
  • SEB Version: 3.3
  • Moodle: 4.2.2

logs_connection.zip

lionelasshauer avatar Dec 22 '23 10:12 lionelasshauer