Skip to content

reverse proxy configuration is not taken into account #578

@rfauglas

Description

@rfauglas

Describe what happened

reverse proxy configuration is not taken into account.
I create a poc project, where proxy configuration is done here:
https://github.com/rfauglas/datadogrum_reactnative_poc/blob/main/App.tsx#L73
But It never goes through my nginx reverse proxy.
Please note I could not find any test in the library against proxy configuration, nor code references...

Steps to reproduce the issue:

  • create an Nginx reverse proxy configuration, similar to this:
    (here it is with ssl, but I also tried with http...)
    `
    server {
    listen 443 ssl;
    listen [::]:443 ssl;

    ssl_certificate /etc/nginx/ssl/server.crt;
    ssl_certificate_key /etc/nginx/ssl/server.key;

    location / {
    proxy_pass https://browser-intake-datadoghq.eu:443;
    }
    }
    `

  • setup react native poc as documented in README https://github.com/rfauglas/datadogrum_reactnative_poc

  • launch a reverse proxy

  • trigger some DD events throught the application...

Describe what you expected:

  • I expect to see DD Rum requests go through the proxy, it is not the case (I could validate my proxy configuration is ok with curl command). Proxy configuration seems to be ignored.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions