Meshcentral: Agent disconnect, only HP laptops

Created on 26 Feb 2021  路  4Comments  路  Source: Ylianst/MeshCentral

Hi,
I have a strange problem.
We have a server with about 300 clients without problems.
Now we start adding some HP 640 and HP 650 laptops and the client disconnects after a few seconds, it rarely stays longer than a minute. This problem only happens with HP laptops.
Installation is done with clonezilla, using a standard image for everyone.

Does anyone have suggestions or had an identical problem?

The server version is 0.7.59

Thanks
Carlos Baptista

Fixed - Confirm & Close question

Most helpful comment

The problem is likely the Clonezilla installation. The MeshAgent generates a certificate which it will use as it's identity. When cloning, now all devices have the same identity and so, the MeshCentral server will think that all your HP laptops are the same computer and only allow 1 connection. When one HP laptop connects, the server will disconnect the previous connection and only one of your laptops will show up on the site.

If you delete the meshagent.db, it forces the MeshAgent to re-generate a new identity and fixes the problem. If you can delete the meshagent.db just before you generate the master image, that will work.

Hope that helps,
Ylian

All 4 comments

thinking about updating your server to higher version could help probaly. Maybe adding the no agent update in your config, and then try to update 1 or 2 clients with the latest version of the agent in the settings part: "noagentupdate": true,
restart the server and try again.

after return of the server, select an computer, go to the console and type; agentupdate

Thanks for the reply, but I found the solution.
I still dont know what happend and why, but if I delete meshagent.db file and restart the service, it seems that everything goes well.
The question is, why only with HP laptops?
Strange... :-P

Thanks
Carlos Baptista

The problem is likely the Clonezilla installation. The MeshAgent generates a certificate which it will use as it's identity. When cloning, now all devices have the same identity and so, the MeshCentral server will think that all your HP laptops are the same computer and only allow 1 connection. When one HP laptop connects, the server will disconnect the previous connection and only one of your laptops will show up on the site.

If you delete the meshagent.db, it forces the MeshAgent to re-generate a new identity and fixes the problem. If you can delete the meshagent.db just before you generate the master image, that will work.

Hope that helps,
Ylian

Going to close this one, but if there is more info. Don't hesitate to report back.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hellofaduck picture hellofaduck  路  3Comments

haxmachine picture haxmachine  路  3Comments

PathfinderNetworks picture PathfinderNetworks  路  3Comments

Julien-asv picture Julien-asv  路  3Comments

LPJon picture LPJon  路  3Comments