-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datadog Real User Monitoring breaks node express client server on IE11 #611
Comments
Hi @lauraeci, Thank you for raising that.
|
Hi @bcaudan, Thank you for your help.
Additional information: we're using browser-logs without issue on IE11. When I remove the datadogRum.init the application works as expected on IE11. No issue with datadogRum.init on Chrome. |
Is there a public page where I can have a look at your application? |
Hi @bcaudan , thanks for looking into this.
We are using apollo client for all our outgoing requests. We aren't having any problems on IE or elsewhere. Our configuration isn't especially unusual though we are polyfilling fetch with
We don't. It doesn't seem as though the network requests are even sent.
Which aspect of our setup would you like to look at? This is how we're initializing datadogRUM datadogRum.init({
applicationId: /*REDACTED*/,
// this token is passed to the client, so not secret.
// https://docs.datadoghq.com/account_management/api-app-keys/#client-tokens
clientToken: /*REDACTED*/,
site: 'datadoghq.com',
env: process.env.ENVIRONMENT, //we are using webpack to inject process.env vars into our client app
sampleRate: 100,
trackInteractions: true,
})
And here is our demo application. You can check out the login page on our demo environment to see most of our application bootstrap / package stuff and then if you try to login you should be able to see a network request. |
Hi @carlpeaslee, Thanks for all these details! The issue is due to a mismatch between browser-rum and browser-logs version.
I have tested with browser-rum@1.12.9 and the issue does not happen anymore. |
@bcaudan this fixed our issue. Thanks for your help. |
Using the @datadog/browser-rum package with Node apollo web client fails on IE11.
Seeing multiple requests to https://run-http-intake.logs.datadoghq.com on IE11 that are different than Chrome. Unable to login to the application on IE11. Working theory is that datadogRUM is blocking other application requests on IE11. When datadogRUM is removed, the application is working correctly.
Chrome and IE11 requests:
Only IE11 request:
Request Method: CONNECT RequestURL: https://rum-http-intake.logs.datadoghq.com Proxy-Connection: Keep-Alive
Using the init method from the documentation like:
Please let me know what additional information I should find to help with this issue. IE11 issues are no fun. Thank you!
The text was updated successfully, but these errors were encountered: