• DepthAI
  • Cameras Failure to Connect. Find ip but xlink error saying device not found

Failure to connect.

I have two POE cameras that are currently failing to connect. I will spit out XLINK Deivce not found messages immediately . I tried it with depthai-hello-world, device manager, and my own code, all the same errors. It has been working for two weeks until today and this showed up suddenly and no way to go. PLEASE HELP. I am in a shock.

$ python3 depthai-helloworld.py
Traceback (most recent call last):
File "/home/jk.chen/dev/camera/mytest/depthai-helloworld.py", line 37, in <module>
with depthai.Device(pipeline) as device:
RuntimeError: Failed to find device (DeviceInfo(name=192.170.10.222, mxid=18443010A1088F0F00, X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)), error message: X_LINK_DEVICE_NOT_FOUND

  • Never mind my problem here. I got it to fix. My development environment got screwed up. Reinstall my environment fixed it.

cam_test.py result.

$ python3 cam_test.py
DepthAI version: 2.24.0.0
DepthAI path: /home/jk.chen/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so
[2025-03-06 12:41:09.611] [depthai] [warning] Monitor thread (device: 18443010A1088F0F00 [192.170.10.222]) - ping was missed, closing the device connection
Traceback (most recent call last):
File "/home/jk.chen/dev/new_camera/depthai-python/utilities/cam_test.py", line 257, in <module>
with dai.Device(*dai_device_args) as device:
depthai.XLinkWriteError: Couldn't write data to stream: '__bootloader' (X_LINK_ERROR)

HOW TO FIX THESE?

Never mind my problem here. I got it to fix. My development environment got screwed up. Reinstall my environment fixed it.