MID Server cannot connect to instance due to authentication issueIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> MID server service shows running on the host but cannot connect to the instance. When you look at the agent log from the logs directory, there is an error saying the MID server user cannot be authenticated. ReleaseApplies to all releasesCauseThe agent_keystore.jks file is corrupted. This is the file which will encrypt the MID user password on the config.xml file.ResolutionFrom the services panel, stop the MID server service from runningNavigate to agent\keystore directory on the MID server installation directory, and delete the agent_keystore.jks fileOpen config.xml file, remove the encrypted value for the "mid.instance.password" parameter, and re-enter the password in plain Scroll all the way to the bottom of the file, and remove the value for the parameter "keypairs.mid.id", and leave it as a blank value Save the file, and restart the MID server service from the services consoleRelated LinksOnce the MID server is able to connect with the instance due to the re-entered plain text password, it pulls the agent_keystore.jks file from the instance and encrypts the password on config.xml, so when you check the password in config.xml after the MID server is connected, it would be encrypted.