Skip to content

[Bug]: I keep getting error from rum client about re-defining send #708

@apps4u

Description

@apps4u

Which web client version did you detect this bug with?

v1.19.0

What environment (build systems, module system, and framework) did you detect this bug with?

We are using the HTML version of the rum client

Is your web application a single page application (SPA) or multi page application (MPA)?

MPA

Please provide your web client configuration

    'cwr',
    '%REACT_APP_RUM_APPLICATION_ID%',
    '%REACT_APP_RUM_APPLICATION_VERSION%',
    '%REACT_APP_REGION%',
    '%PUBLIC_URL%/cwr.js',
    {
      sessionSampleRate: '%REACT_APP_RUM_APPLICATION_SAMPLE_RATE%' ,
      identityPoolId: "%REACT_APP_RUM_IDENTITY_POOL_ID%" ,
      endpoint: "https://dataplane.rum.ap-southeast-2.amazonaws.com" ,
      telemetries: ["performance","errors", ["http",
          {
            addXRayTraceIdHeader: true,
            urlsToInclude: [
              /^(?!https?:\/\/(?:sso(?:[.-]|$)|auth-sso(?:[.-]|$)|tenants-api(?:[.-]|$)|auth-v2-api(?:[.-]|$)))https?:\/\/(?:[a-z0-9.-]+\.)?(?:canibuild\.com|verumtek\.com\.au|amazon\.com)(?:[/?#].*)?$/i,
            ],
            // this above will match
            // xxx.xxx.verumtek.com.au (exclude auth-sso, sso, tenants-api)
            // xxx.canibuild.com (exclude auth-sso, sso)
            // xxx.amazon.com 
        }]],
      allowCookies: true ,
      enableXRay: true ,
      releaseId: "%REACT_APP_RELEASE_ID%",
      signing: true // If you have a public resource policy and wish to send unsigned requests please set this to false
    }
  );

Please describe the bug/issue

I keep getting this error , we had the same error using the typescript package that I why I changed to HTLM script tag.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions