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

Riot Desktop drops the call right away, cant take make calls #7412

Closed
gerroon opened this issue Sep 27, 2018 · 4 comments
Closed

Riot Desktop drops the call right away, cant take make calls #7412

gerroon opened this issue Sep 27, 2018 · 4 comments
Labels
P2 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@gerroon
Copy link

gerroon commented Sep 27, 2018

I installed Riot desktop on Debian Testing, the account works, text typing and file sending works, but this particular desktop version is not able to accept calls. Basically the call drops as soon as it is seen in the ui. I tested the same account on android and no problem with any of the features.

None of my accounts/devices on the same network has this issue.

Please see the log below for what is happening.This log is captured when the calling was engaged by another user to concerning Riot desktop.

Version information

  • Platform: desktop

For the desktop app:

  • OS: Debian testing X64 (using the sid channel)
  • Version: 0.16.4

I am using self hosted Synapse 0.33.5.1 My turn server also works perfectly since I am able to accept calls from other countries.

'''
Glare detected: answering incoming call c1538079206162 and canceling outgoing call c15380791848570.8164145307270922
rageshake.js:67 c15380791848570.8164145307270922 being replaced by c1538079206162
rageshake.js:66 Handing local stream to new call
rageshake.js:66 Ending call c15380791848570.8164145307270922
rageshake.js:66 stopAllMedia (stream=undefined)
rageshake.js:66 Call state in !VvAioruHjENDZGklOD:XXXXX.XXXXX.org changed to ended (-)
rageshake.js:66 sendEvent of type m.call.hangup in !VvAioruHjENDZGklOD:XXXXX.XXXXX.org with txnId m1538079200625.19
rageshake.js:66 Answering call c1538079206162 of type voice
rageshake.js:66 Set remote description
rageshake.js:66 Created answer: [object RTCSessionDescription]
rageshake.js:66 call c15380791848570.8164145307270922: Signalling state changed to: closed
rageshake.js:66 Created answer: [object RTCSessionDescription]
rageshake.js:66 call c1538079206162: Signalling state changed to: have-remote-offer
rageshake.js:66 Stream id ARDAMS added
rageshake.js:66 Track id ARDAMSa0 added
2rageshake.js:66 Error setting local description!
rageshake.js:66 call c1538079206162: Signalling state changed to: stable
rageshake.js:66 Event sent to !VvAioruHjENDZGklOD:XXXXX.XXXXX.org with event id $1538079200220IBNeW:XXXXX.XXXXX.org
rageshake.js:66 setting pendingEvent status to sent in !VvAioruHjENDZGklOD:XXXXX.XXXXX.org
rageshake.js:66 Got remote ICE audio candidate: candidate:3259859605 1 udp 2122260223 192.168.YY.YY 39945 typ host generation 0 ufrag MNRs network-id 3 network-cost 10
rageshake.js:66 Got remote ICE audio candidate: candidate:842163049 1 udp 1686052607 ZZ.ZZ.ZZ.ZZ 39945 typ srflx raddr 192.168.YY.YY rport 39945 generation 0 ufrag MNRs network-id 3 network-cost 10
rageshake.js:66 Got remote ICE audio candidate: candidate:1009174629 1 udp 41885695 XX.XX.XX.XX 53744 typ relay raddr ZZ.ZZ.ZZ.ZZ rport 39945 generation 0 ufrag MNRs network-id 3 network-cost 10
rageshake.js:66 Ice connection state changed to: checking
rageshake.js:66 Got remote ICE audio candidate: candidate:1923429525 1 udp 25108223 XX.XX.XX.XX 57746 typ relay raddr ZZ.ZZ.ZZ.ZZ rport 41248 generation 0 ufrag MNRs network-id 3 network-cost 10
rageshake.js:66 RVS update: !VvAioruHjENDZGklOD:XXXXX.XXXXX.org undefined loading? false joining? false initial? undefined shouldPeek? true
rageshake.js:66 Switching to room id !VvAioruHjENDZGklOD:XXXXX.XXXXX.org at event undefined
rageshake.js:66 newscreen room/!VvAioruHjENDZGklOD:XXXXX.XXXXX.org
rageshake.js:66 Hangup received
rageshake.js:66 stopAllMedia (stream=MediaStream)
rageshake.js:66 Remote stream ended
rageshake.js:66 stopAllMedia (stream=MediaStream)
rageshake.js:66 call c1538079206162: Signalling state changed to: closed
'''

