Agent can't connect to Database #5456
Replies: 7 comments 8 replies
-
this is because you have installed the app already, so its trying to start the app when the database is already opened elsewhere by the service im guessing you clicked 'Install' then it vanished, then u re-ran the agent.exe and clicked connect? |
Beta Was this translation helpful? Give feedback.
-
Ok. I uninstall the agent and reinstall it without clicking the connect button. How long does it take for an agent to appear on the web console? What is the right way to install the agent. |
Beta Was this translation helpful? Give feedback.
-
you have wanonly set to true but the serverurl in the screenshot is showing local so the meshagent exe isnt setup correctly, |
Beta Was this translation helpful? Give feedback.
-
Sorry I not used JSON before, what is the instruction I need to write for wan+lan? |
Beta Was this translation helpful? Give feedback.
-
well it depends how you installed it? |
Beta Was this translation helpful? Give feedback.
-
as i presume your server link isnt "local" |
Beta Was this translation helpful? Give feedback.
-
i have the same problem, solutions? |
Beta Was this translation helpful? Give feedback.
-
Describe your issue
After installing the agent on a Windows 11 PC, when I press the connect button I get this message:
Screenshots
![image](https://private-user-images.githubusercontent.com/148469421/276695956-89fa3edb-131f-4c36-a95a-3d6741f49c86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1Njk0NDEsIm5iZiI6MTczNDU2OTE0MSwicGF0aCI6Ii8xNDg0Njk0MjEvMjc2Njk1OTU2LTg5ZmEzZWRiLTEzMWYtNGMzNi1hOTVhLTNkNjc0MWY0OWM4Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxOVQwMDQ1NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MTk5ZmYxNTg4MzRhOTdmNWQ1YmFiM2YwMmJiNmU4YjlhM2M2MzIyMmY3MDVhZjQ1OGU4OWUzNTc0Mjc5ODA1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-5q3IIWVLPIo2JbPSfHcC6Lv3m6NJmxgK2rJz527QiE)
Server Software (please complete the following information):
Client Device (please complete the following information):
{
"$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
"comment1": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
"comment2": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
"settings": {
"MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
"WANonly": true,
"_Port": 443,
"_RedirPort": 80,
"_AllowLoginToken": true,
"_AllowFraming": true,
"_WebRTC": false,
"_ClickOnce": false,
"_UserAllowedIP" : "127.0.0.1,::1,192.168.0.100"
},
"domains": {
"": {
"_title": "MyServer",
"_title2": "Servername",
"_minify": true,
"_newAccounts": true,
"_userNameIsEmail": true
}
},
"_letsencrypt": {
"comment": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
"email": "[email protected]",
"names": "myserver.mydomain.com",
"skipChallengeVerification": true,
"production": false
}
}
Beta Was this translation helpful? Give feedback.
All reactions