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

Trace log inbound messages #641

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Trace log inbound messages #641

merged 2 commits into from
Jan 11, 2024

Conversation

boks1971
Copy link
Contributor

On an ICE restart in controlled mode, seeing incoming messages getting discarded to due to username mismatch. That is because the broswer is still using its old candidate and user name. As the controlled agent waits for useCandidate from the controlling agent, the controlled agent does not get to connected/nominated state inspite of getting several success responses. Suspect the controlling side does not have useCandidate for the new pair and it is still sending it for the old pair. Logging more details in trace to understand it better.

On an ICE restart in controlled mode, seeing incoming messages
getting discarded to due to username mismatch. That is because the
broswer is still using its old candidate and user name. As the
controlled agent waits for `useCandidate` from the controlling agent,
the controlled agent does not get to connected/nominated state inspite
of getting several success responses. Suspect the controlling side does
not have `useCandidate` for the new pair and it is still sending it for
the old pair. Logging more details in trace to understand it better.
Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (df552cd) 78.60% compared to head (05856b0) 78.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #641      +/-   ##
==========================================
+ Coverage   78.60%   78.62%   +0.02%     
==========================================
  Files          42       42              
  Lines        4394     4394              
==========================================
+ Hits         3454     3455       +1     
+ Misses        726      724       -2     
- Partials      214      215       +1     
Flag Coverage Δ
go 78.62% <100.00%> (+0.02%) ⬆️
wasm 22.36% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@boks1971
Copy link
Contributor Author

Unsure what is causing all the CI failures. Happens on a local run too. Did not expect my changes to produce that. Will dig.

@boks1971
Copy link
Contributor Author

oh, the tests are comparing string versions of the pairs.

Need to enhance tests or figure out a way to log differently.

@boks1971 boks1971 merged commit c822726 into master Jan 11, 2024
14 checks passed
@boks1971 boks1971 deleted the raja_log branch January 11, 2024 08:16
boks1971 added a commit that referenced this pull request Jan 11, 2024
* Trace log inbound messages

On an ICE restart in controlled mode, seeing incoming messages
getting discarded to due to username mismatch. That is because the
broswer is still using its old candidate and user name. As the
controlled agent waits for `useCandidate` from the controlling agent,
the controlled agent does not get to connected/nominated state inspite
of getting several success responses. Suspect the controlling side does
not have `useCandidate` for the new pair and it is still sending it for
the old pair. Logging more details in trace to understand it better.

* Fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants