Troubleshooting Steps for iScrape
Troubleshooting steps for iScrape, a component used for searching, extracting, and downloading scripts for automation. Covers issues with service startup, missing Python packages, incorrect paths and ports, and service not running.
iScrape is the component responsible to search, extract, and download scripts from open sources to create runbooks which are not available within BigFix Runbook AI repository for automation. It is a component developed using python and is hosted on Apache Web Server as a service under the name HCL.iAutomate.iScript.
HCL.iAutomate.iScript service is not starting
Issue Description | HCL.iAutomate.iScript service is not starting |
---|---|
Modules Impacted | iScript |
Probable Root Cause | Invalid “iScript.conf” file content |
Steps to resolve
For e.g. - “C:/Apache24/conf” has <Apache_Root_Folder_Path> as “C:/Apache24”
<VirtualHost *> WSGIScriptAlias /iAutomate C:/iAutomate/Comp/HCL.iAutomate.iScript/iScript/app.wsgi SSLVerifyClient require SSLVerifyDepth 10 <Directory C:/iAutomate/Comp/HCL.iAutomate.iScript/ iScript> WSGIApplicationGroup %{GLOBAL} Require all granted </Directory> </VirtualHost>
sc config HCL.iAutomate.iScript obj= “ID” password= “PSWD” where ID is the [Domain\SA ID] and PSWD is the [Password of SA] and SA is [Service Account]. ‘Log On As’ field corresponding to the service HCL.iAutomate.iScript should be changed to ‘Service Account’. Click Start to start the service. |
Service returns Internal Server Error - status code 500
Issue Description | Service is reachable but returns Internal Server Error with status code 500. |
---|---|
Modules Impacted | iScript |
Probable Root Cause | Python package not available |
Steps to resolve
If the error is because of the missing package, perform the following steps:
pip install package_name
pip install package_name.whl |
‘404 Resource Not Found’
Issue Description | Error message ‘404 Resource Not Found’ when iScript is hit |
---|---|
Modules Impacted | iScript |
Probable Root Cause |
|
Steps to resolve
e.g. – Here the image below shows the port set for iScript component is 9000. # Listen 9000 # ports, instead of the default. See also the <VirtualHost> # directive
|
‘Could not get any response’
Issue Description | Error message ‘Could not get any response’ appears when iScript is being hit. |
---|---|
Modules Impacted | iScript |
Probable Root Cause | HCL.iAutomate.iScript service is not running |
Steps to resolve
|