alienatedsec / yi-hack-v5

Even newer Custom Firmware for Xiaomi Cameras based on Hi3518ev200 Chipset. It includes free RTSP, ONVIF and other improvements based on the work by roleoroleo
GNU General Public License v3.0
780 stars 87 forks source link

fix: mqtt disconnecting immediately after boot #328

Closed fidesachates closed 8 months ago

fidesachates commented 8 months ago

After I upgraded to 4.0, my mqtt wasn't working anymore. On my mqtt bridge, I saw that the client was connecting and then disconnecting. I debugged it on the camera by outputting mqttv4 to logs and rebooting. I found this in the logs:

Can't open mqueue /ipc_dispatch_1. Error: No such file or directory

I deduce that this is because the command above ipc_multiplexer needs time to start up properly? I tested this giving it a sleep and rebooting which fixed the issue.

alienatedsec commented 8 months ago

@fidesachates this will need to be merged later unless you will raise a pull request into a pre-release https://github.com/alienatedsec/yi-hack-v5/tree/pre-release-0.4.1x