Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent connected with bad signature. #271

Open
ghost opened this issue Jan 16, 2025 · 3 comments
Open

Agent connected with bad signature. #271

ghost opened this issue Jan 16, 2025 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 16, 2025

Hi,

On a daily basis the MeshCentral status page (sudo systemctl status meshcentral.service) reports the following problem/error:
Agent connected with bad signature, holding connection (undefined).

I am not sure what this error actually means and which agent is causing this?
My question is how do I troubleshoot the agent problems/errors from the users that are connected to the meshcentral server in general?
How would I troubleshoot the problem I am reporting?

MeshCentral server installation (currently using version 1.1.38:
Ubuntu 22.04
Database MongoDB: ver. 8.0.4

All of the agents connecting to meshcentral from either Windows 10 or 11 PCs, meshagents (ver. 9th Dec 2022), all on 64bit apart from one.

Best Regards,
Lutz Lorenz

@PrplHaz4
Copy link

This means that the agent is trying to connect with a certificate that's different from what the server pulled down when it started (or what it was configured with). This often happens if you're using a proxy or split dns.

@si458
Copy link
Collaborator

si458 commented Jan 16, 2025

You haven't followed the bug report template correctly
We need to see a copy of your config.json

@si458
Copy link
Collaborator

si458 commented Jan 16, 2025

you need to set certurl to the URL you are using to access meshcentral (e.g.https://my.domain.com)

also sessionkey should be uncommented and set as well to a completely random value thats kept secret
(this helps with logout and logs in the web ui between restarts)

also you say you use a reverse proxy, what reverse proxy is it? also whats its config look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants