opentok / opentok-network-test-js

A node module that lets you check network connectivity to resources and services required to use OpenTok
MIT License
57 stars 44 forks source link

OT_STREAM_DESTROYED after few seconds of network test start #264

Open iulianmids opened 11 months ago

iulianmids commented 11 months ago

Hello, Got some errors starting 3 days ago, haven't touched the code since 3-4 months. anyone got this?

opentok.min.js:26 OpenTok:Session:error OT_STREAM_DESTROYED: Stream was destroyed before it could be subscribed to +0ms o @ opentok.min.js:26 tt @ opentok.min.js:26 (anonymous) @ opentok.min.js:26 (anonymous) @ opentok.min.js:23 c @ opentok.min.js:17 a.emit @ opentok.min.js:17 trigger @ opentok.min.js:17 onEnterDisconnected @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 observeEvents @ opentok.min.js:23 transit @ opentok.min.js:23 fire @ opentok.min.js:23 t.allTransitions.forEach.e. @ opentok.min.js:23 _disconnect @ opentok.min.js:23 (anonymous) @ opentok.min.js:26 (anonymous) @ opentok.min.js:26 _e @ opentok.min.js:26 a.emit @ opentok.min.js:17 trigger @ opentok.min.js:17 remove @ opentok.min.js:23 (anonymous) @ opentok.min.js:23 a.emit @ opentok.min.js:17 trigger @ opentok.min.js:17 dispatchEvent @ opentok.min.js:17 destroy @ opentok.min.js:23 (anonymous) @ opentok.min.js:26 a.emit @ opentok.min.js:17 trigger @ opentok.min.js:17 emit @ opentok.min.js:17 c.dispatchStream @ opentok.min.js:26 c.dispatch @ opentok.min.js:26 a.emit @ opentok.min.js:17 n._receiveMessage @ opentok.min.js:31 (anonymous) @ opentok.min.js:31 a.emit @ opentok.min.js:17 (anonymous) @ opentok.min.js:31 invokeTask @ zone.js:402 runTask @ zone.js:171 invokeTask @ zone.js:483 invokeTask @ zone.js:1631 globalCallback @ zone.js:1662 globalZoneAwareCallback @ zone.js:1695

opentok.min.js:26 OpenTok:GlobalExceptionHandler:error OT.exception :: title: undefined (undefined) msg: Stream was destroyed before it could be subscribed to +0ms

PurnimaCompro commented 2 months ago

Hi Everyone,

I am also encountering the same issue where the OT_STREAM_DESTROYED error occurs shortly after starting the network test. Additionally, the error is intermittent, making it more challenging to identify the root cause.

Here’s the error log that I'm seeing:

message: Stream was destroyed before it could be subscribed to
name: OT_STREAM_DESTROYED
stack Error: Stream was destroyed before it could be subscribed to at t._disconnect 

Has anyone identified the root cause or found a solution for this? Any insights or suggestions would be greatly appreciated.

Thank you!