Skip to main content

NIM

Proxy

Danger

It is important to note that developing Connectors or Scripts comes with a "Use at Your Own Risk" policy. We would like to emphasize that any such tools, connectors, or scripts that have not been developed directly by Tools4ever are outside the scope of our standard support services. Users are advised to exercise caution and discretion when employing any non-official tools or scripts in conjunction with Tools4ever products.

In this article we delve into the synergistic use of NIM and Fiddler to debug and analyze traffic between the NIM service and REST systems. This article is designed to equip you with the knowledge and steps needed to set up these tools effectively, ensuring a smooth and insightful debugging experience. From initial prerequisites to detailed, step-by-step configuration instructions, enhanced with visual aids and screenshots, the guide covers everything you need to know. Whether you're a seasoned developer or new to REST system debugging, this guide will serve as a valuable resource in managing and understanding the flow of data within your applications.

  1. Install the latest version of Fiddler (Progress Telerik Fiddler Web Debugger)

  2. Open Fiddler

  3. Click Tools > Options

  4. Open HTTPS, Check Capture HTTPS CONNECTs and Decrypt HTTPS traffic

    Proxy02.png
  5. Upon checking these you will need to trust the Fiddler Root certificate by clicking Yes

    Proxy03.png
  6. Again, you will be prompted, Click Yes

    Proxy04.png
  7. Then a prompt to add it to the Machine Root List, Click Yes

    Proxy05.png
  8. Click Ok on the prompt

    Proxy06.png
  9. Click on the protocols, and add the following tls1.1;tls1.2

    Proxy07.png
  10. Click Actions > Export Root Certificate to Desktop. It is recommended to move this cert to a different location like C:\Tools4ever\certs, but it is not required

    Proxy06_1.png
  11. On Options > General, uncheck the Enable IPv6 option and restart Fiddler

    Proxy07_01.png
  12. Apply the following registry key to enable proxy support with Fiddler in NIM. Update cert path to match the path it was placed in

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NIM\env]
    "NODE_EXTRA_CA_CERTS"="C:\\Tools4ever\\certs\\FiddlerRoot.cer"
    "NODE_TLS_REJECT_UNAUTHORIZED"="0"
  13. Restart NIM Service

  14. Update system configuration in NIM by enabling the proxy and pointing it to http://127.0.0.1:8888

    Proxy01.png