The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Maik Skoddow
Tera Patron
Tera Patron
find_real_file.png
I recommend bookmarking this article so that you are automatically notified by email when changes are made by me.
If you miss any content, please leave it as a comment and I will add it to this article.
 

My library Knowledge Sources To Go is very popular, but it was intended mainly as a thematically grouped guide to standard sources and was provided by me as a PDF file. For certain topics, however, there is so much content that I can no longer include it in that document, as it cannot continue to grow forever.

For this reason, I have decided to handle such topics in individual community articles like this one instead.

 

 

Legend

        
Table of Contents

 

Video Video     Knowledge Base Article Knowledge Article at support.servicenow.com
Documentation Documentation Page at docs.servicenow.com   Bug _ Problem Bug Report at support.servicenow.com
Community Article Community Article   find_real_file.png other Web Page

 

What is the MID server?

 

The Management, Instrumentation, and Discovery Server is a Java application that runs as a Windows service or UNIX daemon on a server in your local network. The MID Server enables communication and the movement of data between a ServiceNow instance and external applications, data sources, and services. It is core to many successful implementations as it is used with several ServiceNow products such as Discovery, Service Mapping, Integration Hub, Orchestration, Cloud Provisioning and Governance, Event Management, and Operational Intelligence and can provides support for integrations with LDAP, Active Directory, and 3rd party integrations using SOAP or REST.  

 

 

 

What is a ServiceNow MID Server and how does it work? 

 

MID Server Best Practices 

 

 

 

Trainings & Courses

Introduction to the MID Server

Are you new to MID Servers and want to know how they can be used with your ServiceNow instance? Attend this course for a high-level overview.

 

MID Server Fundamentals

This course explores how to install, configure, and troubleshoot a MID Server on both Windows and Linux operating systems.

 

 

 

Setup


Prerequisites

 

Documentation MID Server System requirements
Documentation Configure MID Server network connectivity
Documentation Test MID Server connectivity
Knowledge Base Article MID Server Fundamentals (KB0993941)
Knowledge Base Article Which features do MID Servers not support, depending on whether it is running on a Linux or Windows ... (KB0755179)
Knowledge Base Article Pros and cons of hosting multiple MID servers on the same single physical machine (KB0713674)
Knowledge Base Article MID Server support on 32 bit systems will end in September 2021 (KB0863694)
Knowledge Base Article Best practice on setting up your MID Server (KB0535145)
Knowledge Base Article Finding the IP information for your instance (KB0538621)
Knowledge Base Article Would Custom URLs cause problems for MID Servers? (KB0781923)
Knowledge Base Article Which Java versions are supported and compatible with MID Servers (OpenJDK/Oracle JRE) (KB0719830)
Knowledge Base Article Permissions required for MID Server on Linux Host (KB0682426)
Knowledge Base Article Requirments for Nmap installation on MID Servers (KB0997645 🔒)
Knowledge Base Article Accessing Regulated Market specific Install servers for MID Server download, MID Server Upgrade and ... (KB0995546 🔒)
Knowledge Base Article How the ECC Queue works - from output ready, to input processed (KB0855595)
Knowledge Base Article MID Server Prerequisites - Connections to allow list for the MID Server (KB0830014)
Knowledge Base Article How to link an ECC Queue record back to a specific Feature or Job (KB0727132)
Knowledge Base Article AMB (Asynchronous Message Bus) - an Architectural Overview (KB0622691)
Knowledge Base Article Using special characters in an MID Server config.xml file (KB0539838)

(De-)Installation

 

Documentation Install a MID Server on Windows
Video How to setup MID Server on Windows Server in ServiceNow
Video How to uninstall a MID Server in ServiceNow
Video How To - Deploy a containerized a MidServer in Kubernetes
Video MID Server on a Docker Container
Video ServiceNow MID Server on Windows Server 2022
Video ServiceNow Discovery - MID Server Installation 
Community Article Best practices for MID Server setup and tuning
Community Article Deploying a containerized MID server in a Kubernetes cluster
Community Article Automatic Deployment and Configuration of Containerized MID Servers
find_real_file.png Configure Containerized Mid Server on Linux (MAC)
Knowledge Base Article Paris MID Server installation steps with screenshots (KB0859350)
Knowledge Base Article Quebec - MID Server Installation (With Mutual Authentication) (KB0958683 🔒)
Knowledge Base Article Windows MID Server silent installation and uninstallation (KB0854442 🔒)
Knowledge Base Article How to Move the MID Server installation folder on a Windows host (KB0722880)
Knowledge Base Article How to debug and resolve the "MID Server with a duplicate name or sys_id was prevented from connecti... (KB0743043)
Knowledge Base Article How to move an existing MID Server installation between host servers (KB0623688)
Knowledge Base Article Running multiple MID server Services/Daemons on a single Linux Server (KB0856311)
Knowledge Base Article Install Java 11 on MID servers (KB0752451)
Knowledge Base Article Create a Windows service account with "Log on as Service" (KB0867669)
Bug _ Problem Resolving "Unable to verify Nmap installed version" errors (KB0694618)
Bug _ Problem MID Server is not installing properly. Found error "MethodInvocationNotSupportedInConstrainedLanguag... (KB0858410)
Bug _ Problem MID Server start.bat will create a "snc_mid" Windows Service without checking that the installer has... (KB0792539)
Bug _ Problem MID Server failed to start when it was installed as a daemon under Ubuntu 20.04/ systemd (KB0870356)
Bug _ Problem Unable to see a new installed MID Server in services.msc or need to uninstall a MID Server (KB0957396)
Bug _ Problem MID Server Service does not get Installed without proper privileges (KB0955652)
Bug _ Problem MID Server ZIP installer issues when using XML Special Characters in the Password (KB0721955)
Bug _ Problem Unable to install the ServiceNow MID Server_XXXX - The filename, directory name, or volume label syn... (KB0830107)
Bug _ Problem An error was discovered processing the WS-Security header during MID Server Installation (KB0826978)
Bug _ Problem MID Server Installer (ZIP) log shows "access restricted" for instance details values, and fails to a... (KB0863750)
Bug _ Problem MID Server Installation does not create a record in the Instance (KB0818949)
Bug _ Problem MID Server "Validated" field keeps stuck in a "Validating" state (KB0696701)
Bug _ Problem MID server fails to validate after copying the MID server directory from old to new host (KB0639100)
Bug _ Problem Problem with MID Server Installation - start.bat ending before launching the service (KB0960929)

Configuration

 

Documentation MID Server Properties
Documentation MID Server Parameters
Community Article MID Server & Windows File Permissions
Knowledge Base Article MID Server max thread count should be increased (KB0997594)
Knowledge Base Article How to change MID Server user (KB0752979)
Knowledge Base Article MID Servers and Workers Nodes (KB0815860 🔒)
Knowledge Base Article How to move the MID server to another node (KB0679345)
Knowledge Base Article Should MID Server wrapper.conf file be edited? (KB0869393)
Knowledge Base Article How to change the TEMP folder used for MID Server (KB0747569)
Knowledge Base Article How to configure MID Servers in a Domain Separated instance (KB0683907 🔒)
Knowledge Base Article How to extend the max length for a field in ecc_queue table (KB0759217)
Knowledge Base Article How to make MID Server use a proxy for all traffic (KB0744474)
Knowledge Base Article How to rename a Windows MID Server Service (KB0696554)
Knowledge Base Article MID Servers and IP Address Access Control (KB0864024)
Knowledge Base Article How to adjust the interval of probe "MID Server XMLStats" (KB07482169)
Knowledge Base Article Settings for MID Servers which is part of MID Server Cluster for REST Message (KB0716571)
Bug _ Problem MID server ignores the escape sequence "\" and produces '\&amp' from '&' (KB0813903 🔒)

Selection

 

Documentation MID Server Selection
Community Article MID Server Selection
Community Article MID Selector Override Script
Knowledge Base Article Improving MID Server selection algorithm (KB0564479 🔒)
Knowledge Base Article CMP - MID Server selection customization for Cloud Operations (KB0749536)
Knowledge Base Article CMP - Configure CloudMidSelectionApi (KB0749543)
Knowledge Base Article CAPI MID server Selection process (KB0728371)
Knowledge Base Article How a mid server is selected for Orchestration activities (KB0693456)
Knowledge Base Article Default Orchestration Mid Server for workflow activity (KB0855168)
Knowledge Base Article MID Server Selection for Service Graph Connector for SolarWinds (KB0954602)
Knowledge Base Article IntegrationHub MID Server Selection - Specific MID Server explained (KB0996561)
Knowledge Base Article How To: Customize Cloud Discovery MID server selection (KB0829840)
Knowledge Base Article How to select different MID servers for different service accounts with Cloud Discovery (KB0961366)
Knowledge Base Article Event Management Connector - How does the mid server selection algorithm work? (KB0965202 🔒)
Knowledge Base Article Configure MID capability with Datacenter Value (VMWare Only) (KB0749550)
Knowledge Base Article MID Server selection for AD Orchestration activities with different Domain Controllers for different... (KB0785104)
Knowledge Base Article How to assign a MID server to a Flow in IntegrationHub (KB0871106)
Bug _ Problem 'ActionTest' action in Flow Designer is in 'in progress' state for a very long time (days) intermitt... (KB0870597)
Bug _ Problem AD orchestration activity in integration hub is picking wrong MID Server (KB0792429 🔒)
Bug _ Problem 'ActionTest' action in Flow Designer is in 'in progress' state for a very long time (days) intermitt... (KB0870597)

 

Common Troubleshooting


Troubleshooting Approaches

 

Documentation Resolving MID Server Issues
Documentation MID Server Heartbeat
Video Troubleshooting a MID Server
Community Article Flow Designer: MID Server Down Notifications using Integration HUB Teams Integration and Email Notif...
Knowledge Base Article MID Server Down | A guide on how to restore the MID Server (KB0535040)
Knowledge Base Article Use the MID Server to Run Basic Network Troubleshooting (KB0869695)
Knowledge Base Article MID Server Down troubleshooting (KB0661756)
Knowledge Base Article Troubleshooting a MID Server that is down or not responding (KB0535180)
Knowledge Base Article MID Servers should not remain in Down status (KB0997592)

Debugging & Monitoring

 

Knowledge Base Article How to add MID Server to debug mode (KB1002812 🔒)
Knowledge Base Article Review the agent log for MID Server errors (KB0535148)
Knowledge Base Article How to grab older MID Server Agent logs, for when agent0.log.0 entries don't go back far enough (KB0685661)
Knowledge Base Article MID Server Logging: Controlling file sizes of wrapper.log and agent0.log (KB0719812 🔒)
Knowledge Base Article MID Server - How to get the MID Server thread Dump (from Instance OR from MID host itself) (KB0685859)
Knowledge Base Article How to collect the Thread dump for all MID servers via a script? (KB0691384 🔒)
Knowledge Base Article Get thread dump and heap dump for MID Server (KB0656229)
Knowledge Base Article How to change size and number of MID Server agent log files (KB0721366)
Knowledge Base Article How to automatically generate the heap dump from Mid when JVM runs out of memory? (KB0717248)
Knowledge Base Article How to analyse a MID Server Heap Dump, for High Memory usage (KB0746066)
Knowledge Base Article MID Server JVM Additional Debug Properties (KB0550006 🔒)
Knowledge Base Article How to remotely monitor per-process CPU and Memory usage of a MID Server host (KB0824725)
Knowledge Base Article Intercepting MID server traffic to an instance (KB0869456)
Knowledge Base Article How to enable SSL debug on the mid server to troubleshoot any issues with SSL connections? (KB0717261)
Knowledge Base Article Enable SSH Debug on a MID server (KB0727653)
Knowledge Base Article Tricks for Remote Debugging of a "Down" MID Server via the instance (KB0726443)
Knowledge Base Article How to Enable the 'Get MID Thread Dump' related link for the MID Server form (KB0688243 🔒)
Bug _ Problem MID Server agent log is not updated (KB0725019)
Bug _ Problem Huge ssh.log file on MID Server (KB0869513)

Common Issues

 

