How To Use Fiddler As A Proxy For The Robot Service To Collect Information

How to use Fiddler as a proxy for the Robot Service to collect information?

In order to troubleshoot specific issues , there is a need to identify what exactly is sent by the Robot service as transactions to Orchestrator. To view these, use Fiddler as a proxy between the Robot Service and Orchestrator.

Follow the below steps below to configure and track the transactions

  1. Find a config file to edit. A certain file has to be edited depending on the robot version.
    Take a copy of the file before editing.

    2019.10 or earlier
    UiPath.Service.Host.exe.config in C:\Program Files (x86)\UiPath\Studio

    2020.4 and 2020.10
    proxy.config in C:\Program Files (x86)\UiPath\Studio

    2020.10 and before
    Uncomment the section and add the localhost as a proxy

    
        http://127.0.0.1:8888"
        bypassonlocal="false"
      />
    

2021.4 and higher
Edit the uipath.config file: Using Proxy Address

Add the tag and set the following text.

http://127.0.0.1:8888" />


  1. Save

  2. Services.msc > Restart Robot Service

  3. Download and install (as Admin) Fiddler Classic

  4. Open Fiddler

  5. Tools > Options

  6. Set the HTTPS tab to the following configuration. Ensure Decrypt HTTPS traffic is checked. If these steps aren't followed, the trace file will not be useful.


    Click Yes:

    Fiddler Cert

    Security warning

    fiddler3.png

    TrustCert Success

  7. Set the Connections Tab to the following configuration

  8. Restart Fiddler

  9. Open the Assistant and wait for a connection.

  10. Once it is connected, transactions can be seen (Heartbeats, SignalR etc.)

  11. To save, go to File > Save > All Sessions and save it as .saz

  12. Restore the config file to the original one.
2 Likes

A post was split to a new topic: Fiddler As A Proxy For The Robot Service To Collect Information