MID Server DOWN!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 07:50 AM
I am trying to configure the mid server, this is showing in DOWN in the ServiceNow dashboard status and when I check the logs, they are following -
01/31/22 16:40:22 (017) StartupSequencer WARNING *** WARNING *** OCSPCheck HTTP status: 470, error message: Method failed: (/) with code: 470
01/31/22 16:40:22 (017) StartupSequencer WARNING *** WARNING *** OCSP revoke check IOException for *.service-now.com
01/31/22 16:40:22 (017) StartupSequencer WARNING *** WARNING *** Request not sent to uri= https://***.service-now.com/InstanceInfo.do?SOAP : org.apache.commons.httpclient.HttpException: malformed response: unknown object in getInstance: org.bouncycastle.asn1.DLApplicationSpecific
01/31/22 16:40:22 (017) StartupSequencer SEVERE *** ERROR *** SOAP Request: <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.service-now.com/GetMIDInfo" xmlns:m="http://www.service-now.com" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:execute></m:execute></SOAP-ENV:Body></SOAP-ENV:Envelope>
01/31/22 16:40:22 (017) StartupSequencer SEVERE *** ERROR *** SOAP Response: Status code=0, Response body=null
01/31/22 16:40:22 (017) StartupSequencer SEVERE *** ERROR *** Problem invoking InstanceInfo on https://***dev.service-now.com/: Please check that the InstanceInfo page exists in the sys_public table and active="true".
01/31/22 16:40:22 (017) StartupSequencer SEVERE *** ERROR *** Request not sent to uri= https://***dev.service-now.com/InstanceInfo.do?SOAP : org.apache.commons.httpclient.HttpException: malformed response: unknown object in getInstance: org.bouncycastle.asn1.DLApplicationSpecific
(Network Configuration issue) Please check that the MID server can ping the instance: https://***dev.service-now.com/
You may also need to configure the network that the MID server uses to allow traffic over TCP port 443.
01/31/22 16:40:22 (017) StartupSequencer SEVERE *ROFL** ERROR *** test failure
java.lang.IllegalStateException: Unable to connect to instance.
at com.service_now.mid.services.StartupSequencer.runTests(StartupSequencer.java:661)
at com.service_now.mid.services.StartupSequencer.startupSequencerRunnable(StartupSequencer.java:717)
at java.base/java.lang.Thread.run(Thread.java:834)
I have checked these all steps, seems no issue, even-though the logs are same.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 09:00 AM
Navigate to scripted SOAP Services, find InstanceInfo, check it is still active.
I would also navigate to sys_public and check that there is an entry for InstanceInfo set to true.
I would suspect someone has disabled one or both of these thinking they are improving security.
Hope this helps,
Richard

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 11:07 AM
Thank you, however they are good 🙂
- Checked scripted SOAP Services, InstanceInfo, it is active.
- Checked sys_public and InstanceInfo set to true.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 12:32 PM
So my next questions would be, do you have other MIDs connected to this instance and are they working ok?
If this is the first MID attached to your instance, how did you install it?
Does the account the MID is running as have appropriate permissions to reach the SN instance through proxy or firewall?
The error "Request not sent to uri= https://***.service-now.com/InstanceInfo.do?SOAP : org.apache.commons.httpclient.HttpException: malformed response: unknown object in getInstance: org.bouncycastle.asn1.DLApplicationSpecific" suggests there is also a certificate issue going on.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 01:18 PM
It is my first mid server and I installed it with the latest installer I got from mid_server_download from my instance and following is the installer name 'mid-windows-installer.rome-06-23-2021__patch1-hotfix1b-10-18-2021_11-10-2021_0611.windows.x86-64'
Mid User got the miduser roles and I believe that is sufficient.
And to your last statement - I do not know if there is any certificate which I need to install anywhere.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 01:21 PM
One thing I found that
Mid server could not invoke SOAP call - https://<instance>.service-now.com/InstanceInfo.do?SOAP , I think this is the issue and not sure how to resolve it now, though I have plans to troubleshoot with my Network team as it looks like something blocking at Firewall end.