Knowledge Base Article Troubleshooting MID Server connectivity with the instance (KB0780900)
Knowledge Base Article Resolve local environment issues of the MID Server host (KB0597552)
Knowledge Base Article Confirm if your MID Server is in a failed state due to event processing (KB0535146)
Knowledge Base Article How to resolve communication issues between MID Server and the instance (KB0597538)
Knowledge Base Article How MID Server File Synchronisation works, to help when Troubleshooting (KB0852276)
Knowledge Base Article MID Servers and Clones (KB0786475)
Knowledge Base Article How to manually Clone a MID Server so that you don't have to reconfigure all integrations features t... (KB0719301)
Knowledge Base Article Why are my MID Server-related Jobs stuck and ECC Queue inputs still in Ready State? (KB0718589)
Knowledge Base Article How to verify the signatures and integrity of signed MID Server JAR files (KB0854231)
Knowledge Base Article How do you reset the MID Server query window? (KB0750375)
Knowledge Base Article MID Server log4j jar manual upgrade instructions (KB1001211)
Bug _ Problem MID Server DOWN due to false "expected service name" error, (1) if because of PowerShell issue the s... (KB0861098)
Bug _ Problem MID Server Credentials Overwritten by Clone (KB0695150)
Bug _ Problem "MID Server not operational (status: Down), possibly due to recent clone. Verify credentials for log... (KB0852854 🔒)
Bug _ Problem MID Server issue after clone and upgrade: "Unable to subscribe to AMB channel: /mid/server/<sys_id>" (KB0814684)
Bug _ Problem MID Server - AMBClient exception when instantiating a AMBClient error observed after Upgrade (KB1001572)
Bug _ Problem Unable to subscribe to AMB channel (KB0758501)
Bug _ Problem MID Server issue: Unable to subscribe to AMB channel: /mid/server/c10a30efdb3f7f0094ababf34a9619bf (KB0779124)
Bug _ Problem MID Server log is showing AMB channel connection is not successful with an Illegal character error (KB0818529)
Bug _ Problem MID Server Stop or Restart takes over 2 minutes longer due to a JMX thread remaining running - "Shut... (KB0754285)
Bug _ Problem MID Server DOWN due to false "expected service name" error, if the checking script has a PSReadLine/... (KB0861829)
Bug _ Problem MID Server restarts frequently (KB0749034)
Bug _ Problem MID Servers stuck in validating state (KB0727757)
Bug _ Problem MID Server - Shutdown failed: Timed out waiting for signal from JVM (KB0752255)
Bug _ Problem MID Server does not update JVM memory size (KB0695899)
Bug _ Problem Memory dump files with extension .mdmp created cause low disk space issues on MID Server host (KB0784202)
Bug _ Problem Setting the JVM memory in the wrapper-override.conf file causes the MID server to fail (KB0635200)
Bug _ Problem MID Server won't start after new installation, password change or other config.xml edit because of S... (KB0539821)
Bug _ Problem MID Server does not process any ECC Queue output records (KB0783516 🔒)
Bug _ Problem Unable to find two services for two mid servers (KB0821635)
Bug _ Problem Error processing payload using SAX parser: Premature end of file error (KB0826491)
Bug _ Problem MID Server installation not creating associated Windows Service (KB0815813)
Bug _ Problem With MSI Windows Installer for MID Server, the "Log on as Service" rights check can fail with users ... (KB0855251)
Bug _ Problem MID Server MSI installer fails to check if any groups the user is a member of have the Logon as serv... (KB0961253)
Bug _ Problem MID Server Issue: "A MID Server with a duplicate name of sys_id was prevented from connecting. Insta... (KB0726915)
Bug _ Problem MID Server Down - Error "Timed out waiting for wrapperServiceMain" seen in wrapper log (KB0960084)
Bug _ Problem New MID Server service on linux fails to start if another MID server is already installed on the sam... (KB0822716)
Bug _ Problem MID Server startup failed with error 1053: The Service did not Respond to the Start or Control Reque... (KB0957134)
Bug _ Problem MID Server error: Field(s) present in the query do not have permission to be read com.glide.processo... (KB0868537)
Bug _ Problem MID server error "Error 2 'System cannot find the file specified'" (KB0871104)
Bug _ Problem MID Server having special characters in name will cause issues ensure proper formatting for the MID ... (KB0952302)
Bug _ Problem MID Server error: "An unexpected error occurred: Permission denied Move-Item : Access to the path is... (KB0815958)
Bug _ Problem "Validate" UI action doesn't do anything (KB0753038)
Bug _ Problem MID Server running but displaying the error "MID Server not operational (status: Down), possibly due... (KB0831254)
Bug _ Problem mid_server.down events are generated even if the mid server is not actually down (KB0869471)
Bug _ Problem Windows Could not start MID Server Service (KB0818950)
Bug _ Problem MID Server error: An unexpected error occurred: The term 'XXX' is not recognized as the name of a cm... (KB0860914)
Bug _ Problem [MID with Proxy] MID Server service might be started but its still shown as DOWN in instance (KB0852362)
Bug _ Problem Mid Server service restarts frequently due to "mdmp" files accumulating the MID installation folder (KB0753178)
Bug _ Problem MID Server startup fails after configuring CyberARk parameter mid.secure_config.provider (KB0793328)
Bug _ Problem The MID Server service will be stopping frequently and thus the MID Server goes down (KB0722374 🔒)
Bug _ Problem DMZ MID Server unable to scan itself (KB0995224)
Bug _ Problem MID Server Property mid.sa.prefer_powershell cannot be set to specific MID Servers (KB0860303)
Bug _ Problem Instance URL is not accessible from MID Server host (KB0747617)
Bug _ Problem MID Server error "Too Many Requests with code: 429" (KB0635398)
Bug _ Problem MID Server startup fails when Cortex XDR service is running on MID server host (KB0961416)
Bug _ Problem Mid Server requests stuck in processing in ECC Queue (KB0962277)
Bug _ Problem MID Server Down with NoClassDefFoundError: org/apache/logging/log4j/... error (KB1001341 🔒)
Bug _ Problem "NoSuchMethodError" after applying Log4j fix to MID Server lib files (KB1002911 🔒)
Bug _ Problem MID Server shows DOWN after starting up or restarting due to SOAP Errors (KB0725881 🔒)
Bug _ Problem MID Server - ECCQueueMonitor.40 SEVERE *** ERROR *** Exception during SOAPStreamReader initializatio... (KB0724342)
Bug _ Problem MID Server Service Startup Error "redirect count exceeded or request did not finish within 60 second... (KB0962403)
Bug _ Problem MID Server Extension Contexts record is corrupt (KB1001633)
Bug _ Problem 16 megabytes Limit in sending attachments throught the MID server (KB0815402)