@lampholder
Copy link
Member

Hmm, the glare detection is supposed to handle you and the person you're trying to dial dialling each other at the exact same time. Can you give any more details about how you were running the test? Were both the users on your homeserver?

In terms of the TURN server working, I don't think receiving calls from other countries is a good indicator of success. I don't think it's material to this problem, but you can test your turn server by:

  • Logging in to Riot, inspecting the network traffic in dev tools, filter the requests to turnServer, then grab the username, password and uris from the response
  • Going to https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ and putting your details in the testing tool
  • Clicking 'Gather candidates' and checking observing the request terminate succesfully ('Done').

@lampholder lampholder added X-Needs-Info This issue is blocked awaiting information from the reporter A-VoIP labels Oct 1, 2018
@gerroon
Copy link
Author

gerroon commented Oct 1, 2018

Hi

Thanks for the reply. I will try to make the tests and provide more details.

I also went ahead and compiled from the source on the same laptop(the one that fails above) and that works with the same server, same user, same network and the same clients/contacts. I am thinking that this is an issue with the way the release was compiled.

@lampholder lampholder added T-Defect P2 S-Major Severely degrades major functionality or product features, with no satisfactory workaround and removed A-VoIP labels Oct 5, 2018
@SimonBrandner
Copy link
Contributor

@gerroon, is this still an issue?

@gerroon gerroon closed this as completed Jul 6, 2021
@an0o0nym
Copy link

an0o0nym commented Jan 6, 2022

Hi, I have the same issue as described above. Though I am using element-web version. I have already described my issue in #9433

Can anyone help to debug this problem? When calling people that are on the LAN it works fine. When I try cal someone from outside the LAN it fails with "could not connect media" error.

Thats what I get in my firefox console:

Discarding an event, we don't have a call/peerConn m.room.encrypted rageshake.ts:60:15
Hangup received for call ID xxxxxxxxxxx rageshake.ts:60:15
stopAllMedia (stream=[object MediaStream]) rageshake.ts:60:15
Stopping usermedia stream {cbd342de-13d6-42e5-9c2d-77bd3533182a} rageshake.ts:60:15
Splicing usermedia stream out stream array {cbd342de-13d6-42e5-9c2d-77bd3533182a} rageshake.ts:60:15
Call state in !xxxxxxxxxxx:mydomain.com changed to ended rageshake.ts:60:15
Removing call for room  !xxxxxxxxxxx:mydomain.com rageshake.ts:60:15
Call completed. Call ID: xxxxxxxxxxx, virtual room ID: !xxxxxxxxxxx:mydomain.com, user-facing room ID: !xxxxxxxxxxx:mydomain.com, direction: outbound, our Party ID: xxxxxxxxxxx, hangup party: remote, hangup reason: ice_failed rageshake.ts:60:15
Local candidates: rageshake.ts:60:15
c2915d08 - type: host, address: 172.X.X.X, port: 49427, protocol: udp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
f5eb7160 - type: host, address: 172.X.X.X, port: 43067, protocol: udp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
3e83c1a6 - type: host, address: 172.X.X.X, port: 55588, protocol: udp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
935cbc5f - type: host, address: 172.X.X.X, port: 53342, protocol: udp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
53e5b6a3 - type: host, address: 172.X.X.X, port: 51589, protocol: tcp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
c6568990 - type: host, address: 172.X.X.X, port: 58960, protocol: tcp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
c887fa2f - type: host, address: 172.X.X.X, port: 64363, protocol: tcp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
770da316 - type: host, address: 172.X.X.X, port: 61465, protocol: tcp, relay protocol: undefined, network type: undefined rageshake.ts:60:15
Remote candidates: rageshake.ts:60:15
dfab9812 - type: host, address: 10.X.X.X, port: 60294, protocol: udp rageshake.ts:60:15
ef0f89b5 - type: host, address: 10.X.X.X, port: 9, protocol: tcp rageshake.ts:60:15
Candidate pairs: rageshake.ts:60:15
935cbc5f / dfab9812 - state: inprogress, nominated: false, requests sent undefined, requests received  undefined,  responses received: undefined, responses sent: undefined, bytes received: 0, bytes sent: 0, rageshake.ts:60:15
3e83c1a6 / dfab9812 - state: inprogress, nominated: false, requests sent undefined, requests received  undefined,  responses received: undefined, responses sent: undefined, bytes received: 0, bytes sent: 0, rageshake.ts:60:15
f5eb7160 / dfab9812 - state: inprogress, nominated: false, requests sent undefined, requests received  undefined,  responses received: undefined, responses sent: undefined, bytes received: 0, bytes sent: 0, rageshake.ts:60:15
c2915d08 / dfab9812 - state: inprogress, nominated: false, requests sent undefined, requests received  undefined,  responses received: undefined, responses sent: undefined, bytes received: 0, bytes sent: 0, rageshake.ts:60:15
Presence: unavailable rageshake.ts:60:15

su-ex added a commit to SchildiChat/element-web that referenced this issue Jan 17, 2022
* Add permission dropdown for sending reactions ([\element-hq#7492](matrix-org/matrix-react-sdk#7492)). Fixes element-hq#20450.
* Ship maximised widgets and remove feature flag ([\element-hq#7509](matrix-org/matrix-react-sdk#7509)).
* Properly maintain aspect ratio of inline images ([\element-hq#7503](matrix-org/matrix-react-sdk#7503)).
* Add zoom buttons to the location view ([\element-hq#7482](matrix-org/matrix-react-sdk#7482)).
* Remove bubble from around location events ([\element-hq#7459](matrix-org/matrix-react-sdk#7459)). Fixes element-hq#20323.
* Disable "Publish this room" option in invite only rooms ([\element-hq#7441](matrix-org/matrix-react-sdk#7441)). Fixes element-hq#6596. Contributed by @aaronraimist.
* Give secret key field an `id` ([\element-hq#7489](matrix-org/matrix-react-sdk#7489)). Fixes element-hq#20390. Contributed by @SimonBrandner.
* Display a tooltip when you hover over a location ([\element-hq#7472](matrix-org/matrix-react-sdk#7472)).
* Open map in a dialog when it is clicked ([\element-hq#7465](matrix-org/matrix-react-sdk#7465)).
* a11y - wrap notification level radios in fieldsets ([\element-hq#7471](matrix-org/matrix-react-sdk#7471)).
* Wrap inputs in fieldsets in Space visibility settings ([\element-hq#7350](matrix-org/matrix-react-sdk#7350)).
* History based navigation with new right panel store ([\element-hq#7398](matrix-org/matrix-react-sdk#7398)). Fixes element-hq#19686 element-hq#19660 and element-hq#19634.
* Associate room alias warning with public option in settings ([\element-hq#7430](matrix-org/matrix-react-sdk#7430)).
* Disable quick reactions button when no permissions ([\element-hq#7412](matrix-org/matrix-react-sdk#7412)). Fixes element-hq#20270.
* Allow opening a map view in OpenStreetMap ([\element-hq#7428](matrix-org/matrix-react-sdk#7428)).
* Display the user's avatar when they shared their location ([\element-hq#7424](matrix-org/matrix-react-sdk#7424)).
* Remove the Forward and Share buttons for location messages only ([\element-hq#7423](matrix-org/matrix-react-sdk#7423)).
* Add configuration to disable relative date markers in timeline ([\element-hq#7405](matrix-org/matrix-react-sdk#7405)).
* Space preferences for whether or not you see DMs in a Space ([\element-hq#7250](matrix-org/matrix-react-sdk#7250)). Fixes element-hq#19529 and element-hq#19955.
* Have LocalEchoWrapper emit updates so the app can react faster ([\#7358](matrix-org/matrix-react-sdk#7358)). Fixes element-hq#19749.
* Use semantic heading on dialog component ([\element-hq#7383](matrix-org/matrix-react-sdk#7383)).
* Add `/jumptodate` slash command ([\element-hq#7372](matrix-org/matrix-react-sdk#7372)). Fixes element-hq#7677.
* Update room context menu copy ([\element-hq#7361](matrix-org/matrix-react-sdk#7361)). Fixes element-hq#20133.
* Use lazy rendering in the AddExistingToSpaceDialog ([\element-hq#7369](matrix-org/matrix-react-sdk#7369)). Fixes element-hq#18784.
* Tweak FacePile tooltip to include whether or not you are included ([\element-hq#7367](matrix-org/matrix-react-sdk#7367)). Fixes element-hq#17278.
* Ensure group audio-only calls don't switch on the webcam on join ([\element-hq#20234](element-hq#20234)). Fixes element-hq#20212.
* Fix wrongly wrapping code blocks, breaking line numbers ([\element-hq#7507](matrix-org/matrix-react-sdk#7507)). Fixes element-hq#20316.
* Set header buttons to no phase when right panel is closed ([\element-hq#7506](matrix-org/matrix-react-sdk#7506)).
* Fix active Jitsi calls (and other active widgets) not being visible on screen, by showing them in PiP if they are not visible in any other container ([\element-hq#7435](matrix-org/matrix-react-sdk#7435)). Fixes element-hq#15169 and element-hq#20275.
* Fix layout of message bubble preview in settings ([\element-hq#7497](matrix-org/matrix-react-sdk#7497)).
* Prevent mutations of js-sdk owned objects as it breaks accountData ([\element-hq#7504](matrix-org/matrix-react-sdk#7504)). Fixes matrix-org/element-web-rageshakes#7822.
* fallback properly with pluralized strings ([\element-hq#7495](matrix-org/matrix-react-sdk#7495)). Fixes element-hq#20455.
* Consider continuations when resolving whether a tile is last in section ([\element-hq#7461](matrix-org/matrix-react-sdk#7461)). Fixes element-hq#20368 and element-hq#20369.
* Fix read receipts and sent indicators for bubble layout ([\element-hq#7460](matrix-org/matrix-react-sdk#7460)). Fixes element-hq#18298 and element-hq#20345.
* null-guard dataset mxTheme to prevent html exports from exploding ([\element-hq#7493](matrix-org/matrix-react-sdk#7493)). Fixes element-hq#20453.
* Fix avatar container overlapping give feedback cta ([\element-hq#7491](matrix-org/matrix-react-sdk#7491)). Fixes matrix-org/element-web-rageshakes#7987.
* Fix jump to bottom button working when on a permalink ([\element-hq#7494](matrix-org/matrix-react-sdk#7494)). Fixes element-hq#19813.
* Remove the Description from the location picker ([\element-hq#7485](matrix-org/matrix-react-sdk#7485)).
* Fix look of the untrusted device dialog ([\#7487](matrix-org/matrix-react-sdk#7487)). Fixes element-hq#20447. Contributed by @SimonBrandner.
* Hide maximise button in the sticker picker  ([\element-hq#7488](matrix-org/matrix-react-sdk#7488)). Fixes element-hq#20443. Contributed by @SimonBrandner.
* Fix space ordering to match newer spec ([\element-hq#7481](matrix-org/matrix-react-sdk#7481)).
* Fix typing notification colors ([\element-hq#7490](matrix-org/matrix-react-sdk#7490)). Fixes element-hq#20144. Contributed by @SimonBrandner.
* fix fallback for pluralized strings ([\element-hq#7480](matrix-org/matrix-react-sdk#7480)). Fixes element-hq#20426.
* Fix right panel soft crashes chat rooms ([\element-hq#7479](matrix-org/matrix-react-sdk#7479)). Fixes element-hq#20433.
* update yarn.lock and i18n ([\element-hq#7476](matrix-org/matrix-react-sdk#7476)). Fixes element-hq#20426 and element-hq#20423.
* Don't send typing notification when restoring composer draft ([\element-hq#7477](matrix-org/matrix-react-sdk#7477)). Fixes element-hq#20424.
* Fix room joining spinner being incorrect if you change room mid-join ([\element-hq#7473](matrix-org/matrix-react-sdk#7473)).
* Only return the approved widget capabilities instead of accepting all requested capabilities ([\element-hq#7454](matrix-org/matrix-react-sdk#7454)). Contributed by @dhenneke.
* Fix quoting messages from the search view ([\element-hq#7466](matrix-org/matrix-react-sdk#7466)). Fixes element-hq#20353.
* Attribute fallback i18n strings with lang attribute ([\element-hq#7323](matrix-org/matrix-react-sdk#7323)).
* Fix spotlight cmd-k wrongly expanding left panel ([\element-hq#7463](matrix-org/matrix-react-sdk#7463)). Fixes element-hq#20399.
* Fix room_id check when adding user widgets ([\element-hq#7448](matrix-org/matrix-react-sdk#7448)). Fixes element-hq#19382. Contributed by @bink.
* Add new line in settings label ([\element-hq#7451](matrix-org/matrix-react-sdk#7451)). Fixes element-hq#20365.
* Fix handling incoming redactions in EventIndex ([\element-hq#7443](matrix-org/matrix-react-sdk#7443)). Fixes element-hq#19326.
* Fix room alias address isn't checked for validity before being shown as added ([\element-hq#7107](matrix-org/matrix-react-sdk#7107)). Fixes element-hq#19609. Contributed by @Palid.
* Call view accessibility fixes ([\element-hq#7439](matrix-org/matrix-react-sdk#7439)). Fixes element-hq#18516.
* Fix offscreen canvas breaking with split-brained firefox support ([\element-hq#7440](matrix-org/matrix-react-sdk#7440)).
* Removed red shield in forwarding preview. ([\element-hq#7447](matrix-org/matrix-react-sdk#7447)). Contributed by @ankur12-1610.
* Wrap status message ([\element-hq#7325](matrix-org/matrix-react-sdk#7325)). Fixes element-hq#20092. Contributed by @SimonBrandner.
* Move hideSender logic into state so it causes re-render ([\element-hq#7413](matrix-org/matrix-react-sdk#7413)). Fixes element-hq#18448.
* Fix dialpad positioning ([\element-hq#7446](matrix-org/matrix-react-sdk#7446)). Fixes element-hq#20175. Contributed by @SimonBrandner.
* Hide non-functional list options on Suggested sublist ([\element-hq#7410](matrix-org/matrix-react-sdk#7410)). Fixes element-hq#20252.
* Fix width overflow in mini composer overflow menu ([\element-hq#7411](matrix-org/matrix-react-sdk#7411)). Fixes element-hq#20263.
* Fix being wrongly sent to Home space when creating/joining/leaving rooms ([\element-hq#7418](matrix-org/matrix-react-sdk#7418)). Fixes matrix-org/element-web-rageshakes#7331 element-hq#20246 and element-hq#20240.
* Fix HTML Export where the data-mx-theme is `Light` not `light` ([\element-hq#7415](matrix-org/matrix-react-sdk#7415)).
* Don't disable username/password fields whilst doing wk-lookup ([\element-hq#7438](matrix-org/matrix-react-sdk#7438)). Fixes element-hq#20121.
* Prevent keyboard propagation out of context menus ([\element-hq#7437](matrix-org/matrix-react-sdk#7437)). Fixes element-hq#20317.
* Fix nulls leaking into geo urls ([\element-hq#7433](matrix-org/matrix-react-sdk#7433)).
* Fix zIndex of peristent apps in miniMode ([\element-hq#7429](matrix-org/matrix-react-sdk#7429)).
* Space panel should watch spaces for space name changes ([\element-hq#7432](matrix-org/matrix-react-sdk#7432)).
* Fix list formatting alternating on edit ([\element-hq#7422](matrix-org/matrix-react-sdk#7422)). Fixes element-hq#20073. Contributed by @renancleyson-dev.
* Don't show `Testing small changes` without UIFeature.Feedback ([\element-hq#7427](matrix-org/matrix-react-sdk#7427)). Fixes element-hq#20298.
* Fix invisible toggle space panel button ([\element-hq#7426](matrix-org/matrix-react-sdk#7426)). Fixes element-hq#20279.
* Fix legacy breadcrumbs wrongly showing up ([\element-hq#7425](matrix-org/matrix-react-sdk#7425)).
* Space Panel use SettingsStore instead of SpaceStore as source of truth ([\element-hq#7404](matrix-org/matrix-react-sdk#7404)). Fixes element-hq#20250.
* Fix inline code block nowrap issue ([\element-hq#7406](matrix-org/matrix-react-sdk#7406)).
* Fix notification badge for All Rooms space ([\element-hq#7401](matrix-org/matrix-react-sdk#7401)). Fixes element-hq#20229.
* Show error if could not load space hierarchy ([\element-hq#7399](matrix-org/matrix-react-sdk#7399)). Fixes element-hq#20221.
* Increase gap between ELS and the subsequent event to prevent overlap ([\element-hq#7391](matrix-org/matrix-react-sdk#7391)). Fixes element-hq#18319.
* Fix list of members in space preview ([\element-hq#7356](matrix-org/matrix-react-sdk#7356)). Fixes element-hq#19781.
* Fix sizing of e2e shield in bubble layout ([\element-hq#7394](matrix-org/matrix-react-sdk#7394)). Fixes element-hq#19090.
* Fix bubble radius wrong when followed by a state event from same user ([\element-hq#7393](matrix-org/matrix-react-sdk#7393)). Fixes element-hq#18982.
* Fix alignment between ELS and Events in bubble layout ([\element-hq#7392](matrix-org/matrix-react-sdk#7392)). Fixes element-hq#19652 and element-hq#19057.
* Don't include the accuracy parameter in location events if accuracy could not be determined. ([\element-hq#7375](matrix-org/matrix-react-sdk#7375)).
* Make compact layout only apply to Modern layout ([\element-hq#7382](matrix-org/matrix-react-sdk#7382)). Fixes element-hq#18412.
* Pin qrcode to fix e2e verification bug ([\element-hq#7378](matrix-org/matrix-react-sdk#7378)). Fixes element-hq#20188.
* Add internationalisation to progress strings in room export dialog ([\element-hq#7385](matrix-org/matrix-react-sdk#7385)). Fixes element-hq#20208.
* Prevent escape to cancel edit from also scrolling to bottom ([\element-hq#7380](matrix-org/matrix-react-sdk#7380)). Fixes element-hq#20182.
* Fix narrow mode composer buttons for polls labs ([\element-hq#7386](matrix-org/matrix-react-sdk#7386)). Fixes element-hq#20067.
* Fix useUserStatusMessage exploding on unknown user ([\element-hq#7365](matrix-org/matrix-react-sdk#7365)).
* Fix room join spinner in room list header ([\element-hq#7364](matrix-org/matrix-react-sdk#7364)). Fixes element-hq#20139.
* Fix room search sometimes not opening spotlight ([\element-hq#7363](matrix-org/matrix-react-sdk#7363)). Fixes matrix-org/element-web-rageshakes#7288.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

4 participants