e2e_appmon - NimRecorder extension for Google Chrome and Firefox - procedure to load NimRecorder extension on Chrome - troubleshooting the error Uncheck runtime.lastError: Access to the specified native messaging host is forbidden

book

Article ID: 205577

calendar_today

Updated On:

Products

CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

This technical document discusses about:

1) NimRecorder extensions for Google Chrome and Mozilla Firefox

2) The procedure to load NimRecorder extension on Google Chrome

3) Troubleshooting the below error after loading NimRecorder extension on Google Chrome :

Uncheck runtime.lastError: Access to the specified native messaging host is forbidden

Environment

e2e_appmon probe release : 2.52

Resolution

 

1) The nimrecorder plugins for Google Chrome and Mozilla Firefox have been attached to this technical document

 

2) Procedure to load NimRecorder Extension on Google Chrome:

 

Pre-requisites:

The robot should have:

  • e2e_appmon probe deployed
  • Google Chrome browser installed

 

Environment:

The technical document is written for Windows environment with:

  • Operating System installed in C:\ Drive
  • Nimsoft installed in the default C:\Program Files(x86)\Nimsoft location

 

Steps:

 

1. Download and extract nsChromeExt extension attached to this document on the robot

 

2. Launch the Google Chrome browser, type in the address bar:


chrome://extensions/

 

Refer the below screenshot:

 

3. At the top right, click to enable the Developer mode and click Load unpacked as shown in the below screenshot:

 

4. Go to the location where you have extracted nsChromeExt extension (in Step 1), next click on Select Folder as shown in the below screenshot:

 

5. Once the extension is loaded, you would see the Errors button, this is expected as seen in the below screenshot:

 

6. Click on Errors button, you would see the error message:

 

Uncheck runtime.lastError: Access to the specified native messaging host is forbidden.

 

Refer the below screenshot:

 

 

3) Troubleshooting the error:

Uncheck runtime.lastError: Access to the specified native messaging host is forbidden

 

 Steps:

 

1. Type in the Google Chrome browser address bar:


chrome://extensions/

 

Refer the below screenshot:

 

2. Click on Details button in the NimRecorder extension as shown in the below screenshot:

 

3. Select and copy the ID as shown in the below screenshot:

 

4. Open Notepad as administrator:

                                                                                                       

5. From Notepad, follow the below steps:

    • click on File -> Open:

    • select the path: C:\ProgramData\NimRecorder

    • Set File Type to All Files:

    • Select the file ChromeMsgrHostManifest and click on Open:

 

6. Select the ID and replace it with the Extension ID copied in Step 3 as shown in below screenshots 5(a), 5(b) and 5(c):

--- Screenshot 5(a) ---

--- Screenshot 5(b) ---

--- Screenshot 5(c) ---

7. Now, save and exit from Notepad:

--- Screenshot 6(a) ---

--- Screenshot 6(b) ---

 

8. Close and launch the Google browser -> go to chrome://extensions and verify the Errors button is gone:

9. Optionally, you can now disable the developer option:

Additional Information

For troubleshooting issues/queries, email wintask at:

[email protected]

 

For further reading:

e2e_appmon (E2E Application Response Monitoring) (broadcom.com)

 

Attachments

1608668194327__MozillaExt_NimRecorder.xpi get_app
1608668183928__nsChromeExt .zip get_app