aktueller OCA 4.3.19.11-1 hat entweder einen Bug bei der Installation von Paketen die gecached sind oder in Windows hat sich was geändert.
Das Problem ist, dass das "net_connection" Event den Start des "gui_startup{cache_ready}" Events blockiert. Das passiert nur bei WLAN Verbindungen! Lässt aber damit KEINE Installationen beim Computerstart mehr zu. Mit einer LAN Verbindung oder gar keiner Verbindung startet das GUI ganz normal.
Es scheint, als ob das "net_connection" Event kurz bevor Windows die WLAN Verbindungen herstellt startet, oder irgendwas an der Erkennung neuer Verbindungen nicht funktioniert. Generell sollte mMn das "net_connection" Event nicht vor "gui_startup{cache_ready}" starten.
Code: Alles auswählen
[6] [2026-07-07 09:11:39.705] [event generator timer_silentinstall ] Activating event generator '<TimerEventGenerator timer_silentinstall>' (Basic.py:215)
[6] [2026-07-07 09:11:39.705] [event generator timer_silentinstall ] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:39.705] [opsiclientd ] Event generator '<TimerEventGenerator timer_silentinstall>' started (Opsiclientd.py:533)
[6] [2026-07-07 09:11:39.706] [event generator net_connection ] Initializing event generator '<CustomEventGenerator net_connection>' (Basic.py:206)
[6] [2026-07-07 09:11:39.707] [event generator net_connection ] Importing wmi / pythoncom (__init__.py:43)
[6] [2026-07-07 09:11:39.706] [opsiclientd ] Event generator '<CustomEventGenerator net_connection>' started (Opsiclientd.py:533)
[6] [2026-07-07 09:11:39.708] [event generator gui_startup{cache_ready}] Initializing event generator '<GUIStartupEventGenerator gui_startup{cache_ready}>' (Basic.py:206)
[6] [2026-07-07 09:11:39.708] [event generator gui_startup{cache_ready}] Activating event generator '<GUIStartupEventGenerator gui_startup{cache_ready}>' (Basic.py:215)
[6] [2026-07-07 09:11:39.709] [event generator gui_startup{cache_ready}] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:39.708] [opsiclientd ] Event generator '<GUIStartupEventGenerator gui_startup{cache_ready}>' started (Opsiclientd.py:533)
[6] [2026-07-07 09:11:39.714] [opsiclientd ] Starting LoginDetector for message of the day (Opsiclientd.py:537)
[6] [2026-07-07 09:11:39.715] [event generator login_detector ] Initializing event generator '<LoginDetector login_detector>' (Basic.py:206)
[5] [2026-07-07 09:11:39.716] [event generator login_detector ] Registring ISensLogon (SensLogon.py:26)
[5] [2026-07-07 09:11:39.716] [opsiclientd ] Waiting for gui startup (timeout: 60 seconds) (Opsiclientd.py:551)
[6] [2026-07-07 09:11:39.720] [event generator wait_for_gui ] Initializing event generator '<GUIStartupEventGenerator wait_for_gui>' (Basic.py:206)
[6] [2026-07-07 09:11:39.720] [event generator wait_for_gui ] Activating event generator '<GUIStartupEventGenerator wait_for_gui>' (Basic.py:215)
[6] [2026-07-07 09:11:39.720] [event generator wait_for_gui ] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:39.733] [webserver ] Started server process [6088] (server.py:92)
[6] [2026-07-07 09:11:39.733] [webserver ] Waiting for application startup. (on.py:48)
[6] [2026-07-07 09:11:39.735] [webserver ] Application startup complete. (on.py:62)
[6] [2026-07-07 09:11:39.736] [webserver ] Uvicorn running on https://['::', '0.0.0.0']:4441 (Press CTRL+C to quit) (server.py:224)
[6] [2026-07-07 09:11:39.744] [event generator login_detector ] Activating event generator '<LoginDetector login_detector>' (Basic.py:215)
[6] [2026-07-07 09:11:39.744] [event generator login_detector ] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:39.746] [event generator net_connection ] Watching for wql: SELECT * FROM __InstanceModificationEvent WITHIN 2 WHERE TargetInstance ISA 'Win32_NetworkAdapter' AND TargetInstance.NetConnectionStatus = 2 AND PreviousInstance.NetConnectionStatus != 2 (WMI.py:59)
[6] [2026-07-07 09:11:41.119] [event generator net_connection ] Activating event generator '<CustomEventGenerator net_connection>' (Basic.py:215)
[6] [2026-07-07 09:11:41.119] [event generator net_connection ] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:41.616] [permanent service connection ] Trying to connect to service: ['https://opsi.domain.local:4447'] (OpsiService.py:294)
[5] [2026-07-07 09:11:41.617] [permanent service connection ] Opening connection to opsi service ['https://opsi.domain.local:4447'] (OpsiService.py:326)
[6] [2026-07-07 09:11:41.617] [permanent service connection ] Using proxy settings: http_proxy=None, https_proxy=None, no_proxy='::1,ip6-loopback,localhost,127.0.0.1,ip6-localhost' (_network.py:303)
[6] [2026-07-07 09:11:41.618] [permanent service connection ] Connecting to service 'https://opsi.domain.local:4447' (opsiclientd: False) (_service_client.py:1053)
[3] [2026-07-07 09:11:41.624] [permanent service connection ] Connection to opsi service https://opsi.domain.local:4447 failed: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:408)
[6] [2026-07-07 09:11:41.624] [permanent service connection ] Failed to connect: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:282)
[6] [2026-07-07 09:11:41.756] [permanent service connection ] Current network Status:
Interface ...
Interface ...
[6] [2026-07-07 09:11:43.743] [event generator net_connection ] Testing preconditions of configs: [<CustomEventConfig net_connection>] (Basic.py:70)
[6] [2026-07-07 09:11:43.744] [event generator net_connection ] Preconditions for event config 'net_connection' fulfilled: {} (Basic.py:77)
[6] [2026-07-07 09:11:43.744] [event generator net_connection ] Got new event: <opsiclientd.Events.Windows.Custom.CustomEvent object at 0x08930760> (1/0) (Basic.py:223)
[6] [2026-07-07 09:11:43.744] [event generator net_connection ] Firing event '<opsiclientd.Events.Windows.Custom.CustomEvent object at 0x08930760>' (Basic.py:155)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] Event info: (Basic.py:156)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] AdapterType: Ethernet 802.3 (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] AdapterTypeId: 0 (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] AutoSense: None (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] Availability: 3 (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] Caption: [00000004] Intel(R) Wi-Fi 6E AX211 160MHz (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] ConfigManagerErrorCode: 0 (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] ConfigManagerUserConfig: False (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] CreationClassName: Win32_NetworkAdapter (Basic.py:158)
[6] [2026-07-07 09:11:43.745] [event generator net_connection ] Description: Intel(R) Wi-Fi 6E AX211 160MHz (Basic.py:158)
.....
[6] [2026-07-07 09:11:43.749] [event generator net_connection ] TimeOfLastReset: 20260707091110.500000+120 (Basic.py:158)
[6] [2026-07-07 09:11:43.749] [event generator net_connection ] Starting FireEventThread for listeners: [<OpsiclientdNT6(opsiclientd, started daemon 10532)>] (Basic.py:182)
[6] [2026-07-07 09:11:43.749] [event generator net_connection ] Calling processEvent on listener <OpsiclientdNT6(opsiclientd, started daemon 10532)> (Basic.py:177)
[5] [2026-07-07 09:11:43.750] [event generator net_connection ] Processing event <opsiclientd.Events.Windows.Custom.CustomEvent object at 0x08930760> (Opsiclientd.py:842)
[5] [2026-07-07 09:11:43.757] [event processing net_connection ] ============= EventProcessingThread for occurrcence of event 'net_connection' started ============= (EventProcessing.py:1881)
[5] [2026-07-07 09:11:43.764] [event processing net_connection ] Block login now set to 'False' (Opsiclientd.py:385)
[5] [2026-07-07 09:11:43.770] [event processing net_connection ] Starting notification server (EventProcessing.py:200)
[5] [2026-07-07 09:11:43.773] [notification server ] Notification server started (listening on port 44000) (EventProcessing.py:229)
[6] [2026-07-07 09:11:43.774] [notification server ] Notification server serving on ('::1', 44000, 0, 0), ('127.0.0.1', 44000) (notification_server.py:286)
[5] [2026-07-07 09:11:44.243] [event processing net_connection ] Action processor name 'opsi-script', version '4.12.20.2' (EventProcessing.py:366)
[5] [2026-07-07 09:11:44.244] [event processing net_connection ] Waiting for connection to config server (EventProcessing.py:1944)
[6] [2026-07-07 09:11:44.244] [event processing net_connection ] User is allowed to cancel connection after 30 seconds (EventProcessing.py:1798)
[6] [2026-07-07 09:11:44.650] [permanent service connection ] Trying to connect to service: ['https://opsi.domain.local:4447'] (OpsiService.py:294)
[5] [2026-07-07 09:11:44.650] [permanent service connection ] Opening connection to opsi service ['https://opsi.domain.local:4447'] (OpsiService.py:326)
[6] [2026-07-07 09:11:44.651] [permanent service connection ] Using proxy settings: http_proxy=None, https_proxy=None, no_proxy='::1,ip6-loopback,localhost,127.0.0.1,ip6-localhost' (_network.py:303)
[6] [2026-07-07 09:11:44.652] [permanent service connection ] Connecting to service 'https://opsi.domain.local:4447' (opsiclientd: False) (_service_client.py:1053)
[3] [2026-07-07 09:11:44.654] [permanent service connection ] Connection to opsi service https://opsi.domain.local:4447 failed: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:408)
[6] [2026-07-07 09:11:44.655] [permanent service connection ] Failed to connect: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:282)
[6] [2026-07-07 09:11:44.767] [permanent service connection ] Current network Status:
Interface ...
Interface ...
[6] [2026-07-07 09:11:48.697] [permanent service connection ] Trying to connect to service: ['https://opsi.domain.local:4447'] (OpsiService.py:294)
[5] [2026-07-07 09:11:48.698] [permanent service connection ] Opening connection to opsi service ['https://opsi.domain.local:4447'] (OpsiService.py:326)
[6] [2026-07-07 09:11:48.698] [permanent service connection ] Using proxy settings: http_proxy=None, https_proxy=None, no_proxy='::1,ip6-loopback,localhost,127.0.0.1,ip6-localhost' (_network.py:303)
[6] [2026-07-07 09:11:48.699] [permanent service connection ] Connecting to service 'https://opsi.domain.local:4447' (opsiclientd: False) (_service_client.py:1053)
[6] [2026-07-07 09:11:48.818] [permanent service connection ] Current network Status:
Interface ...
Interface ...
[3] [2026-07-07 09:11:48.823] [permanent service connection ] Connection to opsi service https://opsi.domain.local:4447 failed: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:408)
[6] [2026-07-07 09:11:48.823] [permanent service connection ] Failed to connect: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:282)
[6] [2026-07-07 09:11:53.769] [event generator net_connection ] Getting next event... (Basic.py:219)
[6] [2026-07-07 09:11:53.861] [permanent service connection ] Trying to connect to service: ['https://opsi.domain.local:4447'] (OpsiService.py:294)
[5] [2026-07-07 09:11:53.861] [permanent service connection ] Opening connection to opsi service ['https://opsi.domain.local:4447'] (OpsiService.py:326)
[6] [2026-07-07 09:11:53.862] [permanent service connection ] Using proxy settings: http_proxy=None, https_proxy=None, no_proxy='::1,ip6-loopback,localhost,127.0.0.1,ip6-localhost' (_network.py:303)
[6] [2026-07-07 09:11:53.862] [permanent service connection ] Connecting to service 'https://opsi.domain.local:4447' (opsiclientd: False) (_service_client.py:1053)
[6] [2026-07-07 09:11:53.909] [permanent service connection ] Current network Status:
Interface ...
Interface ...
[3] [2026-07-07 09:11:53.912] [permanent service connection ] Connection to opsi service https://opsi.domain.local:4447 failed: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:408)
[6] [2026-07-07 09:11:53.913] [permanent service connection ] Failed to connect: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:282)
[6] [2026-07-07 09:12:00.971] [permanent service connection ] Trying to connect to service: ['https://opsi.domain.local:4447'] (OpsiService.py:294)
[5] [2026-07-07 09:12:00.972] [permanent service connection ] Opening connection to opsi service ['https://opsi.domain.local:4447'] (OpsiService.py:326)
[6] [2026-07-07 09:12:00.972] [permanent service connection ] Using proxy settings: http_proxy=None, https_proxy=None, no_proxy='::1,ip6-loopback,localhost,127.0.0.1,ip6-localhost' (_network.py:303)
[6] [2026-07-07 09:12:00.972] [permanent service connection ] Connecting to service 'https://opsi.domain.local:4447' (opsiclientd: False) (_service_client.py:1053)
[3] [2026-07-07 09:12:01.015] [permanent service connection ] Connection to opsi service https://opsi.domain.local:4447 failed: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:408)
[6] [2026-07-07 09:12:01.030] [permanent service connection ] Failed to connect: HTTPSConnectionPool(host='opsi.domain.local', port=4447): Max retries exceeded with url: /rpc (Caused by NameResolutionError("HTTPSConnection(host='opsi.domain.local', port=4447): Failed to resolve 'opsi.domain.local' ([Errno 11001] getaddrinfo failed)")) (OpsiService.py:282)
[6] [2026-07-07 09:12:01.037] [permanent service connection ] Current network Status:
Interface ...
Interface ...
[5] [2026-07-07 09:12:05.053] [control pipe ] Client connected to \\.\pipe\opsiclientd (ControlPipe.py:484)
[6] [2026-07-07 09:12:05.054] [control pipe ] Received request 'b'{"id": 1, "method": "registerClient", "params": ["opsi-login-blocker","4.3.1.2"]}'' from <NTPipeClientConnection #1> (ControlPipe.py:85)
[6] [2026-07-07 09:12:05.055] [control pipe ] Client <NTPipeClientConnection #1> info set to: ['opsi-login-blocker', '4.3.1.2'] (ControlPipe.py:127)
[6] [2026-07-07 09:12:05.055] [control pipe ] Sending response 'b'{"id":1,"result":"client opsi-login-blocker/4.3.1.2/#1 registered","error":null}'' to <NTPipeClientConnection #1> (ControlPipe.py:87)
[6] [2026-07-07 09:12:06.566] [control pipe ] Sending request 'b'{"id":1,"method":"blockLogin","params":[false]}'' to client <NTPipeClientConnection #1> (ControlPipe.py:156)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Console session found: DisplaySession(id='1', is_current_console_session=True, is_usable=True, user=None, domain=None, environment={}, windows_state=<WindowsDisplaySessionState.CONNECTED: 'connected'>, windows_protocol=<WindowsDisplaySessionProtocol.CONSOLE: 'console'>, linux_session_type=None, linux_session_class=None) (GUIStartup.py:48)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Testing preconditions of configs: [<GUIStartupEventConfig gui_startup{cache_ready}>, <GUIStartupEventConfig gui_startup{installation_pending}>] (Basic.py:70)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Preconditions for event config 'gui_startup{cache_ready}' fulfilled: {'config_cached': True, 'products_cached': True} (Basic.py:77)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Preconditions for event config 'gui_startup{installation_pending}' fulfilled: {'installation_pending': True} (Basic.py:77)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Got new event: <opsiclientd.Events.GUIStartup.GUIStartupEvent object at 0x088F3258> (1/1) (Basic.py:223)
[6] [2026-07-07 09:12:06.808] [event generator gui_startup{cache_ready}] Firing event '<opsiclientd.Events.GUIStartup.GUIStartupEvent object at 0x088F3258>' (Basic.py:155)
[6] [2026-07-07 09:12:06.809] [event generator gui_startup{cache_ready}] Event info: (Basic.py:156)
[6] [2026-07-07 09:12:06.809] [event generator gui_startup{cache_ready}] Starting FireEventThread for listeners: [<OpsiclientdNT6(opsiclientd, started daemon 10532)>] (Basic.py:182)
[5] [2026-07-07 09:12:06.809] [event generator gui_startup{cache_ready}] Currently running event can only be canceled by manual action (ControlServer/Kiosk): net_connection (Opsiclientd.py:800)
[4] [2026-07-07 09:12:06.809] [event generator gui_startup{cache_ready}] Event generator '<GUIStartupEventGenerator gui_startup{cache_ready}>' could not fire: Currently running event can only be canceled by manual action (ControlServer/Kiosk): net_connection (Basic.py:227)
Traceback (most recent call last):
File "opsiclientd\Events\Basic.py", line 225, in run
File "opsiclientd\Events\Basic.py", line 192, in fireEvent
File "opsiclientd\Opsiclientd.py", line 804, in canProcessEvent
opsiclientd.Events.Basic.CannotCancelEventError: Currently running event can only be canceled by manual action (ControlServer/Kiosk): net_connection
[6] [2026-07-07 09:12:06.823] [event generator wait_for_gui ] Console session found: DisplaySession(id='1', is_current_console_session=True, is_usable=True, user=None, domain=None, environment={}, windows_state=<WindowsDisplaySessionState.CONNECTED: 'connected'>, windows_protocol=<WindowsDisplaySessionProtocol.CONSOLE: 'console'>, linux_session_type=None, linux_session_class=None) (GUIStartup.py:48)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Testing preconditions of configs: [<GUIStartupEventConfig wait_for_gui>] (Basic.py:70)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Preconditions for event config 'wait_for_gui' fulfilled: {} (Basic.py:77)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Got new event: <opsiclientd.Events.GUIStartup.GUIStartupEvent object at 0x0AA97BE0> (1/1) (Basic.py:223)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Firing event '<opsiclientd.Events.GUIStartup.GUIStartupEvent object at 0x0AA97BE0>' (Basic.py:155)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Event info: (Basic.py:156)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Starting FireEventThread for listeners: [<opsiclientd.Opsiclientd.WaitForGUI object at 0x08930F48>] (Basic.py:182)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] Calling processEvent on listener <opsiclientd.Opsiclientd.WaitForGUI object at 0x08930F48> (Basic.py:177)
[6] [2026-07-07 09:12:06.824] [event generator wait_for_gui ] GUI started (Opsiclientd.py:1563)
[6] [2026-07-07 09:12:06.825] [control pipe ] Received response 'b'{"id": 1, "result": "not blocking login", "error": null}'' from client <NTPipeClientConnection #1> (ControlPipe.py:162)
[5] [2026-07-07 09:12:06.825] [opsiclientd ] Done waiting for GUI (Opsiclientd.py:554)
[6] [2026-07-07 09:12:11.107] [permanent service connection ] Trying to connect to service: ...