Loading...
Loading...
When request a response to an URI " $httpResponse = Invoke-WebRequest -Credential $httpCred -URI $URI; " but with IE configured in another method it throws the following error: Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again. MID Server Logs: get admin page 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: example.com 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: example.com 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: CHE 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: che 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: MIM 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: DMZ 2020-08-27 10:47:31: HTTP GET from http://example:<port_number>//_admin/page.aspx, user: middiscovery, domain: APP 2020-08-27 10:47:31: all commands failed on host: 10.xx.xx.xx command type: HTTP. command track: WindowsHttpCommand\(Relevant), UnixHttpCommand\(NotRelevant),; input: 2020-08-27 10:47:31: Groovy code failure. com.snc.sw.exception.CommandFailureException: All command implementations (HTTP) failed on host 10.xx.xx.xx. Host might be down or unreachable.
Login to the MID server, and invoke a web request " $httpResponse = Invoke-WebRequest -Credential $httpCred -URI $URI; " through IE Below error is observed. Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
Navigate to MID Server -> Script Files Locate CommonUtils.psm1 script file Edit as below replace the line $httpResponse = Invoke-WebRequest -Credential $httpCred -URI $URI; with $httpResponse = Invoke-WebRequest -Credential $httpCred -URI $URI -UseBasicParsing;
PRB1423796
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.