Thank you for your reply. I forgot to mention that the camera works fine when connected to a hotspot (outside the secure network). However, when connected to the secure network, it disconnects after just a few seconds. Could you clarify if the DepthAI library sends any data over the internet, or do you have any ideas on what might be causing this issue?
I tested the code with `DEPTHAI_DEBUG=1`, and the output is as follows:
DEPTHAI_BOOT_TIMEOUT=5000 python3 test.py
[2025-08-22 16:49:19.383] [depthai] [info] DEPTHAI_DEBUG enabled, lowered DEPTHAI_LEVEL to 'debug'
[2025-08-22 16:49:19.383] [depthai] [debug] Python bindings - version: 2.26.0.0 from build: 2024-05-25 16:36:33 +0000
[2025-08-22 16:49:19.383] [depthai] [debug] Library information - version: 2.26.0, commit: 90487456cb92d15bcf0129a2f54c332250f1df31 from 2024-05-25 08:30:10 +0200, build: 2024-05-25 16:34:38 +0000, libusb enabled: true
[2025-08-22 16:49:19.386] [depthai] [debug] Initialize - finished
[2025-08-22 16:49:19.493] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.28.tar.xz' open: 2ms, archive read: 107ms
[2025-08-22 16:49:19.892] [host] [debug] Device - OpenVINO version: universal
[14442C109196D2D200] [3.4] [1755848959.892] [host] [debug] Device - BoardConfig: {"camera":[],"emmc":null,"gpio":[],"imu":null,"logDevicePrints":true,"logPath":null,"logSizeMax":null,"logVerbosity":null,"network":{"mtu":0,"xlinkTcpNoDelay":true},"nonExclusiveMode":false,"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"manufacturer":"","maxSpeed":4,"pid":63035,"productName":"","vid":999},"usb3PhyInternalClock":null,"uvc":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 12 b9 07 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 bd 00 bd 00 b9 02 00 01 ba 00 be be bb 00 bb
0020: 00 be be be be be be 01 00 bb 00 be be
[2025-08-22 16:49:19.912] [depthai] [debug] Resources - Archive 'depthai-device-fwp-24a3b465b979de3f69410cd225914d8bd029f3ba.tar.xz' open: 2ms, archive read: 526ms
[2025-08-22 16:49:21.208] [depthai] [debug] Searching for booted device: DeviceInfo(name=3.4, mxid=14442C109196D2D200, X_LINK_BOOTED, X_LINK_USB_VSC, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[14442C109196D2D200] [3.4] [8.113] [system] [warning] PRINT:LeonCss: [OK]: INIT_NOC: noc probes timer create
[OK]: INIT_NOC: noc probes timer start
[OK]: INIT_NOC: ddr bandwith profiling!
BootloaderConfig.options1 checksum doesn't match. Is: 0x102C4414 should be: 0xAED890DB
GPIO boot mode 0x3, interface SPI_MASTER_EFF
Setting aons(0..4) back to boot from flash (offset = 0)
====ENABLE WATCHDOG====1
initial keepalive, countdown: 10
PLL0: 700000 AUX_IO0: 24000 AUX_IO1: 24000 MCFG: 24000 MECFG: 24000
Board init ret 3
DepthAI Firmware - version: 24a3b465b979de3f69410cd225914d8bd029f3ba
eeprom configuration version: 55AA0007
Reading VERSION 7 --- ->
eeprom configuration load from user area, status: 0
Reading VERSION 7 --- ->
Didn't find any boards matching the eeprom data
Board options: 00100004
PMIC read reg 0x19, val 0xb8
PMIC read reg 0x23, val 0x10
PMIC read reg 0x31, val 0x08
PMIC read reg 0x33, val 0x28
--> brdInit ...
brdInitAuxDevices: Error: SC = 27: io_initialize expander_cam_gpios_1 [OK]
spi_N25Q_init: Flash JEDEC ID: c2 25 3a
SR CR: 40 07
QUAD mode already enabled. Dummy cfg: 0x00
inited hal ---
def: 53 46 45 34 10 06 08 34 10 53 14 45 46 08 06
val: 53 46 45 34 10 06 08 34 10 53 14 45 46 08 06
Opening bus for IR driver: 1
Failed to probe IR driver LM3644
Opening bus for IR driver: 2
LM3644 detected, ID = 0x02
===== IR write bus 2: 0x07 = 0x89
===== IR write bus 2: 0x02 = 0x01
===== IR write bus 2: 0x03 = 0x00
===== IR write bus 2: 0x04 = 0x00
===== IR write bus 2: 0x05 = 0x00
===== IR write bus 2: 0x06 = 0x00
===== IR write bus 2: 0x07 = 0x09
===== IR write bus 2: 0x08 = 0x1a
===== IR write bus 2: 0x09 = 0x08
===== IR write bus 2: 0x01 = 0x24
Opening bus for IR driver: 3
Failed to probe IR driver LM3644
Closing EEPROm!
MyriaX board configuration
pll0 frequency: 700000, ref0 frequency: 24000
Is booted from flash by bootloader: 0
Networking not available...
=== Enumerating on socket: Cam_A / RGB / Center
>> Registered camera CCM OV9782 as /dev/Camera_0
camera socket: 0, name: color
config - w: 1280, h: 720, type: COLOR
config - w: 1280, h: 800, type: COLOR
config - w: 640, h: 400, type: COLOR
config - w: 1280, h: 720, type: MONO
config - w: 1280, h: 800, type: MONO
config - w: 640, h: 400, type: MONO
Adding socket 0: cam 5. Sen name: OV9782
=== Enumerating on socket: Cam_B / Left
>> Registered camera TG161B (ov9282) as /dev/Camera_1
camera socket: 1, name: left
config - w: 1280, h: 720, type: MONO
config - w: 1280, h: 800, type: MONO
config - w: 640, h: 400, type: MONO
Adding socket 1: cam 5. Sen name: OV9282
=== Enumerating on socket: Cam_C / Right
>> Registered camera TG161B (ov9282) as /dev/Camera_2
camera socket: 2, name: right
config - w: 1280, h: 720, type: MONO
config - w: 1280, h: 800, type: MONO
config - w: 640, h: 400, type: MONO
Adding socket 2: cam 5. Sen name: OV9282
Didn't find any boards matching the eeprom data
Initializing XLink...
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
initial keepalive, countdown: 9
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
initial keepalive, countdown: 8
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 7
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 6
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 5
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 4
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 3
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
initial keepalive, countdown: 2
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
initial keepalive, countdown: 1
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 6 VSC2_EVENT_DETACH
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 0 VSC2_EVENT_INTERFACE_UP
Done!
Usb connection speed: Super - USB 3.0
Temperature: Driver registered.
Temperature: Initialized driver.
Temperature: Sensor opened: CSS.
Temperature: Sensor opened: MSS.
Temperature: Sensor opened: UPA.
Temperature: Sensor opened: DSS.
[14442C109196D2D200] [3.4] [1755848969.339] [host] [debug] Schema dump: {"connections":[{"node1Id":0,"node1Output":"preview","node1OutputGroup":"","node2Id":1,"node2Input":"in","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"sippBufferSize":18432,"sippDmaBufferSize":16384,"xlinkChunkSize":-1},"nodes":[[0,{"id":0,"ioInfo":[[["","video"],{"blocking":false,"group":"","id":9,"name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","id":7,"name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","id":6,"name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","preview"],{"blocking":false,"group":"","id":8,"name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","id":5,"name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","id":4,"name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}],[["","inputConfig"],{"blocking":false,"group":"","id":3,"name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","id":2,"name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}]],"name":"ColorCamera","properties":[185,26,185,31,0,3,0,136,0,0,0,0,0,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,3,0,0,0,185,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,189,0,255,1,0,0,129,44,1,129,44,1,255,255,255,255,0,136,0,0,240,65,0,136,0,0,128,191,136,0,0,128,191,1,185,4,0,0,0,0,3,3,4,4,4,190]}],[1,{"id":1,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":1,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,114,103,98,0]}]]}
[14442C109196D2D200] [3.4] [1755848969.339] [host] [debug] Asset map dump: {"map":{}}
[14442C109196D2D200] [3.4] [8.117] [system] [info] Memory Usage - DDR: 0.12 / 333.28 MiB, CMX: 2.04 / 2.50 MiB, LeonOS Heap: 7.52 / 82.20 MiB, LeonRT Heap: 2.89 / 40.35 MiB / NOC ddr: 0 MB/s
[14442C109196D2D200] [3.4] [8.117] [system] [info] Temperatures - Average: 33.39C, CSS: 35.11C, MSS 32.25C, UPA: 33.21C, DSS: 32.97C
[14442C109196D2D200] [3.4] [8.117] [system] [info] Cpu Usage - LeonOS 25.83%, LeonRT: 0.35%
[14442C109196D2D200] [3.4] [8.124] [system] [warning] PRINT:LeonCss: I: [Timesync] [ 11052413] [XLin] startSync:186 Timesync | Callback not set
[14442C109196D2D200] [3.4] [8.134] [ColorCamera(0)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
[2025-08-22 16:49:29.965] [depthai] [debug] DataOutputQueue (rgb) closed
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] RPC error: Couldn't read data from stream: '__rpc_main' (X_LINK_ERROR)
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] Device about to be closed...
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] RPC error: Couldn't write data to stream: '__rpc_main' (X_LINK_ERROR)
[14442C109196D2D200] [3.4] [1755848969.965] [host] [debug] shutdown call error: Device already closed or disconnected: Input/output error
[2025-08-22 16:49:29.965] [depthai] [debug] XLinkResetRemoteTimeout returned: X_LINK_ERROR
[14442C109196D2D200] [3.4] [1755848970.083] [host] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
[2025-08-22 16:49:32.501] [depthai] [debug] XLinkResetRemote of linkId: (0)
[14442C109196D2D200] [3.4] [1755848972.501] [host] [debug] Getting crash dump...
[2025-08-22 16:49:32.501] [host] [debug] Device - OpenVINO version: universal
[14442C109196D2D200] [3.4] [1755848972.501] [host] [debug] Device - BoardConfig: {"camera":[],"emmc":null,"gpio":[],"imu":null,"logDevicePrints":true,"logPath":null,"logSizeMax":null,"logVerbosity":null,"network":{"mtu":0,"xlinkTcpNoDelay":true},"nonExclusiveMode":false,"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"manufacturer":"","maxSpeed":4,"pid":63035,"productName":"","vid":999},"usb3PhyInternalClock":null,"uvc":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 12 b9 07 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 bd 00 bd 00 b9 02 00 01 ba 00 be be bb 00 bb
0020: 00 be be be be be be 01 00 bb 00 be be
[2025-08-22 16:49:33.791] [depthai] [debug] Searching for booted device: DeviceInfo(name=3.4, mxid=14442C109196D2D200, X_LINK_BOOTED, X_LINK_USB_VSC, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[14442C109196D2D200] [3.4] [1755848982.090] [host] [warning] Device crashed, but no crash dump could be extracted.
[14442C109196D2D200] [3.4] [1755848982.839] [host] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
[2025-08-22 16:49:43.352] [depthai] [debug] XLinkResetRemote of linkId: (1)
[14442C109196D2D200] [3.4] [1755848983.586] [host] [debug] Device closed, 13621
Traceback (most recent call last):
File "test.py", line 25, in <module>
with dai.Device(pipeline) as device:
RuntimeError: Device already closed or disconnected: Input/output error