Java/JRE Issues

 

Knowledge Base Article Checking the Java JRE Version (KB0621008)
Knowledge Base Article Upgrading Java version for MID Servers installed with Java 8 (KB0817730 🔒)
Knowledge Base Article How To Check MID Server JVM Version From Instance (KB1001243 🔒)
Knowledge Base Article Configure the MID Server to use a different Java Runtime Environment (JRE) (KB0778272 🔒)
Bug _ Problem MID Server throws fatal error EXCEPTION_ACCESS_VIOLATION and goes Down when using Java 8 Update 261 ... (KB0853593)
Bug _ Problem MID Server running Oracle JRE version 8 release 231 can't start some applications - Discovery Powers... (KB0784442)
Bug _ Problem Quebec/Java 11 MID Server uses a lot more CPU for Garbage Collection than Paris/Java 8 - JVM 11 defa... (KB0954306)
Bug _ Problem Linux MID Server startup error failed to resolve the version of Java (KB0954584)
Bug _ Problem Java 11 upgrade unsuccessful for Event Management mid servers (KB0792510)
Bug _ Problem MID Servers using an external Oracle JDK11 or JRE11 runtime cannot be started in FIPS-enforced mode (KB0999875 🔒)

File Exports / Imports

 

Knowledge Base Article Can a JAR file be pushed to a specific MID Server instead of all MID Servers? (KB0813383)
Knowledge Base Article How to import a CSV file from a MID Server (KB0817437 🔒)
Bug _ Problem Export Set are not placing the Files in the Expected Mid Server (KB0860033)
Bug _ Problem MID Server Down on Scheduled Export Set Jobs (KB0790988)
Bug _ Problem Export set "Scheduled Data Exports" intermittent 'Completed with errors' (KB0727047)

Performance, Resource Utilization & Virus Scanners

 

Community Article Virus Scanners And MID Server Performance
Knowledge Base Article MID Server high CPU consumption (KB0694670)
Knowledge Base Article High CPU Usage on Host with MID Server(s) (KB0597639)
Knowledge Base Article How to gauge the performance of deployed MID Servers (KB0538157)
Knowledge Base Article Discovery MID Servers at 100% CPU - Good or Bad, Why and then what? (KB0952290)
Knowledge Base Article Allow Powershell scripts to pass through antivirus (KB0960642)
Knowledge Base Article MID Server Max Threads, Worker Groups , Priority and Queues (KB0743566)
Bug _ Problem Upgrade fails leaving MID Server DOWN, due to antivirus/security software flagging InjectorService.e... (KB0861733)
Bug _ Problem MID Server down after attempted upgrade, due to file locks caused by Dell SecureWorks Red Cloak anti... (KB0858554)
Bug _ Problem MID Server upgrade fails leaving MID Server Down, due to Cisco AMP antivirus preventing the upgrade ... (KB0827747)
Bug _ Problem Some Anti-viruses are blocking MID Server Upgrade (KB0870329)
Bug _ Problem MID Server records on instance responding VERY Slowly to UP and DOWN state of MID Server Service, VA... (KB0862483)
Bug _ Problem Instance Up/Down Alert Caused by Change in System property (KB0760348 🔒)
Bug _ Problem Request body exceeded max allowed content length (KB0827750 🔒)
Bug _ Problem MID Server wrapper logs contain INFO message "Wrapper Process has not received any CPU time. Extendi... (KB0958495)
Bug _ Problem MID Server run into OutOfMemory error when importing data from JDBC Datasource (KB0696914)
Bug _ Problem MID server can fail to start, throwing an Out-of-Memory error, if there are a large number of XML fi... (KB0718001)
Bug _ Problem The default/recommended MID Server CPU alert/mid server issue threshold is unrealistic for a MID Ser... (KB0953202)
Bug _ Problem Concurrency performance: JVM locks on OCSPCheckedCertificateCache are not released leading to import... (KB0864187)
Bug _ Problem java.nio.BufferOverflowException with syslog probe transactions on midserver (KB0864288)
Bug _ Problem JDBC/LDAP Data Source Imports can use a lot of MID Server Disk space (KB0813378)

 

Updating/-Upgrading


Common

 

Community Article MID Server upgrades
Knowledge Base Article MID Servers should be updated to match instance (KB0997593)
Knowledge Base Article Controlling mid server version and mid server upgrades (KB0714102)
Knowledge Base Article Troubleshoot MID Server upgrade issues (KB0596459)
Knowledge Base Article How does a MID Server know what version it is running? (KB0812239)
Knowledge Base Article MID Server upgrade process - What actually happens when a MID Server upgrades itself? (KB0696937)
Knowledge Base Article How to manually restore a MID Server after a failed upgrade (KB0713557)
Knowledge Base Article How to minimise the impact of the MID Servers momentarily going down while upgrading (KB0722838)
Knowledge Base Article Trouble shooting and collect information when MID Server goes Down after Upgrade (KB0870940)
Knowledge Base Article MID Server pre-upgrade test warnings for Windows logged on users (KB0621830)
Bug _ Problem MID Server upgrade error "java.lang.IllegalStateException: Filesystem permissions are incorrect" in ... (KB0782327)
Bug _ Problem Unable to upgrade the MID Server for Quebec, Unable to load key store, MID server will not able to f... (KB0959666)
Bug _ Problem MID Server upgrade error "Platform Distribution Upgrade service is not installed" (KB0696829)
Bug _ Problem Mid server name having a special character "&" causing issues when Mid server upgrades (KB0869111)
Bug _ Problem In Quebec: MID Server upgrade stops if PowerShell tests in Pre-upgrade check failed, PowerConsole re... (KB0959468)
Bug _ Problem MID Server pre-upgrade check can be blocked for days while running the Powershell test, delaying upg... (KB0781701)
Bug _ Problem MID Server pre-upgrade check fails with PSReadLine/PSConsoleReadLine/WinIOError error (KB0861832)
Bug _ Problem Mid Server entry missing after the Quebec Upgrade (KB0996682)
find_real_file.png How to recover a MID server after a failed upgrade 

