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

run pubsub_view throw ice candidate exception #31

Open
vjeson opened this issue Dec 11, 2020 · 3 comments
Open

run pubsub_view throw ice candidate exception #31

vjeson opened this issue Dec 11, 2020 · 3 comments

Comments

@vjeson
Copy link

vjeson commented Dec 11, 2020

signal server is latest version ion from master branch
ion.JsonRPCSignal('wss://ip:8443/ws?uid=uuid');

debug with chrome

[ion-sdk-flutter] DEBUG: msg: {"id":"1f924ff8-b9a2-4ce0-9605-27d55c094474","result":{"type":"answer","sdp":"v=0\r\no=- 4866327441167300290 1607673876 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 23:09:0D:BF:64:D4:18:83:DA:AA:5B:04:78:54:19:40:CF:97:2E:C7:9F:12:88:D3:4E:6F:58:BF:1C:22:17:A5\r\na=group:BUNDLE 0\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=setup:active\r\na=mid:0\r\na=sendrecv\r\na=sctpmap:5000 webrtc-datachannel 1024\r\na=ice-ufrag:qilePTdhhPsHBOiG\r\na=ice-pwd:DSfSezGroySAPKMCmIaXedWTbJVNQnDQ\r\n"},"jsonrpc":"2.0"}

errors.dart:167 Uncaught (in promise) Error: OperationError: Error processing ICE candidate

at Object.createErrorWithStack (errors.dart:249)
at Object._rethrow (async_patch.dart:200)
at async._AsyncCallbackEntry.new.callback (zone.dart:1171)
at Object._microtaskLoop (schedule_microtask.dart:41)
at _startMicrotaskLoop (schedule_microtask.dart:50)
at async_patch.dart:166

[ion-sdk-flutter] DEBUG: send: {"method":"trickle","params":{"target":0,"candidate":{"candidate":"candidate:4193552346 1 udp 1685987071 218.241.217.42 63938 typ srflx raddr 192.168.108.49 rport 63938 generation 0 ufrag FLU7 network-id 2 network-cost 10","sdpMid":"2","sdpMLineIndex":2}}}
errors.dart:167 Uncaught (in promise) Error: Expected a value of type 'String', but got one of type 'DomException'
at Object.throw_ [as throw] (errors.dart:216)
at Object.castError (errors.dart:64)
at Object.cast [as as] (operations.dart:442)
at Function.as (core_patch.dart:650)
at logger.Logger.new.error (logger.dart:7)
at client$.Client.new.onnegotiationneeded (client.dart:163)
at onnegotiationneeded.throw ()
at async_patch.dart:60
at _RootZone.runBinary (zone.dart:1451)
at _FutureListener.thenAwait.handleError (future_impl.dart:157)
at handleError (future_impl.dart:708)
at Function._propagateToListeners (future_impl.dart:729)
at _Future.new.[_completeError] (future_impl.dart:537)
at async._AsyncCallbackEntry.new.callback (future_impl.dart:593)
at Object._microtaskLoop (schedule_microtask.dart:41)
at _startMicrotaskLoop (schedule_microtask.dart:50)
at async_patch.dart:166

@Barry0501
Copy link

Hi bro, just comment this line can fix your problem

Screen Shot 2021-01-25 at 15 37 17

@vjeson
Copy link
Author

vjeson commented Jan 25, 2021

Thanks, you are right, but I got another exception, Do you have the same problem?

errors.dart:187 Uncaught (in promise) Error: OperationError: Error processing ICE candidate

at Object.createErrorWithStack (errors.dart:269)
at Object._rethrow (async_patch.dart:200)
at async._AsyncCallbackEntry.new.callback (zone.dart:1339)
at Object._microtaskLoop (schedule_microtask.dart:40)
at _startMicrotaskLoop (schedule_microtask.dart:49)
at async_patch.dart:166

@Barry0501
Copy link

Check your code again. I don't have any issues like this

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

No branches or pull requests

2 participants