Issue
Description
The MID server is able to make a successful connection to the DEV instance but failed to install.
Agent log will show an exception
Insufficient rights to invoke script: com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script: com.glide.processors.soap.SOAPProcessorThread.processCustomWebService(SOAPProcessorThread.java:212)
com.glide.processors.soap.SOAPProcessorThread.processBody(SOAPProcessorThread.java:202)
com.glide.processors.soap.SOAPProcessorThread.processRequest(SOAPProcessorThread.java:174)
com.glide.processors.soap.SOAPProcessorThread.run0(SOAPProcessorThread.java:130)
com.glide.util.ParentedThread.run(ParentedThread.java:51)
Procedure
MID Server Agent log is below
When we have system property "glide.basicauth.required.soap" as FALSE
/sys_properties_list.do?sysparm_query=nameSTARTSWITHglide.basicauth.required.soap&sysparm_list_mode=grid
12:54:25.854 Info http-42 SYSTEM User agent with HTTP/1.1 and no encoding: internal_soap_client
12:54:25.854 Info http-42 SYSTEM New transaction 39EFED56DBA95BC0C32D776BAF96199F #1377315 /MIDServerCheck.do
12:54:25.868 Info API_INT-thread-1 SYSTEM Logging event: SNC.Auth.DB.Login.Failed with parm1: user_name=snmiddevuser and parm2: remoteAddr=12.14.217.21
12:54:25.868 Info API_INT-thread-1 SYSTEM *** Script: Basic authentication failed for user: snmiddevuser
12:54:25.869 Info API_INT-thread-1 SYSTEM HTTP authorization validated user 'soap.guest'
12:54:25.869 Info API_INT-thread-1 SYSTEM Session user set to soap.guest
12:54:25.879 Info API_INT-thread-1 SYSTEM *** Start #1377315 /MIDServerCheck.do, user: soap.guest
12:54:25.884 Error SOAPProcessorThreadb9efa196dba95bc0c32d776baf96192a SYSTEM SEVERE *** ERROR *** Insufficient rights to invoke script
com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script
at com.glide.processors.soap.SOAPProcessorThread.processCustomWebService(SOAPProcessorThread.java:212)
at com.glide.processors.soap.SOAPProcessorThread.processBody(SOAPProcessorThread.java:202)
at com.glide.processors.soap.SOAPProcessorThread.processRequest(SOAPProcessorThread.java:174)
at com.glide.processors.soap.SOAPProcessorThread.run0(SOAPProcessorThread.java:130)
at com.glide.util.ParentedThread.run(ParentedThread.java:51)
12:54:25.885 Warning API_INT-thread-1 SYSTEM WARNING *** WARNING *** SOAP Fault: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script</faultstring><detail>com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
12:54:25.885 Info API_INT-thread-1 SYSTEM User agent with HTTP/1.1 and no encoding: internal_soap_client
12:54:25.886 Info API_INT-thread-1 SYSTEM *** End #1377315 /MIDServerCheck.do, user: soap.guest, total time: 0:00:00.031, processing time: 0:00:00.031, SQL time: 0:00:00.004 (count: 11)
12:54:26.964 Info http-18 New transaction 1ADC2192DBA95BC0C32D776BAF9619B7 #1377316 /api/now/v2/ui/table/syslog
12:54:26.974 Warning Default-thread-2 SYSTEM WARNING *** WARNING *** Cookie token not in database: SCv2:d++A4NFH9UauYOByaLitln6d6IwyHXK4
12:54:26.974 Warning Default-thread-2 SYSTEM WARNING *** WARNING *** aborted activity cookie update: U0N2MjpkKytBNE5GSDlVYXVZT0J5YUxpdGxuNmQ2SXd5SFhLNA==
12:54:26.976 Info Default-thread-2 1ADC2192DBA95BC0C32D776BAF9619B7 #1377316 /api/now/v2/ui/table/syslog Parameters -------------------------
api=api
To enforce basic authentication for the user associated with the instance for each WSDL or SOAP message request, administrators can set the property glide.basicauth.required
to true.
Applicable Versions
All versions
Additional Information
Please refer to KB on How to validate ACLs KB0691023
Docs: https://docs.servicenow.com/csh?topicname=c_BasicAuthentication.html&version=latest