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

New incoming message not shown #753

Open
andyggg opened this issue Feb 17, 2019 · 7 comments
Open

New incoming message not shown #753

andyggg opened this issue Feb 17, 2019 · 7 comments
Labels
app-update Requires an app update bug It's a bug! os-ios Concerns the iOS app

Comments

@andyggg
Copy link

andyggg commented Feb 17, 2019

Expected Behavior

New incoming messages should appear in a chat in Threema web.

Current Behavior

Sometimes, after some idle time, new incoming messages don't appear in the chat. However, in most cases it works.

Possible Solution

Work-around: disconnect and re-connect to Threema.

Steps to Reproduce (for bugs)

  1. Run Threema web in a tab In Firefox 65 (64 Bit)
  2. Switch to another tab leaving the chat open
  3. Surf the web in said other tab for 5(?) Minutes
  4. receive a Threema message in the chat
  5. Switch back to Threema-Tab
  6. new message not shown in chat (sometimes! Most times it works)
  7. Switching between chats doesn't help - chat does not properly refresh...

Your Environment

  • Threema Web version: 2.1.7
  • Threema App version: 4.1.1 (2427)
  • Browser name and version: Firefox 65 (64 Bit)
  • Computer operating system and version: Windows 10
  • Smartphone operating system and version: iOS 12.1.4
@lgrahl lgrahl added bug It's a bug! os-ios Concerns the iOS app labels Mar 12, 2019
@lgrahl
Copy link
Contributor

lgrahl commented Mar 12, 2019

Confirmed due to multiple users affected but we are still unable to reproduce it so far.

@xan-a-a
Copy link

xan-a-a commented Mar 16, 2019

Just in case any of the Threema devs live in Berlin. I live like an hour away and experience this almost daily. I could call you as soon as it happens again so you could come over and have a look at it while I'm in this "useful state" of being connected yet not connected.

Or if there is anything I could do on my side to help you out, don't hesitate to tell me.

Version 72.0.3626.119 (Official Build) (64-bit)
macOS 10.14.3
iOS 12.1.2

@dbrgn
Copy link
Contributor

dbrgn commented Mar 18, 2019

Are all affected users on iOS?

@xan-a-a
Copy link

xan-a-a commented Mar 18, 2019

At least in my group chats, yes. I don't know how you keep the app active on Android, probably a service which is something that iOS doesn't offer. With Whatsapp Web I also get a lot of "Connection lost" messages especially on 2.4ghz Wifis - but at least it's telling me about it so I can hit the home button on my iPhone and connect normally again. It doesn't have to be a popup, WA Web just makes a yellow banner appear on top of the chat list telling you to stay connected. It then tries to reconnect after a couple of seconds - does Threema Web even try that? Or can it not do that because it's not noticing the connection loss? I've noticed the "." behind "Threema" turning yellow or red sometimes but I haven't been able to make something out of it, seems rather random.

It's the same with the case when another session starts, the previous Threema Web session doesn't get notified that it's lost the connection now and you are messaging the void as those messages never make it. Would it be possible to send a broadcast to the old sessions that a new one has been launched?

@lgrahl
Copy link
Contributor

lgrahl commented Apr 2, 2019

Threema Web for iOS reconnects on demand.

Let's please not get distracted from the core issue which is the loss of incoming messages. 🙂


We were able to reproduce this once but, unfortunately, Safari discarded the console logs after a while, so we weren't able to look into anything.

For anyone affected that has sufficient knowledge to self-host, please activate the DEBUG as well as MSG_DEBUGGING in config.ts and, once the bug happens, send the browser's console log to *SUPPORT (with timestamps and a rough estimate on when the issue occurred).

@lgrahl
Copy link
Contributor

lgrahl commented Jun 26, 2019

Status: This unfortunately takes quite a while but we're slowly getting somewhere by improving our debugging facilities.

@lgrahl
Copy link
Contributor

lgrahl commented Jul 22, 2019

There's a problem in the ARP (threema-ch/app-remote-protocol#5) related to this issue. I will update the web client to implement the new behaviour as specified in this pull request and we'll see if it partially fixes the issue. However, to fully resolve the problem, an iOS app update is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-update Requires an app update bug It's a bug! os-ios Concerns the iOS app
Development

No branches or pull requests

4 participants