Top

Proxying NodeJS requests through fiddler

Comments

2 comments

  • Official comment
    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.

    Comment actions 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
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message