Giter VIP home page Giter VIP logo

Comments (7)

abowman-unige avatar abowman-unige commented on July 20, 2024 1

I'll do that, thanks for the investigation

from seb-win-refactoring.

dbuechel avatar dbuechel commented on July 20, 2024

Thanks for your report, we'll have a look at it once time permits.

from seb-win-refactoring.

dbuechel avatar dbuechel commented on July 20, 2024

The issue (regarding the crash) here is that SEB fails to terminate a running service session:

2024-03-08 12:22:06.726 [15] - INFO: Stopping current service session...
2024-03-08 12:22:06.727 [15] - DEBUG: [ServiceProxy] Sending message 'SessionStopMessage'...
2024-03-08 12:22:06.728 [15] - DEBUG: [ServiceProxy] Received response 'SimpleResponse -> Acknowledged' for message 'SessionStopMessage'.
2024-03-08 12:22:06.729 [15] - DEBUG: [ServiceProxy] Service acknowledged session stop.
2024-03-08 12:22:12.202 [07] - ERROR: Failed to stop service session within 30 seconds!

This due to the fact that the SEB service cannot restart the Windows Update service:

2024-03-08 12:21:42.652 [05] - DEBUG: [WindowsUpdateConfiguration] Attempt 1/5 to set service 'wuauserv' => 'running'...
2024-03-08 12:21:42.652 [05] - WARNING: [WindowsUpdateConfiguration] Could not set service 'wuauserv' => 'running'! Current status: StopPending.
2024-03-08 12:21:42.653 [05] - DEBUG: [WindowsUpdateConfiguration] Attempt 2/5 to set service 'wuauserv' => 'running'...
2024-03-08 12:21:42.654 [05] - WARNING: [WindowsUpdateConfiguration] Could not set service 'wuauserv' => 'running'! Current status: StopPending.
2024-03-08 12:21:42.654 [05] - DEBUG: [WindowsUpdateConfiguration] Attempt 3/5 to set service 'wuauserv' => 'running'...
2024-03-08 12:21:42.655 [05] - WARNING: [WindowsUpdateConfiguration] Could not set service 'wuauserv' => 'running'! Current status: StopPending.
2024-03-08 12:21:42.655 [05] - DEBUG: [WindowsUpdateConfiguration] Attempt 4/5 to set service 'wuauserv' => 'running'...
2024-03-08 12:21:42.656 [05] - WARNING: [WindowsUpdateConfiguration] Could not set service 'wuauserv' => 'running'! Current status: StopPending.
2024-03-08 12:21:42.656 [05] - DEBUG: [WindowsUpdateConfiguration] Attempt 5/5 to set service 'wuauserv' => 'running'...
2024-03-08 12:21:42.657 [05] - WARNING: [WindowsUpdateConfiguration] Could not set service 'wuauserv' => 'running'! Current status: StopPending.
2024-03-08 12:21:42.658 [05] - ERROR: [WindowsUpdateConfiguration] All attempts to set service 'wuauserv' => 'running' have failed!
2024-03-08 12:21:42.658 [05] - WARNING: [WindowsUpdateConfiguration] Failed to restore feature!
2024-03-08 12:21:42.659 [05] - ERROR: Failed to restore WindowsUpdateConfiguration (e35b758b-1552-43ae-adea-5d2fe61e6e12)!

You may be able to work around this issue by allowing Windows Update to run while SEB is running (and controlling Windows Update e.g. via group policies), see https://safeexambrowser.org/windows/win_usermanual_en.html#SecurityPane.

from seb-win-refactoring.

dbuechel avatar dbuechel commented on July 20, 2024

With respect to the key recognition: If it in fact is the case that the key is recognized by Moodle without the argument, but not with the argument, then it might be that there is an issue on Moodle side with the key calculation.

I see that your particular argument contains double-quotes " which might be escaped on Moodle side? That should however not be the case, as is specified on our website under Summary Config Key Generation:

Don't add character escaping (also back shlashes "\" as found in URL filter rules should not be escaped).

@danschlet To be sure and to verify the calculation in the Windows version, could you please send me (via mail or chat) the configuration key the macOS version calculates for the above linked configuration?

from seb-win-refactoring.

abowman-unige avatar abowman-unige commented on July 20, 2024

Thanks for the quick reply, so I wasn't aware about those constraints. Knowing that I've changed how the arguments should be run (new env_var):

image

It works now but it's a bit complicated to generalize that to other use case/apps if needed.

image

from seb-win-refactoring.

dbuechel avatar dbuechel commented on July 20, 2024

Okay, then there is definitely an issue with the key calculation, thanks for investigating further. The question now is whether it is in SEB (Windows) or in Moodle? If the keys from the Windows and macOS versions happen to be the same, then it's definitely on Moodle side. I'll report back once we've compared the two internally.

from seb-win-refactoring.

dbuechel avatar dbuechel commented on July 20, 2024

The keys of the macOS and Windows version of SEB coincide; this then most likely is an issue in the key calculation algorithm on Moodle side. Thus, I think it'd be best if you open an issue with the Moodle developers and mention that the issue only arises when using double quotes as application arguments (I reckon they might escape them, which as above stated should not be done for the key calculation).

from seb-win-refactoring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.