element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Call : Sorry, an error occur

Open Thatoo opened this issue 1 month ago • 4 comments

Steps to reproduce

  1. I go to a DM room in Schildichat X android with account A
  2. Start a call to account B who answer from Element Desktop
  3. It works
  4. And opposite also work, account B starting from Element Desktop and account A answering in Schildichat X android

Then

  1. I go to a DM room in Element X android with account B
  2. Start a call to account A who answer from Element Desktop
  3. Call isn't starting, I get a black screen and few second after an error message saying "Sorry, an error occurre"
  4. and opposite won't work neither, if account A start the call from Element Desktop and account B answer within Element X android, account A keep waiting whereas account B has answer, got a black screen and the the same error message : "Sorry, an error occurre"

Outcome

What did you expect?

the call to work with Element X

What happened instead?

A black screen with an error message : "Sorry, an error occurre"

Your phone model

Fairphone 3+

Operating system version

13

Application version and app store

Element X version 25.11.0

Homeserver

Synapse 1.139.2 for both account A and B

Will you send logs?

Yes

Are you willing to provide a PR?

No

Thatoo avatar Nov 08 '25 23:11 Thatoo

Please check that no accounts have unverified sessions.

bmarty avatar Nov 10 '25 15:11 bmarty

None of the two account have unverified sessions. They both have only verified sessions.

Thatoo avatar Nov 10 '25 19:11 Thatoo

I tried with Schildichat Next (based on Element X 25.11.2) and I can start a call but it lags very much. Can it be that my Fairphone 3+ is out of the game? Not powerfull enough?

[edit] no it doesn't sound like my Fairphone 3+ can't handle an Element call because if I try using https://call.element.io then it works very well!

So the issue seems really linked to the app. I tried with Element X 25.11.2 but I get the same error...

Thatoo avatar Nov 16 '25 20:11 Thatoo

I sent logs through Element X app (25.11.2).

Thatoo avatar Nov 17 '25 15:11 Thatoo

At the same time, I tried with an other phone, an old samsung running LineageOS 20 (Android 13 also) and it has worked like a charm.

Here is what I get in my phone's log when I try to run a call :

11-28 21:39:31.789 20764 20764 I ExoPlayerImpl: Init 1623bb2 [AndroidXMedia3/1.8.0] [FP3, FP3, Fairphone, 33]
11-28 21:39:31.854 20764 20773 I ement.android.x: Background young concurrent copying GC freed 1245380(41MB) AllocSpace objects, 5(160KB) LOS objects, 25% free, 120MB/160MB, paused 410us,48us total 134.951ms
11-28 21:39:31.965 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:31.974 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:31.981 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:31.989 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:31.997 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:32.005 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:32.012 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:32.022 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:32.039 20764 20764 W CCL     : Nothing to measure for widget: 1
11-28 21:39:33.786 20764 20794 W Parcel  : Expecting binder but got null!
11-28 21:39:33.825 20764 20764 D TrafficStats: tagSocket(210) with statsTag=0xffffffff, statsUid=-1
11-28 21:39:33.833 20764 20764 D TrafficStats: tagSocket(207) with statsTag=0xffffffff, statsUid=-1
11-28 21:39:33.850 20764 20794 W Parcel  : Expecting binder but got null!
11-28 21:39:33.866 20764 20794 E OpenGLRenderer: Unable to match the desired swap behavior.
11-28 21:39:33.966 20764 20794 E OpenGLRenderer: Unable to match the desired swap behavior.
11-28 21:39:34.270 20764 20794 D OpenGLRenderer: endAllActiveAnimators on 0x7942532df0 (UnprojectedRipple) with handle 0x785265f770
11-28 21:39:44.025 20764 20794 W Parcel  : Expecting binder but got null!
11-28 21:39:44.050 20764 20794 E OpenGLRenderer: Unable to match the desired swap behavior.
11-28 21:39:44.063 20764 20764 E chromium: [ERROR:android_webview/browser/aw_browser_terminator.cc:165] Renderer process (21472) crash detected (code -1).
11-28 21:39:45.125 20764 20794 E OpenGLRenderer: Unable to match the desired swap behavior.
11-28 21:39:45.691 20764 20794 D OpenGLRenderer: endAllActiveAnimators on 0x7942617670 (UnprojectedRipple) with handle 0x78526cb200
11-28 21:39:46.821 20764 20764 I ExoPlayerImpl: Release 1623bb2 [AndroidXMedia3/1.8.0] [FP3, FP3, Fairphone, 33] [media3.common, media3.exoplayer, media3.decoder]

Any idea of the issue? and what I can do to solve it?

Thatoo avatar Nov 28 '25 21:11 Thatoo

After reading this https://stackoverflow.com/questions/77673987/unable-to-match-the-desired-swap-behavior-in-android-studio, I tried emptying cache of app and then I reconnect and it works fine now.

Thatoo avatar Nov 28 '25 21:11 Thatoo