Top

Proxying NodeJS requests through fiddler

Comentarios

2 comentarios

  • Comentario oficial
    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.

    Acciones de comentarios 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
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

  • Pregunte a la Comunidad

    ¿Necesitas ayuda? Haz tus preguntas en la Comunidad para obtener respuestas de otros usuarios de Rainbow.

    Enviar un mensaje.