Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

I deployed an HMDM version in a personalized Docker environment. I can successfully add users and manually pull applications. Any modifications I make to a user are applied to their device when I click the "Pull" button on the agent.

However, I am concerned about the automatic content pull for users. When I make a modification, I expect it to be automatically applied to the user's device, but nothing happens.

Upon checking the logs, I found a timeout error related to MQTT:
Scheduling MQTT reconnection in 900 sec.

I investigated the container where the HMDM solution is installed, and it seems like port 31000 is not available. When I attempt a telnet localhost 31000, I receive no response.

My questions are:

  1. Is the MQTT service always expected to listen on port 31000?
  2. Is this MQTT service started automatically when the application is deployed?
by (120 points)

1 Answer

0 votes
MQTT service listens on port 31000 and starts automatically when the application is deployed.

If you're using Docker Compose, the open (forwarded) ports are specified in docker-compose.yaml:

services: hmdm: ports: - 31000:31000

If you don't see the line specifying the port forwarding, compare your setup with the original Docker repository: https://github.com/h-mdm/hmdm-docker).

If you have issues with MQTT, consider switching to HTTP polling in the configuration details.
by (39.1k points)
Thank you. I found a solution.
The mqtt was not finding the ip on which it should be exposed.
Thank you.
...