An update on this topic:
Many users have reported this issue with libwebsockets and mosquitto when running our Docker build system image on Windows and Mac OS.We recommend running the Docker build system image on a Linux system. That's how we build firmware at Onion and it don't see these issues.