- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 01:21 PM
Team,
We have installed one MID server on a VM successfully, but for some reason we are not seeing the MID server record in the servicenow instance.
Can some one suggest what are the possible root causes for it?
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 02:47 PM
Yes if you cannot get to ServiceNow from the MID Server it cannot connect. The mid server needs access to ServiceNow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 01:40 PM
Sounds like it was not successful. Check the wrapper.override file and make sure it has the correct instance URL, mid server account username and password, etc. During the install there should have been a chance to test the connection. Did you do that and was it successful?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 02:09 PM
Yes
Installation was successful including test connection.
I don't know where is wrapper.override but here is the Wrapper.log file snap.
2022/03/10 16:06:01 | --> Wrapper Started as Service
2022/03/10 16:06:01 | Java Service Wrapper Standard Edition 64-bit 3.5.40
2022/03/10 16:06:01 | Copyright (C) 1999-2019 Tanuki Software, Ltd. All Rights Reserved.
2022/03/10 16:06:01 | http://wrapper.tanukisoftware.com
2022/03/10 16:06:01 | Licensed to ServiceNow, Inc. for MID
2022/03/10 16:06:01 |
2022/03/10 16:06:03 | Launching a JVM...
2022/03/10 16:06:11 | WrapperManager: Initializing...
2022/03/10 16:06:18 | Logger for 'glide' has not been configured by the container, configuring now:
2022/03/10 16:06:18 | Configuring log handler: java.util.logging.FileHandler
2022/03/10 16:06:18 | Setting useParentHandlers=false for Logger 'glide'
2022/03/10 16:06:18 | Overriding formatter to: com.glide.util.DefaultLogFormatter (for handler: java.util.logging.FileHandler)
2022/03/10 16:06:18 | FIPS Enforced Mode: false
2022/03/10 16:06:18 | JVM property java.security.egd: file:/dev/urandom
2022/03/10 16:06:27 | WARNING: An illegal reflective access operation has occurred
2022/03/10 16:06:27 | WARNING: Illegal reflective access by org.apache.ignite.internal.util.GridUnsafe$2 (file:/C:/Mid%20Server/ServiceNow%20MID%20Server%20Mid_Server_WPO_Test/agent/lib/ignite-core.jar) to field java.nio.Buffer.address
2022/03/10 16:06:27 | WARNING: Please consider reporting this to the maintainers of org.apache.ignite.internal.util.GridUnsafe$2
2022/03/10 16:06:27 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2022/03/10 16:06:27 | WARNING: All illegal access operations will be denied in a future release
2022/03/10 16:08:07 | FIPS Enforced Mode: false
2022/03/10 16:08:07 | JVM property java.security.egd: file:/dev/urandom
2022/03/10 16:10:08 | Shutdown failed: Timed out waiting for signal from JVM.
2022/03/10 16:10:09 | JVM did not exit on request, termination requested.
2022/03/10 16:10:09 | JVM exited after being requested to terminate.
2022/03/10 16:10:09 | <-- Wrapper Stopped
And here is snap from Agent.log
03/10/22 16:06:27 (792) MIDServer MIDCredentialsConfigProvider initialized with com.service_now.mid.creds.provider.standard.StandardCredentialsProvider
03/10/22 16:06:28 (214) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated
03/10/22 16:06:28 (214) MIDServer OCSPCheck adding BouncyCastle provider at -1
03/10/22 16:06:28 (214) MIDServer OCSPCheckedCertificateCache build with max capacity 32
03/10/22 16:06:28 (214) MIDServer OCSPRevokedCertificateCache build with max capacity 16
03/10/22 16:06:28 (214) MIDServer OCSPTimeoutErrorCache build with max capacity 16
03/10/22 16:06:28 (214) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
03/10/22 16:06:28 (214) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted)
03/10/22 16:06:28 (230) MIDServer WARNING *** WARNING *** MIDRemoteGlideRecord.query failed, retrying in 10 seconds
03/10/22 16:06:38 (340) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated
03/10/22 16:06:38 (340) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
03/10/22 16:06:38 (340) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted)
03/10/22 16:06:38 (340) MIDServer WARNING *** WARNING *** MIDRemoteGlideRecord.query failed, retrying in 15 seconds
03/10/22 16:06:53 (440) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated
03/10/22 16:06:53 (440) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
03/10/22 16:06:53 (440) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted)
03/10/22 16:06:53 (440) MIDServer WARNING *** WARNING *** MIDRemoteGlideRecord.query failed, retrying in 22 seconds
03/10/22 16:07:16 (011) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated
03/10/22 16:07:16 (011) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
03/10/22 16:07:16 (011) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 02:38 PM
Are you using a self signed certificate or getting pushed through a proxy server? Best way to tell is open ServiceNow via a browser on the server and then looking at the lock icon to see the cert. Make sure the cert chain just shows *.service-now.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 02:44 PM
Hi
We are not using proxy and not self signed certificate, but we can't go to the SNOW instance from MID due to security. What we did was install bits on local machine and then FTP to MID server box and then ran installation.
Could that be issue?
Thanks.