rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

Crash once a http request ist send in Angular

Open florianfelgentraeger opened this issue 6 years ago • 16 comments

I've been trying to get it to run in Angular and the events are coming but once its recording and im sending a web request Chrome just crashes the request never finishes and i cant do anything anymore. Any suggestions?

florianfelgentraeger avatar Jan 27 '20 08:01 florianfelgentraeger

Could you provide the code to reproduce this issus?

Yuyz0112 avatar Jan 27 '20 08:01 Yuyz0112

Sadly no. I cant provide my code because its not a public project. So far i tried it via a button in my navigation as well as in the app.component.ts (so once my Application starts up I start recording). Once a request occurs it Crashes. Cpu usage goes up to absurd levels and I can only close the window via task manager.

florianfelgentraeger avatar Jan 27 '20 08:01 florianfelgentraeger

I am also experiencing this, Angular 9.

Totally locks Chrome tab.

24601 avatar Jun 23 '20 02:06 24601

I've been trying to get it to run in Angular and the events are coming but once its recording and im sending a web request Chrome just crashes the request never finishes and i cant do anything anymore. Any suggestions?

Are you using the npm module install or script?

24601 avatar Jun 23 '20 02:06 24601

@24601 Do you have a reproducible code for this?

Yuyz0112 avatar Jun 23 '20 07:06 Yuyz0112

Yes but I cannot share it publicly, so I will be happy to screen share until I can pull out enough into a generic public example.

The issue seems related to http activity after recording begins so it’s not as simple as making an angular template and just inserting record, as one of our other background http proceeded causes it and I can’t just share those.

On Tue, Jun 23, 2020 at 01:57 yz-yu [email protected] wrote:

@24601 https://github.com/24601 Do you have a reproducible code for this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rrweb-io/rrweb/issues/167#issuecomment-647977158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI2QVZAN6SY3OOBU45TQWTRYBN7ZANCNFSM4KL5JYCA .

24601 avatar Jun 23 '20 14:06 24601

have the same issue with record function. Implementation: image

result: tab crashes image

kubadospial avatar Jul 29 '20 13:07 kubadospial

@kubadospial Do you have any reproducible code for me to debug?

Yuyz0112 avatar Jul 29 '20 15:07 Yuyz0112

unfortunately I tried to reproduce the issue on new, clear angular 9 project and I wasn't able to. If I figure out what was the issue in my company project, I will follow up with it.

kubadospial avatar Jul 30 '20 09:07 kubadospial

@kubadospial I remember someone has reported they are having this issue with a tooltip component, are you using something like that in your project too?

Yuyz0112 avatar Jul 30 '20 10:07 Yuyz0112

@Yuyz0112 yes we use a tooltip component in the app. In the free time I will remove this component and test if it helps. I will let you know

kubadospial avatar Jul 31 '20 11:07 kubadospial

https://github.com/rrweb-io/rrweb/pull/284 may relate to this issue. It's appreciated if anyone can help verify whether the issue still happen with v0.9.1.

Yuyz0112 avatar Aug 16 '20 06:08 Yuyz0112

Please reopen this if there is any further information.

Yuyz0112 avatar Sep 28 '20 14:09 Yuyz0112

Hello @kubadospial, Did you fix your problem? I have a similar crash when I hover a element that displays a tooltip. Your help would be appreciated if you managed to fix your problem.

ZakYahi avatar Jan 20 '21 13:01 ZakYahi

It says was fixed in the commit rrweb-io/rrweb@13f1a61. I've tried with angular 9, then upgraded to 10 and finally to 11. They all face the same result. Screen gets frozen. I've used the example code readme for the recording. I'm using ngx-bootstrap.

This was done in Feb, was it truly fixed?

aserec avatar Apr 28 '21 06:04 aserec

@aserec Could you open a new issue and provide a reproducible code?

Yuyz0112 avatar Apr 28 '21 07:04 Yuyz0112