SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
186 stars 124 forks source link

Die Konfigurations-Ressource "seb://DOMAIN/ID/exam_pass-EXAMID.seb" wird nicht unterstützt! #683

Closed TomJampen closed 1 year ago

TomJampen commented 1 year ago

Hi

One of my pupils has an issue with joining an exam with SEB. The SEB seems not to be able to download the SEB config (I've replaced our domain with "FOO" in all URLs below) and shows the following error message:

"Die Konfigurations-Ressource "seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb" wird nicht unterstützt!"

The Log shows that the GET request was not successful (I include only the Session Start Procedure): 2023-10-18 12:27:01.918 [04] - INFO: ### ------------------------------------ Session Start Procedure ------------------------------------- ### 2023-10-18 12:27:01.920 [04] - INFO: Initializing new session configuration... 2023-10-18 12:27:01.922 [04] - INFO: -> Client-ID: 36181835-40f7-4865-866a-2cca82cf0abb 2023-10-18 12:27:01.923 [04] - INFO: -> Runtime-ID: ac9f7626-442f-4eb9-bb5c-838aab7e15f8 2023-10-18 12:27:01.924 [04] - INFO: -> Session-ID: 9a6139cd-b057-48c2-91f9-b038a9d23fdf 2023-10-18 12:27:01.925 [04] - INFO: Initializing application configuration... 2023-10-18 12:27:01.926 [04] - INFO: Found command-line argument for configuration resource: 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb', the URI is valid. 2023-10-18 12:27:01.928 [04] - INFO: [ConfigurationRepository] Attempting to load 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb'... 2023-10-18 12:27:01.938 [04] - DEBUG: [FileResourceLoader] Can't load 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb' as it isn't an existing file. 2023-10-18 12:27:01.941 [04] - DEBUG: [NetworkResourceLoader] Sending HEAD request for 'http://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb'... 2023-10-18 12:27:01.985 [04] - DEBUG: [NetworkResourceLoader] Received response '308 - Permanent Redirect'. 2023-10-18 12:27:01.986 [04] - DEBUG: [NetworkResourceLoader] HEAD request was not successful, trying GET request for 'http://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb'... 2023-10-18 12:27:02.013 [04] - ERROR: [NetworkResourceLoader] Failed to check availability of 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb' via GET request!

Exception Message: Fehler beim Senden der Anforderung. Exception Type: System.Net.Http.HttpRequestException

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei SafeExamBrowser.Configuration.DataResources.NetworkResourceLoader.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\Users\appveyor\projects\seb-win-refactoring-ist041kp6jai2xxx\SafeExamBrowser.Configuration\DataResources\NetworkResourceLoader.cs:Zeile 116. --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei SafeExamBrowser.Configuration.DataResources.NetworkResourceLoader.Execute(HttpRequestMessage request) in C:\Users\appveyor\projects\seb-win-refactoring-ist041kp6jai2xxx\SafeExamBrowser.Configuration\DataResources\NetworkResourceLoader.cs:Zeile 120. bei SafeExamBrowser.Configuration.DataResources.NetworkResourceLoader.IsAvailable(Uri resource) in C:\Users\appveyor\projects\seb-win-refactoring-ist041kp6jai2xxx\SafeExamBrowser.Configuration\DataResources\NetworkResourceLoader.cs:Zeile 189.

Inner Exception Message: Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden.. Inner Exception Type: System.Net.WebException

bei System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) bei System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

2023-10-18 12:27:02.014 [04] - DEBUG: [NetworkResourceLoader] Can't load 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb' since its URI scheme is not supported or the resource is unavailable. 2023-10-18 12:27:02.014 [04] - WARNING: [ConfigurationRepository] No resource loader found for 'seb://smartlearn.FOO.ch/seb/e33a82eae45344378a87318e2f631e9b98c1bc1440badac312c2d7be694ba87f/exam_pass-641.seb'! 2023-10-18 12:27:04.943 [04] - WARNING: The configuration has failed! 2023-10-18 12:27:04.945 [04] - INFO: ### -------------------------------------- Session Start Failed -------------------------------------- ###

Version Information

Additional Context

Has this happened before? Is there something I could try to solve the problem?

Thanks and kind regards Tom

dbuechel commented 1 year ago

That is weird indeed, but very much looks like an issue with that particular device resp. operating system (configuration). Did you use Firefox or Edge to download the file? If I'm not mistaken, Firefox has its built-in certificate store, so that would explain why it would work there but not in SEB and/or Edge, as they (in the case of Edge I'm assuming as well) are using the system certificate store.

TomJampen commented 1 year ago

Thanks, I performed the mentioned download from Firefox, but I've played a bit more today (without the whole class waiting for the exam to start):

So, problem solved but it is not entirely clear why downloading the config didn't work with SEB while it worked from Edge.

dbuechel commented 1 year ago

I highly suspect some security-related issue which required all Windows Updates to be installed. As SEB is using an embedded Chromium engine, it most unfortunately is not always treated the same way as other, well-established browsers (be it by the OS itself, web applications and servers et. al.).