team-telnyx / webrtc

SDK for Telnyx's WebRTC platform
https://developers.telnyx.com/docs/v2/webrtc
MIT License
40 stars 19 forks source link

ERR_CONNECTION_RESET #288

Closed reyaz386 closed 2 years ago

reyaz386 commented 2 years ago

Hi Team :wave:- Would need your inputs on webRTC automation testing. We do use Telynx webrtc in our application. When I am trying test webrtc in Selenium Grid - using chrome node. Error in connection Establishment: net::ERR_CONNECTION_RESET WebSocket Connection is closed before the connection is established. FYI..Checking for audio and video permissions: client.checkPermissions(); -> this return true Any pointers will be really helpful.

Screen Shot 2022-06-08 at 10 28 10 PM
DeividVeloso commented 2 years ago

Hello @reyaz386,

this kind of error seems to be an internet network problem that your application is not being able to connect to our rtc.telnyx.com WebSocket server. Here we make end-to-end test (automated test) with cypress and playwright and both works fine. You can see this example using cypress: https://github.com/team-telnyx/webrtc-examples/blob/main/js/react-audio-widgets/package.json#L24

DeividVeloso commented 2 years ago

I am closing this issue, feel free to open a new one. 👍