- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Sometimes it is impossible to connect to the WebRTC MCU server, the following errors are observed errors come from iOS:
#1 [_conferenceClient joinWithToken:self.userToken onSuccess:^(RTCConferenceUser *user) {} onFailure:^(NSError *error) {} RESULT: success -------------------------------------------------- #2 [_conferenceClient publish:_localStream onSuccess:^() {} onFailure:^(NSError *error) {} RESULT: failure Code=3000 "MCU internal error during connection establishment." -------------------------------------------------- #3 Retry publish localstream generates error: Code=3000 "Duplicated stream." -------------------------------------------------- #4 Trying to unpublish the stream before trying to retry publish generates error: Code=3000 "Negative acknowledgement from server."
How can we prevent this error, or what is the cause of this?
It is observed from iOS, but also Android and Web have connection issues sometimes.
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you provide more detailed info, what's your test scenarios, what's the MCU version, and any error message in MCU logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Qiujiao,
We are using a mixed room on a server with VCA card. behind a loadbalancer.
A coturn Turnserver.
The version of server and SDK is the latest 3.5.1
I sometimes see the following in conference logs
2017-12-19 15:13:01.490 - INFO: AccessController - onFailed, sessionId: 484748659917792830 reason: Ice procedure failed. 2017-12-19 15:13:01.509 - INFO: AccessController - onFailed, sessionId: 455749763837809400 reason: Ice procedure failed. 2017-12-19 15:13:07.836 - INFO: Conference - Empty room 5a2e5475f6c242eb64f2bc64 . Deleting it
In webrtc logs I see this:
2017-12-19 15:13:01,487 - ERROR: NiceConnection - video - NICE Component 1 FAILED 2017-12-19 15:13:01,487 - ERROR: NiceConnection - Nice Failed, stopping ICE 2017-12-19 15:13:01,487 - INFO: WebRtcConnection - WebRtcConnection failed, stopping sending 2017-12-19 15:13:01,498 - ERROR: NiceConnection - video - NICE Component 1 FAILED 2017-12-19 15:13:01,498 - ERROR: NiceConnection - Nice Failed, stopping ICE 2017-12-19 15:13:01,498 - INFO: WebRtcConnection - WebRtcConnection failed, stopping sending
It happens on connecting to the room, it can happen if you are the first stream published in the room, but also when a second or later stream is connecting to the room.
If we retry again, it sometimes works fine, no problems at all, but initial connects also often fails, which gives a bad user experience.
The errors received are not giving much more information...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It just happened again, the logs from conference and webrtc show as in my previous post.
And in the portal logs the following is shown:
2017-12-20 09:05:49.387 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.387 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.388 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.398 - ERROR: V10Client - unpublish failed: Failed in terminating session 2017-12-20 09:05:49.399 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.399 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.399 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.399 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.400 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.400 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.400 - ERROR: V10Client - soac failed: Session 290500727127423600 does NOT exist 2017-12-20 09:05:49.400 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.404 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.404 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.405 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.405 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.405 - ERROR: V10Client - soac failed: Session 195237914436574340 does NOT exist 2017-12-20 09:05:49.673 - ERROR: V10Client - unpublish failed: Failed in terminating session 2017-12-20 09:05:49.677 - ERROR: V10Client - unsubscribe failed: Failed in terminating session 2017-12-20 09:06:09.527 - ERROR: V10Client - unpublish failed: Failed in terminating session 2017-12-20 09:06:33.785 - ERROR: V10Client - unpublish failed: Failed in terminating session
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page