Ask / Submit
5

Threema Web not working

Tracked by Jolla

asked 2019-03-25 21:40:56 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2019-03-26 17:26:54 +0300

markus_wes gravatar image

I installed Threema via it's apk download on SailfishX 3.0.1.14 running on a Sony XA2. It works pretty well, except for threema web which seems to be unable to create a connection to the Sailfish phone.

Actually the connection process starts but then comes to an end at 60% asking whether:

  1. The phone is online (which it is via WiFi)
  2. If there is a browser-plugin installed blocking WebRTC
  3. If there is an Ad-Blocker installed

I've tried with a Win10 PC using latest Firefox and Vivaldi browser. For both there is neither a adblocker active, nore I have WebRTC blocked. Therefore as I don't think one of the above is the issue, I'm hoping for help here. Any ideas?

EDIT due to @bomo:

I didn't know about the diagnostics until now, thanks for the hint!

The WebRTC Diagnostics outputs:

Starting Call Diagnostics...
Settings: force_turn=0
ICE Candidates found:
Done!

Threema Web Diagnostics outputs:

Starting Threema Web Diagnostics...
----------------
Networks (o):
----------------
Non-loopback interfaces (2):
- 192.168.x.x
- fe80::xxxx:xxxx:xxxx:xxxx%wlan0 [link-local]
----------------
+0ms Starting WS tests
+24ms Connecting to WebSocket
+25ms WS state changed to CONNECTING
+466ms WS state changed to OPEN
+475ms WS connected (192.168.x.x:45334 -> 5.148.189.211:443)
+476ms WS received 81 bytes
+483ms Received server-hello message!
+484ms WS state changed to CLOSING
+541ms WS state changed to CLOSED
+541ms WS closed by us with code 1000 (Normal closing)
+542ms WS tests complete (success=true)
----------------
+0ms Starting WebRTC tests
+0ms Setting: allowWebrtcIpv6=false
+76ms ICE renegotiation needed
+77ms SDP create success
+79ms PC signaling state change to HAVE_LOCAL_OFFER
+86ms SDP set success
+86ms ICE gathering state change to GATHERING
+92ms [host] udp ::1:58225
+92ms [host] udp ::1:58225
+93ms [host] udp 127.0.0.1:33106
+94ms [host] udp 127.0.0.1:33106
+206ms [host] tcp/active 192.168.x.x:9
+207ms [host] tcp/active 192.168.x.x:9
+208ms [host] tcp/passive ::1:59122
+208ms [host] tcp/passive ::1:59122
+209ms [host] tcp/passive 127.0.0.1:53149
+209ms [host] tcp/passive 127.0.0.1:53149
+11994ms WebRTC test timed out
+11995ms WebRTC tests complete (success=true)
----------------
Done.

Seem that WebRTC has timed out what doesn't look promising although it mentions a success at the end...

edit retag flag offensive close delete

Comments

I think it's the WebRTC.

Spark ( 2019-03-25 21:45:41 +0300 )edit

Did you check threema settings -> troubleshooting -> web and webrtc diagnostics?

bomo ( 2019-03-26 00:05:40 +0300 )edit

Just a stupid guess, but is it possible that the LXC container that runs aliendalvik on XA2 is not forwarding and/or blocking traffic? Maybe google around for how to enable forwarding from LXC to host etc.

bomo ( 2019-03-26 13:24:32 +0300 )edit
1

When I connect via 4G-Network I can use Threema Web, however the connection is rather fragile. With WIFI it doesn't work, in the Web-UI it starts loading the session and stops at 60% with the message that the connection takes too long.

jollajo ( 2019-03-26 13:28:30 +0300 )edit
1

Just realised that if I disable IPv6 for my Threema-Settings-TroubleShooting-IPv6 for calls and web it also works on Wifi. My mobile operator (Vodafone, Germany) only supports IPv4 so it seems be that IPv6 routing has an issue.

jollajo ( 2019-03-26 13:32:39 +0300 )edit

2 Answers

Sort by » oldest newest most voted
5

answered 2019-05-03 00:49:42 +0300

triessner gravatar image

updated 2019-05-07 19:11:15 +0300

I can confirm jollajo's observations. Threema web works with 4G and doesn't work with WLAN. I have a Xperia XA2 and SailfishOS 3.0.3.9. I've had contact to threema support and made some analytics for them. After that they said, that there is a problem during the phase of collecting some network information, so called ICE Candidates. Threema uses the STUN/TURN protokoll for that.

I hope, this information helps the Sailfish Team to solve the issue. I've opened a ticket at jolla support already.

edit flag offensive delete publish link more

Comments

After installing 3.0.3.9 today I can confirm this behavior. Please keep us updated if there are any news on the ticket...

markus_wes ( 2019-05-07 23:04:12 +0300 )edit

The jolla team has marked this thread as "Tracked by Jolla" (see direct below the title "Threema Web not working"). But their response was not very promising:

Due to our limited resources, we cannot (usually) fix issues in the operation of individual Android apps on Sailfish OS. However, if the issue appears to be generic, meaning that it could be harmful to other apps, too, then we might be able to allocate the needed developer resources to fix the issue.

Hence the "tracking" tag here is not a promise of fixing it but an indication that a bug has been filed and the issue is in the backlog of our R&D.
Let's hope for the best.
triessner ( 2019-05-15 16:51:37 +0300 )edit
1

answered 2019-07-25 10:17:27 +0300

markus_wes gravatar image

Lately I was notified that there is an update of Threema to version 4.0.2. After installing the update Threema Web seems to work fine on Sailfish 3.0.3.10 via both WiFi and mobile data.

Anyone else to confirm this?

edit flag offensive delete publish link more

Comments

Hm, seems it worked only a single time for me.

markus_wes ( 2019-07-25 13:18:05 +0300 )edit

works for me too now (Firefox 60esr). More than once :)

Spark ( 2019-07-25 14:31:21 +0300 )edit

I'm still on Threema 3.7 and Threema Web now works with SFOS 3.1.0 with Chromium. Unfortunately the Web-Session does not survive an Suspend-Resume cylcle of the PC.

jollajo ( 2019-07-25 15:18:42 +0300 )edit

I just installed SFOS 3.1.0.11 and it seems to work again now (with Firefox). I'll do some further testing and report when I have something reproducible...

markus_wes ( 2019-07-25 15:20:56 +0300 )edit

Same to me, works again also with wlan, tested for several times

triessner ( 2019-08-12 19:14:11 +0300 )edit
Login/Signup to Answer

Question tools

Follow
8 followers

Stats

Asked: 2019-03-25 21:40:56 +0300

Seen: 605 times

Last updated: Jul 25