Manual

 

Knowledge Base Article How to stop the MID Server from auto upgrading (KB0860948)
Knowledge Base Article How to upgrade a MID Server that does not have access to the AutoUpgrade install server on the Inter... (KB0565184)
Bug _ Problem MID Server Manual upgrade failing and corrupting the installation files (KB0952639)
Bug _ Problem Manual MID server upgrade issue due to NTLM authentication (KB0743614 🔒)

Automatic

 

Knowledge Base Article MID Server Auto Upgrade - Requirements for local System Admin permissions explained (KB0693327)
Knowledge Base Article How to continue a MID Server upgrade after it has crashed in the middle of the ServiceNow Platform D... (KB0779816)
Knowledge Base Article Finding which process has locked a file during a MID Server auto-upgrade using Windows Resource Moni... (KB0779852)
Knowledge Base Article How to add Exclusion set for the MID Server in Cisco AMP to prevent MID Server upgrade fail (KB0867749)
Knowledge Base Article MID Server Upgrade File Signature Verification (KB0962479)
Knowledge Base Article How to stop MID from Auto Upgrading (KB0552743 🔒)
Bug _ Problem MID server failing pre-upgrade checks (KB0851963)
Bug _ Problem MID Server auto-upgrade will fail if Windows has 'Application Experience' disabled (KB0715612)
Bug _ Problem MID server auto-upgrade fails while copying files from temp to agent folder on Windows even with ''A... (KB0715244)
Bug _ Problem MID Server Down after auto-Upgrade service 10 minute file lock timeout: SEVERE: java.io.IOException:... (KB0784943)
Bug _ Problem MID server upgrade fails with the error "The ServiceNow Platform Distribution Upgrade service was la... (KB0782134)
Bug _ Problem MID Servers repeatedly Upgrade and Downgrade between current and previous instance version (KB0697389)
Bug _ Problem While MID server is being upgraded, ThreadPoolExecutor's pause() throws a NPE exception if the worke... (KB0827581)
Bug _ Problem MID Server fails to upgrade from a Signed ZIP file version to a Non-Signed version, because instance... (KB0827961 🔒)
Bug _ Problem MID Server pre-upgrade checks fails to see that Application Experience is not running on Windows Ser... (KB0858647)
Bug _ Problem Numerous running or hung threads cause auto upgrade not to restart the MID Server successfully (KB0635920)
Bug _ Problem MID Server Upgrade log shows error for "The ServiceNow Platform Distribution Upgrade (xxx) service i... (KB0861153)
Bug _ Problem MID Upgrade does not support changing the temp directory of the JVM (antivirus/security blocking tem... (KB0861154)
Bug _ Problem A MID Server upgrade that includes a new JRE version will overwrite the cacerts file (KB0750004)
Bug _ Problem The MID Server Upgrade service doesn't properly detect if the MID Server has fully shut down, and so... (KB0858627)
Bug _ Problem MID Server service starts regardless of whether a failed Upgrade Service still remains, leading to d... (KB0792621)
Bug _ Problem Linux MID server auto-upgrade can fail even on Tanuki wrapper version 3.5.36 if MID service is not r... (KB0821436)
Bug _ Problem MID Server Auto Upgrade hanging issues (KB0813730)
Bug _ Problem MID Server Connectivity/Validation Issues in Paris (KB0863145)
Bug _ Problem MID Server connection failures when upgrading to Quebec (KB0864766)
Bug _ Problem Mid Server Does Not Start Up automatically after an upgrade and throws errors in the wrapper file "S... (KB0748297)
Bug _ Problem MID Server Heartbeat is paused during Instance upgrades: A MID Server going down during an instance ... (KB0794040)
Bug _ Problem MID Server fails to auto upgrade and to restart with agent log error "wrapper-windows-x86-64.exe can... (KB0817475)
Bug _ Problem SEVERE *** ERROR *** (34180) FileDBProviderImpl - Failed to clean the DB Cached files during MID Ser... (KB0870937)
Bug _ Problem Troubleshooting "[File] cannot be deleted" errors in Wrapper log when attempting to AutoUpgrade MID ... (KB0743708)
Bug _ Problem MID server upgrade on Japanese Windows server fails leaving it DOWN with: Wrapper.stop() failed to s... (KB0962099)
Bug _ Problem MID server fails to start when trying to upgrade (KB0724550)
Bug _ Problem Linux MID Server doesn't restart after upgrade - Failed to start mid.service: Interactive authentica... (KB0997225 🔒)
Bug _ Problem MID Server not starting after failed auto-upgrade - Failed to clean the DB Cached files during MID s... (KB0998648)
Bug _ Problem Unix/Linux MID Server autoupgrade fails with error "/bin/sh: bin/glide-dist-upgrade.sh: Permission d... (KB0690910)
Bug _ Problem MID Server upgrade error "An active MID Server with a duplicate name detected" in agent logs (KB0782337)
Bug _ Problem [GCC] MID Server Auto Upgrade fails with "unable to download updates from install server" (KB0823230 🔒)

 

Authentication / Password

 

Knowledge Base Article Determine if you have the correct credentials on the MID Server (KB0535149)
Knowledge Base Article How to resolve MID Server user credential issues (KB0597570)
Knowledge Base Article Troubleshooting MID Server user authentication issues (KB0597574)
Knowledge Base Article How to Update a MID Server password (KB0746702)
Knowledge Base Article MID Server password reset | Using SNC User Lockout Check (KB0549733 🔒)
Knowledge Base Article Is it sensible to use an LDAP user for the MID Server, and can a MID Server's password be updated fr... (KB0746247)
Knowledge Base Article MID server connection to Instance via OAuth is not possible (KB0724149 🔒)
Community Article MID Server web services key-based authentication
Community Article ITOM and HashiCorp Vault - Improve credentials' security
Community Article Outbound REST/SOAP with mTLS from Mid Server
Bug _ Problem File permissions enforcement removes permissions of the windows service's log on as user, when compu... (KB0858646)
Bug _ Problem Installing Mid server and getting BadPaddingException error (KB0965142)
Bug _ Problem MID Server cannot connect to instance due to authentication issue (KB0696916)
Bug _ Problem MID Server Down - StartupSequencer SEVERE *** ERROR - Could Not Authenticate User (KB0726937)
Bug _ Problem 'Test Credential' return error "JSONObject text must begin with '{' at character 1" (KB0693863)
Bug _ Problem 'Test Credential' fails when using Windows Credentials against the MID server localhost (KB0676313)
Bug _ Problem MID Server Service Starts but MID Server Status shows as Down - Unable to unsecure parameter mid.ins... (KB0745202)
Bug _ Problem MID Server Agent Log Credential Errors - Twilio Direct Auto Generated Discovery Credential (KB0955924 🔒)
Bug _ Problem The service did not start due to a logon failure - MID Server Service (KB0759397 🔒)
Bug _ Problem Debugging "Failed to retrieve credentials and affinities" errors in the MID Server, and GetMIDInfo/g... (KB1001129)

 

Security / Certificates / Encryption

 

Documentation Securing and encrypting MID Server data
Documentation Certificates
Knowledge Base Article MID server OCSP requirement details (KB0854165)
Knowledge Base Article MID Servers and Certificates (KB0863673)
Knowledge Base Article Signed certificates created for integrations need to be signed on your own owned domain (KB0656516)
Knowledge Base Article MID Server and Credentials Encryption (KB0679355)
Knowledge Base Article MID Server and Credentials Encryption/Decryption - Symmetrical Keys 3DES questions (KB0862631 🔒)
Knowledge Base Article Troubleshooting MID server SSL issues (KB0744261)
Knowledge Base Article Enable SSH Debug on a MID server (KB0727653)
Knowledge Base Article How to enable SSL debug on the mid server to troubleshoot any issues with SSL connections? (KB0717261)
Knowledge Base Article MID Server support for AES 256 encryption (KB0594703 🔒)
Knowledge Base Article MID Server TLS/SSL certificate check policy Quebec upgrade information (KB0867397)
Knowledge Base Article MID Servers and IP Address Access Control (KB0864024)
Knowledge Base Article CyberArk - Use in MID Server Configration "config.xml" (KB0822235)
Knowledge Base Article Truststore Migration for MID Server (KB0960937)
Knowledge Base Article Unified Keystore for MID Server (KB0960912)
Knowledge Base Article TLS Security Policy for the MID Server (KB0960950)
Knowledge Base Article How to check if your MID Server and integrations are compliant with the TLS 1.2 requirement as per t... (KB1064710 🔒)
Knowledge Base Article How to obtain SSL certificate from the browser (KB0816002)
Bug _ Problem HTTP(s) Connection run through MID server fails with "Mutual authentication is not supported through... (KB0789257)
Bug _ Problem MID Server can fail to install or upgrade to Orlando due to new external connectivity requirement to... (KB0813636)
Bug _ Problem Required list of IP address for ocsp.entrust.net for firewall team to inclusion list the ocsp.entrus... (KB0955014)
Bug _ Problem The fix for PRB1320637 requires that the cacerts Truststore file password remains as the default "ch... (KB0869024)
Bug _ Problem MID Server shows certificate chain errors with self-signed cert (KB0864241 🔒)
Bug _ Problem MID Server cannot connect to ServiceNow instance, error in agent log: org.apache.commons.httpclient.... (KB0863109)
Bug _ Problem MID Server won't start due to Root Certificate requirements - wrapper error "The digital signature o... (KB0727033)
Bug _ Problem Enabling SNC SSH to support newer and more secure cipher algorthms for the Discovery process (i.e AE... (KB0748632)
Bug _ Problem After Upgrade to Orlando, MID Server fails to connect to Instance with "last block incomplete in dec... (KB0826461)
Bug _ Problem MID Servers Web Server Extension set to use a Certificate, may fail to start after upgrade to Paris ... (KB0863685)
Bug _ Problem Unable to find valid certification path to requested target - clone unable to start (KB0521761)
Bug _ Problem MID Server upgrades could reset the Java properties and certificates installed on cacerts (KB0687792)
Bug _ Problem MID Server certificate check security policies for self-hosted customers (org.apache.commons.httpcli... (KB0864770)
Bug _ Problem MID Server configured to use Edge Proxy fails to start if forward proxy is also configured (KB0789958)
Bug _ Problem Post Upgrade Mid-Servers have errors related to MID Server encryption and decrypting file informatio... (KB0866897)
Bug _ Problem MID Server security property for self signed certificates is not honoured (KB0860316)
Bug _ Problem "No issuer certificate for certificate in certification path found" error observed on the MID logs (KB0869985)
Bug _ Problem MID Server OCSP timeouts not throwing exceptions causing connection to instance to stay forever (KB0957343)
Bug _ Problem MID Server TrustStore migrator will not migrate certificates flagged as CA-issued (KB0961891)
Bug _ Problem Changing password of cacerts file prior to JRE upgrade causes error: Failed to load the jvm key stor... (KB0961892)
Bug _ Problem SSH authentication failing post Quebec upgrade (KB0960635)
Bug _ Problem Cyberark integration fails with unauthorized errors. (KB0870533)
Bug _ Problem Runtime NULL exception thrown for testing external store credentials. (KB0951914)
Bug _ Problem MID Server: No certificates identified for TrustStore migration (KB0957809)
Bug _ Problem While importing MID Server reported error: java.lang.NullPointerException (KB0998955 🔒)
Bug _ Problem MID Server issues for mTLS (mutual authentication/certificate-based authentication) (KB1048088)

 

PowerShell / Integrations / ITOM


PowerShell / Orchestration

 

Documentation PowerShell for Discovery and Service Mapping
Video Execute PowerShell Scripts in Service Now
Knowledge Base Article Windows MID Server PowerShell requirements (KB0793999)
Knowledge Base Article Calling PowerShell script on MID server (KB0858504)
Knowledge Base Article MID Server: troubleshooting WMI/Powershell issues - Credentials (KB0549834)
Knowledge Base Article How to run a Batch File on a MID Server, using a MID Server Script File and 'Command' Topic ECC Queu... (KB0754843)
Knowledge Base Article How to Enable/Test PowerShell Remoting on Windows Host (KB0813330)
Knowledge Base Article How to isloate updates made to Active Directory users by AD Spoke via MID server (KB0792646 🔒)
Knowledge Base Article How to run a Batch File on a MID Server, using a MID Server Script File and 'Command' Topic ECC Queu... (KB0754843)
Knowledge Base Article What is the protocol used by Powershell based connection for MID based integration? (KB1095919)
Bug _ Problem MID Server Startup/Upgrade and Discovery/Orchestration Probes fail due to Microsoft Powershell PSRea... (KB0827229 🔒)
Bug _ Problem MID Server PowerShell Initialization Issue with error message [Error encountered when invoking Power... (KB0750324 🔒)
Bug _ Problem Selected MID Server must have Powershell v2.0 or higher (KB0743830)
Bug _ Problem MID Server Issue PowershellIntialization (KB0862818 🔒)
Bug _ Problem Powershell MID Server Script Files used by Orchestration Activity Packs are not signed, which is a r... (KB0752093)
Bug _ Problem Orchestration Password Reset workflow error "Authentication failure with the local MID server servic... (KB0727815 🔒)
Bug _ Problem MID Server Credential test failing (KB0783149)
Bug _ Problem The MID Server WinRMAPI PowerShell Module update to the PSModulePath system variable is failing (KB0831959)
Bug _ Problem Resolving "Unable to kill PowerShell" errors in Windows MID Servers (KB0693311)
Bug _ Problem Stuck PowerShell processes on the MID server host (KB0956823)
Bug _ Problem Powershell v2.0 or Higher Not Found on This System (KB0635363)
Bug _ Problem Powershell custom activity script is executing on MID server instead target server (KB0753188 🔒)
Bug _ Problem ECCResponseTimeoutException while processing SOAP/JDBC requests through Orchestration (KB0696865)
Bug _ Problem Troubleshooting Power-shell Orchestration Workflow not working with new MID Server (KB0748533)

Integrations: JDBC/Databases

 

Documentation Create a JDBC Connection
Knowledge Base Article Troubleshooting JDBC connectivity and login to Microsoft SQL Server issues including SCCM Databases ... (KB0748820)
Bug _ Problem JDBC Data Source integration fails for clustered MID Server configuration (KB0789910)
Bug _ Problem Unable to use Windows Integrated Authentication to access MS SQL Server from MID Server (KB0717141)
Bug _ Problem MID Server stops logging agent logs when an unsupported JDBC type data source is used (KB0829135)
Bug _ Problem The jar files for Oracle/MSSQL/MySQL JDBC drivers on MID Servers are in the lib folder, not the JAR ... (KB0862383)
Bug _ Problem JDBC Data Source execution fails with "Did not get a response from the MID server" (KB0858700)
Bug _ Problem Script include that calls JDBCProbe fails with java.lang.NullPointerException (KB0565304)
Bug _ Problem Data Source Test Load 20 Records Fails with Did Not Get a Response From the MID Server error (KB0725213)
Bug _ Problem When trying to connect MID Server to SCCM data sources, getting error as "Did not get a response fro... (KB0869475)
Bug _ Problem Using MID Server clusters for JDBC data sources can cause duplicate and out-of-date data (KB0727739)

Integrations: LDAP

 

Documentation LDAP integration via MID Server
Community Article Mid Server Configuration to use LDAPS / Singing to meet upcoming LDAP channel binding and LDAP signi...
Knowledge Base Article How to setup LDAPS using a Mid server (KB0855148 🔒)
Knowledge Base Article Connecting Active Directory via LDAPS through MID Server (KB0825425)
Bug _ Problem LDAP "Test Connection" and "Browse" features can timeout, and LDAP Monitor may show Connection Statu... (KB0743756)
Bug _ Problem Fields are truncated at 40 chars on initial LDAP load via MID Server (KB0722422)
Bug _ Problem Issue with LDAPS Connection via MID since Quebec EA Upgrade (KB0954447)
Bug _ Problem LDAPS with MID server failed with Error "PKIX path building failed: java.security.cert.CertPathBuild... (KB0825530)
Bug _ Problem MID Server status in instance changes to DOWN after BR "Discovery - Update device started count" att... (KB0958791 🔒)
Bug _ Problem MID server not able to connect when configured with a user with LDAP Authentication (KB0723086)
Bug _ Problem LDAP via MID is failing after 55 S (KB0967297)
Bug _ Problem LDAP Integration Using a Mid Server Intermittently Fails With Error: Did not get a response from the... (KB0743763)

Integrations: miscellaneous

 

Documentation Configure the MID Web Server extension
Knowledge Base Article Signed certificates created for integrations need to be signed on your own owned domain (KB0656516)
Knowledge Base Article Handling special characters via the MID Server (KB0621052 🔒)
Knowledge Base Article Flow Designer MID Server Action Step (KB0861764)
Knowledge Base Article SSH Privileged Commands (KB0958296)
Knowledge Base Article Why do my integrations via MID Servers sometimes take up to 40 seconds longer to run, or timeout? (KB0695359)
Bug _ Problem Resolving MID Server failure for HLA data input (KB0952919 🔒)
Bug _ Problem REST Message via MID Server - Unable to decrypt parameter: rest_password, causes 401 - Invalid usern... (KB0778973)
Bug _ Problem Error on REST/SOAP Outbound Message through MID Server - No response after waiting 30 seconds in ECC... (KB0744311)
Bug _ Problem HTTP 500 Response and 'Unable to parse SOAP document' Causes MID Server Issues from Past Failed SOAP... (KB0866487)
Bug _ Problem Failed transfer plan context to new MID because all MIDs capable of running plan are down (KB0815450)
Bug _ Problem Link to Source Control over MID server: Operation encountered an unexpected error due to the 'bundle... (KB0855846)
Bug _ Problem Unexpected error when Linking to or Importing from Source Control via a MID server (KB0827801)
Bug _ Problem IntegrationHub: Unable to resolve IP Address for the host name: xyz.domain.com at com.snc.mid.util.m... (KB0746235)
Bug _ Problem Test SAP Connections and Versions failing with an "Couldn't find a valid mid server" (KB0868328)
Bug _ Problem Outbound SOAP request times out at 175 seconds when going through a Mid Server (KB0547347)
Bug _ Problem *** ERROR *** Unable to find any validated MID Server based on status (up), and application: ALL (KB0955194)
Bug _ Problem Getting intermittent 401 Errors using a custom Action in Flow Designer using a REST Step with OAuth ... (KB1113456 🔒)
Bug _ Problem Timeout defined in Connection Alias is ignored when making an outbound REST call using MID Server (KB1064618 🔒)
find_real_file.png Advanced MID Server Series (Part 1, Part 2, Part 3, Part 4)

Discovery & Service Mapping

 

find_real_file.png MID Server Discovery Estimator
Knowledge Base Article Windows Discovery Requirement Changes over recent Years for MID Server Host and Target Servers (KB0826648 🔒)
Knowledge Base Article SNMP troubleshooting (KB0696727)
Knowledge Base Article Credentials/Permissions troubleshooting on Discovery, Service Mapping, Orchestration (KB0657528)
Knowledge Base Article WMI Collector deprecation details (KB0791835)
Knowledge Base Article MID Server properties used by Discovery & Service Mapping (KB0597685)
Knowledge Base Article View patterns running on the MID Server (KB0687685)
Knowledge Base Article Enable Discovery Audit Logs (KB0960946)
Knowledge Base Article Can a Linux MID Server discover a Windows host? (KB0961239)
Knowledge Base Article How to synchronize a discovery pattern with MID server after pattern modifications
Knowledge Base Article How discovery triggered from vCenter Event Collector selects a MID server (KB0995400)
Knowledge Base Article How to synchronize a discovery pattern with MID server after pattern modifications (KB0745146)
Knowledge Base Article Purpose of C:\temp\httpupload.vbs running on MID servers (KB0723031)
Bug _ Problem Orlando Release MID WMI error: SEVERE *** ERROR *** (111)WmiCollectorServiceStarter - Failed to read... (KB0822483)
Bug _ Problem Unable to synchronize MIB files to MID server (KB0713213)
Bug _ Problem Discovery APIProxyProbe stuck in ready state for specific MID Servers (KB0832581)
Bug _ Problem Error: "Could not decrypt file discovery whitelist after sync" (KB0727848)
Bug _ Problem A Discovery pattern fails and throws the following error: org.apache.commons.httpclient.HttpExceptio... (KB0864769)
Bug _ Problem Specific MID Server throws credential related issue if picked up for Service Mapping from MID Cluste... (KB0855813)
Bug _ Problem Verify all AWS certificates needed to establish a connection from the MID server to the AWS cloud se... (KB0787467)
Bug _ Problem Cannot connect, status is SSH_CONNECTION_FAILURE. Could not agree on key exchange algorithm (KB0829950)
Bug _ Problem MID Servers will continue to have threads blocked running discovery probes a long time after the sch... (KB0744476)
Bug _ Problem Windows discovery using WMI fails with - Error evaling C:\Users\dnsadmin\AppData\Local\Temp\Generate... (KB0814573)
Bug _ Problem Discovery Log Error on HTTP Classify Sensor "Sensor error when processing HTTP - Classify: ---------... (KB0957515)
Bug _ Problem Unable to Find a Proper MID Server when Discovering a Host with Quick Discovery (KB0720641)
Bug _ Problem How to disable messages "No mid found to trigger credential-less discovery for <<IP Address>>" in di... (KB0719810)
Bug _ Problem SEVERE *** ERROR *** Unknown credential type downloaded; MID server may not have access to credentia... (KB0866646)
Bug _ Problem [Paris upgrade]: WMI: Classify can fail, if "target_powershell_access" is false (KB0861621)
Bug _ Problem Windows discovery classifier ends up with "The term 'executeWindowsClassify' is not recognized as th... (KB0862904)
Bug _ Problem MID Server not a member of this cluster (KB0963137)
Bug _ Problem Windows Server Discovery fails (KB0724226)
Bug _ Problem Resolving a failure to find a MID Server for an IP address (KB0622808)
Bug _ Problem Failed test in debug mode with Automatic MID Server selection in Discovery pattern (KB1001566)
Bug _ Problem Discovery and SQL servers issue (KB0547052 🔒)
Bug _ Problem SNMP Classify times out inconsistently when using a MID server cluster (KB0859825)
Bug _ Problem Including a MID Server in multiple MID Server load-balancing clusters may cause Discovery authentica... (KB0635604)
Bug _ Problem Issue with discovering certain certificates via "11.0.12" JRE mid (KB1006178)
Bug _ Problem Unable to upload MIB file in "SNMP MIBs" (KB0716585)
Bug _ Problem Discovery Schedule stuck with Skipped sensor for Horizontal Pattern because of error in payload: Pay... (KB0854142)

Event Management

 

Knowledge Base Article MID Server Cluster for ITOM Event Management Connector Instances (KB0830864)

Agent Client Collector

 

Knowledge Base Article How are the Agent Client Collector record fields populated, and why might the CI field be empty? (KB0960514)
Bug _ Problem Event not generated from SNMPv3 Trap listener from MID Server (KB0852269)
Comments
Ricky S Larsson
Giga Guru

This is a great collection of troubleshooting resources! It's nice to have them all collected in one post. I have had so many issues with the auto-upgrading and with the amount of KB's written about it you can tell it's a common issue.

Maik Skoddow
Tera Patron
Tera Patron

Thank you for the feedback!

And it is just the beginning. Therefore subscribe the page to stay informed.

kumaraj
Tera Guru

Thanks Mike for useful sharing. appreciated your hard work.

-O-
Kilo Patron
Kilo Patron

A tip that might help others with self inflicted wounds: if the MID server cannot initialize AMB, check that the default rest API ACL is not excluding the login used by the server from accessing endpoints.

-O-
Kilo Patron
Kilo Patron

Perhaps you could add the article about how to run multiple instances on Linux, which was not possible in New York, maybe Orlando either?

Maik Skoddow
Tera Patron
Tera Patron

Hi János

do you have any resource to link? 

If not you maybe could writw a small article so I can link it here.

Maik

-O-
Kilo Patron
Kilo Patron

Unfortunately it is something that happened to me, no resource, no article. But I will try to write up something short; will ping you back if and when it is done 🙂

Maik Skoddow
Tera Patron
Tera Patron

Done 🙂

ArsalanChaudhry
Mega Guru

Thanks a lot for sharing, really helpful!

Version history
Last update:
‎03-01-2024 07:47 PM
Updated by:
Contributors