Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meeting keeps retrying due to ICEGatheringTimeoutWorkaround and never throws meetingStartFailed #1800

Closed
4 tasks done
beta-alpha001 opened this issue Nov 17, 2021 · 4 comments
Labels
Question Further information is requested

Comments

@beta-alpha001
Copy link

What happened and what did you expect to happen?

Sometimes meeting get stuck in connecting state forever, with warnings like
Your connection is poor
no transition found from Disconnecting with Update
peer connection negotiation is needed
will retry due to status code ICEGatheringTimeoutWorkaround and error: serial group task AudioVideoStart/6ae8a1fb-83b8-4523-900b-8e7484d60706/a40909b6-4556-bc90-81dd-1c8b4512edb3 was canceled due to subtask AudioVideoStart/6ae8a1fb-83b8-4523-900b-8e7484d60706/a40909b6-4556-bc90-81dd-1c8b4512edb3/Timeout15000ms error: serial group task AudioVideoStart/6ae8a1fb-83b8-4523-900b-8e7484d60706/a40909b6-4556-bc90-81dd-1c8b4512edb3/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/6ae8a1fb-83b8-4523-900b-8e7484d60706/a40909b6-4556-bc90-81dd-1c8b4512edb3/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: canceling FinishGatheringICECandidatesTask due to the meeting status code: 16

Meeting keeps on retrying to connect, however it should throw some error event like meetingStartFailed after some threshold duration, so that we know user is facing issues in connecting

Have you reviewed our existing documentation?

Reproduction steps

Happens randomly, not for any specific device or user.

Amazon Chime SDK for JavaScript version

2.17.0

What browsers are you seeing the problem on?

Samsung browser

Browser version

samsung 15 (15.0.0)

Meeting and Attendee ID Information.

Meeting ID- 6ae8a1fb-83b8-4523-900b-8e7484d60706

Browser console logs

video_events_log_55afbef0-ab79-4c5a-8b00-a9c84f0aa832.txt

@ltrung
Copy link
Contributor

ltrung commented Nov 20, 2021

The default threshold for reconnect is 15s as mentioned in our FAQs. You should also receive audioVideoDidStop event.

@ltrung ltrung added the Question Further information is requested label Nov 20, 2021
@ltrung
Copy link
Contributor

ltrung commented Nov 29, 2021

Closing due to inactivity. Feel free to reopen if you still need help.

@ltrung ltrung closed this as completed Nov 29, 2021
@beta-alpha001
Copy link
Author

beta-alpha001 commented Dec 7, 2021

Hi @ltrung,
I'm using amazon-chime-sdk-component-library-react, which adds audioVideoDidStop observer, which publishes MeetingStatus.Failed on ICEGatheringTimeoutWorkaround. I was able to reproduce the issue and meeting status did not change throughout the connecting state. I'll add the logs. I'll also report this on amazon-chime-sdk-component-library-react
Also I see reconnectTimeoutMs is 2mins, so after 2mins which event will we receive ?
logs- 1fd2-122-180-189-28.ngrok.io-1638878149776.log

@jing-chen1
Copy link
Contributor

Hi @beta-alpha001,

Tested on React meeting demo, if we have disconnected for over 2 mins, we will receive following logs/events:

  • transitioning from Connected to Disconnecting with Fail
  • transitioning from Disconnecting to NotConnected with FinishDisconnecting
  • AudioVideoClean
  • removing meeting observer
  • Stopping DefaultStatsCollector
  • removing a ping-pong observer
  • removing meeting observer
  • ReleaseMediaStreamsTask
  • Non-Terminal failure occured: 19

Code 19 is for TaskFailed, a task failed for an unknown reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants