TypeError: Cannot read property 'encrypt' of undefined
Closed this issue · 2 comments
iamgruuten commented
Describe the bug
I was trying to disconnect and connect the room but encounter an error
TypeError: Cannot read property 'encrypt' of undefined
Module.encrypt
49 | return /** @type {PromiseLike<Uint8Array>} */ (promise.resolve(data))
50 | }
51 | const iv = crypto.getRandomValues(new Uint8Array(12))
> 52 | return crypto.subtle.encrypt(
| ^ 53 | {
54 | name: 'AES-GCM',
55 | iv
To Reproduce
Steps to reproduce the behavior:
- attempts to disconnect room
- attempts to destroy room
- Error produced
Expected behavior
It should properly destroy the room
Environment Information
- Chrome
- yjs v13.5.5, y-webrtc v10.2.0
dmonad commented
Are you destroying a room and then reconnecting?
I don't want to play guessing games. These details are insufficient. I asked for your browser version specifically.
dmonad commented
Please feel free to open a new ticket where you explain what exactly you do.