Top

Proxying NodeJS requests through fiddler

Kommentare

2 Kommentare

  • Offizieller Kommentar
    Vincent BERDER

    Hello,

    You can log the requests between SDK and Rainbow server with the options parameters:

    You can activate the log of full logs by setting the parameter `internals` to `true`. (`false` by default).
    You can activate the log of http request by setting the parameter `http` to `true`. (`false` by default).

    ...
    "logs": {
    "system-dev": {
    "internals": true,
    "http": true
    },
    },

    You can also capture the flow with "fiddler" for exemple with proxy setted :

    proxy: {
    host: "127.0.0.1",
    port: 8888,
    protocol: "http",
    },

    Notes :

    * You need to activate the https in fiddler tool

    * You need to disable certificat trust in your node.

    For exemple with the code :

    process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0";

    Vincent.

    Aktionen für Kommentare Permalink
  • Vincent BAILLEAU

    Hi Stephan,

    Did you follow the guide https://hub.openrainbow.com/#/documentation/doc/sdk/node/guides/Proxy ? 

    Thank you

    Regards

    Vincent

    0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

  • Fragen Sie die Gemeinschaft

    Brauchen Sie Hilfe? Stellen Sie Ihre Fragen in der Community, um Antworten von anderen Rainbow-Benutzern zu erhalten.

    Nachricht posten