Messages don't appear in android app, only on PC

Delta Chat version

1.8.1

Expected behavior

I want to see all messages of all contacts on all devices.

Actual behavior

The message of one contact only appears on PC - it doesn’t appear on android. I can send messages through the android-app, but I won’t see signs, that the messages were read and I don’t get the replies. This is only from one contact. For all the others Delta Chat works fine. The problem couldn’t even be a provider problem - I have other contacts with the same provider and with them messaging works fine.

Steps to reproduce the problem

  1. I write a message from android-phone
  2. I don’t receive a read receipt
  3. I don’t receive messages from the contact.

Debug logs

device=HUAWEI POT-LX1 (POT-LX1EEA)
android=10 (10.0.0.192C431, POT-LX1 10.0.0.192(C431E3R4P1))
sdk=29
memory=5M (5.92% free, 512M max)
memoryClass=384
host=cn-central-1b-7f14b034c1588726214724-2040956691-3mm44
applicationId=chat.delta
app=Delta Chat 1.8.1-gplay
installer=com.android.vending
ignoreBatteryOptimizations=true
notifications=true
reliableService=false

arch=64
bcc_self=1
blobdir=/data/user/0/chat.delta/files/messenger-2.db-blobs
configured_mvbox_folder=DeltaChat
configured_sentbox_folder=Sent
database_dir=/data/user/0/chat.delta/files/messenger-2.db
database_version=63
deltachat_core_version=v1.33.0
display_name=removed
e2ee_enabled=1
entered_account_settings=removed imap:unset::unset:0:cert_automatic smtp:unset:0:unset:0:cert_automatic 0
fingerprint=EF3B58E1856108A905F79D45B9A595B3A453AB8D
folders_configured=3
inbox_watch=1
is_configured=1
level=awesome
mdns_enabled=1
messages_in_contact_requests=0
mvbox_move=1
mvbox_watch=1
number_of_chat_messages=454
number_of_chats=39
number_of_contacts=225
private_key_count=1
public_key_count=9
selfavatar=
sentbox_watch=1
sqlite_version=3.30.1
uptime=0h 10m 34s
used_account_settings=removed imap:removed:
:removed:993:cert_automatic smtp:removed:***:removed:465:cert_automatic AUTH_NORMAL 0x4IMAP_SSL 0x200SMTP_SSL 0x20000

--------- beginning of crash
07-01 20:28:52.244 20581 20581 E AndroidRuntime: FATAL EXCEPTION: main
07-01 20:28:52.244 20581 20581 E AndroidRuntime: Process: chat.delta, PID: 20581
07-01 20:28:52.244 20581 20581 E AndroidRuntime: java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/1D92-4986/Android/data/chat.delta/cache/capture5338770319573857731jpg
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:744)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:418)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.util.FileProviderUtil.getUriFor(FileProviderUtil.java:19)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.createAvatarSelectionIntent(CreateProfileActivity.java:329)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.handleAvatarSelectionWithPermissions(CreateProfileActivity.java:360)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.lambda$6suxu8epwtdVptAk5CXri2yjlqk(Unknown Source:0)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.-$$Lambda$CreateProfileActivity$6suxu8epwtdVptAk5CXri2yjlqk.run(Unknown Source:2)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.PermissionsRequest.onResult(PermissionsRequest.java:85)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.Permissions$PermissionsBuilder.executePreGrantedPermissionsRequest(Permissions.java:153)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.Permissions$PermissionsBuilder.execute(Permissions.java:141)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.lambda$initializeResources$0$CreateProfileActivity(CreateProfileActivity.java:234)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at org.thoughtcrime.securesms.-$$Lambda$CreateProfileActivity$1BZFqVwryGxs1AazLyDwlO4jsr0.onClick(Unknown Source:2)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.view.View.performClick(View.java:7192)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7166)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.view.View.access$3500(View.java:824)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:27592)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:888)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.os.Looper.loop(Looper.java:213)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8178)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
07-01 20:28:52.244 20581 20581 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: FATAL EXCEPTION: main
07-01 20:28:54.897 23775 23775 E AndroidRuntime: Process: chat.delta, PID: 23775
07-01 20:28:54.897 23775 23775 E AndroidRuntime: java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/1D92-4986/Android/data/chat.delta/cache/capture3899054845626239119jpg
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:744)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:418)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.util.FileProviderUtil.getUriFor(FileProviderUtil.java:19)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.createAvatarSelectionIntent(CreateProfileActivity.java:329)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.handleAvatarSelectionWithPermissions(CreateProfileActivity.java:360)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.lambda$6suxu8epwtdVptAk5CXri2yjlqk(Unknown Source:0)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.-$$Lambda$CreateProfileActivity$6suxu8epwtdVptAk5CXri2yjlqk.run(Unknown Source:2)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.PermissionsRequest.onResult(PermissionsRequest.java:85)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.Permissions$PermissionsBuilder.executePreGrantedPermissionsRequest(Permissions.java:153)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.permissions.Permissions$PermissionsBuilder.execute(Permissions.java:141)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.CreateProfileActivity.lambda$initializeResources$0$CreateProfileActivity(CreateProfileActivity.java:234)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at org.thoughtcrime.securesms.-$$Lambda$CreateProfileActivity$1BZFqVwryGxs1AazLyDwlO4jsr0.onClick(Unknown Source:2)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.view.View.performClick(View.java:7192)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7166)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.view.View.access$3500(View.java:824)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:27592)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:888)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.os.Looper.loop(Looper.java:213)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8178)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
07-01 20:28:54.897 23775 23775 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
--------- beginning of system
07-01 21:49:16.588 17891 17891 D ActivityThread: Attach thread to application
07-01 21:50:05.645 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:50:05.727 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{20bb558 token=android.os.BinderProxy@753da7b {chat.delta/org.thoughtcrime.securesms.RoutingActivity}} token= android.os.BinderProxy@753da7b
07-01 21:50:06.934 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:50:06.956 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{7b9d66b token=android.os.BinderProxy@636368b {chat.delta/org.thoughtcrime.securesms.qr.QrActivity}} token= android.os.BinderProxy@636368b
07-01 21:50:09.963 17891 17891 D ActivityThread: Remove activity client record, r= ActivityRecord{7b9d66b token=android.os.BinderProxy@636368b {chat.delta/org.thoughtcrime.securesms.qr.QrActivity}} token= android.os.BinderProxy@636368b
07-01 21:50:22.031 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:50:22.132 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{806ee9b token=android.os.BinderProxy@5e5b21d {chat.delta/org.thoughtcrime.securesms.ConversationActivity}} token= android.os.BinderProxy@5e5b21d
07-01 21:50:41.667 17891 17891 V ActivityThread: Handle window ActivityRecord{806ee9b token=android.os.BinderProxy@5e5b21d {chat.delta/org.thoughtcrime.securesms.ConversationActivity}} visibility: false
07-01 21:52:05.434 17891 17891 D ActivityThread: Remove activity client record, r= ActivityRecord{806ee9b token=android.os.BinderProxy@5e5b21d {chat.delta/org.thoughtcrime.securesms.ConversationActivity}} token= android.os.BinderProxy@5e5b21d
07-01 21:52:08.077 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:52:08.433 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{c64c75 token=android.os.BinderProxy@7a94378 {chat.delta/org.thoughtcrime.securesms.LocalHelpActivity}} token= android.os.BinderProxy@7a94378
07-01 21:52:11.850 17891 17891 D ActivityThread: Remove activity client record, r= ActivityRecord{c64c75 token=android.os.BinderProxy@7a94378 {chat.delta/org.thoughtcrime.securesms.LocalHelpActivity}} token= android.os.BinderProxy@7a94378
07-01 21:52:20.711 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:52:20.726 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{b372aee token=android.os.BinderProxy@cd34da8 {chat.delta/org.thoughtcrime.securesms.ApplicationPreferencesActivity}} token= android.os.BinderProxy@cd34da8
07-01 21:52:52.263 17891 17891 V ActivityThread: Handle window ActivityRecord{b372aee token=android.os.BinderProxy@cd34da8 {chat.delta/org.thoughtcrime.securesms.ApplicationPreferencesActivity}} visibility: false
--------- beginning of main
07-01 21:59:39.463 17891 17891 W PassphraseRequiredActionBarActivity: onDestroy()
07-01 21:59:39.505 17891 17891 D ActivityThread: Remove activity client record, r= ActivityRecord{b372aee token=android.os.BinderProxy@cd34da8 {chat.delta/org.thoughtcrime.securesms.ApplicationPreferencesActivity}} token= android.os.BinderProxy@cd34da8
07-01 21:59:39.536 17891 17891 W PassphraseRequiredActionBarActivity: onResume()
07-01 21:59:39.569 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
07-01 21:59:39.695 17891 17891 I HwViewRootImpl: removeInvalidNode all the node in jank list is out of time
07-01 21:59:40.488 17891 17891 V AudioManager: querySoundEffectsEnabled…
07-01 21:59:40.562 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
07-01 21:59:45.439 17891 17891 V AudioManager: querySoundEffectsEnabled…
07-01 21:59:45.464 17891 17891 I HwViewRootImpl: removeInvalidNode all the node in jank list is out of time
07-01 21:59:45.465 17891 17891 W PassphraseRequiredActionBarActivity: onPause()
07-01 21:59:45.477 17891 17891 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@e1b1308
07-01 21:59:45.486 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:59:45.486 17891 17891 W PassphraseRequiredActionBarActivity: onCreate(null)
07-01 21:59:45.505 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{b7fac50 token=android.os.BinderProxy@e1b1308 {chat.delta/org.thoughtcrime.securesms.ApplicationPreferencesActivity}} token= android.os.BinderProxy@e1b1308
07-01 21:59:45.514 17891 17891 W PassphraseRequiredActionBarActivity: onResume()
07-01 21:59:45.537 17891 20882 D HiTouch_PressGestureDetector: onAttached, package=chat.delta, windowType=1, mHiTouchRestricted=false
07-01 21:59:45.543 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
07-01 21:59:45.766 17891 18456 W libEGL : EGLNativeWindowType 0x7bbee460d0 disconnect failed
07-01 21:59:45.766 17891 18456 D OpenGLRenderer: endAllActiveAnimators on 0x7b9df66600 (MenuPopupWindow$MenuDropDownListView) with handle 0x7bbf108300
07-01 21:59:45.836 17891 18456 W libEGL : EGLNativeWindowType 0x7c13316090 disconnect failed
07-01 21:59:46.102 17891 17891 W Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
07-01 21:59:46.104 17891 17891 V HiTouch_HiTouchSensor: User setup is finished.
07-01 21:59:46.197 17891 17891 W HiTouch_PressGestureDetector: Touch pointer move a lot. The moving distance of X is:3.0828934, limit is:60The moving distance of Y is:72.07764, limit is:60
07-01 21:59:46.342 17891 17891 D OverScrollerOptimization: fling time is flingTime = 2.6275656863889276 velocity = 4908
07-01 21:59:46.342 17891 17891 D OverScrollerOptimization: fling time is flingTime = 2.6275656863889276 velocity = 4908
07-01 21:59:47.147 17891 17891 V AudioManager: querySoundEffectsEnabled…
07-01 21:59:47.163 17891 17891 W PassphraseRequiredActionBarActivity: onPause()
07-01 21:59:47.177 17891 17891 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7fe1934
07-01 21:59:47.181 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:59:47.182 17891 17891 W PassphraseRequiredActionBarActivity: onCreate(null)
07-01 21:59:47.205 17891 17891 D ConnectivityManager: requestNetwork and the calling app is: chat.delta
07-01 21:59:47.222 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{33a6df token=android.os.BinderProxy@7fe1934 {chat.delta/org.thoughtcrime.securesms.LocalHelpActivity}} token= android.os.BinderProxy@7fe1934
07-01 21:59:47.224 17891 17891 W PassphraseRequiredActionBarActivity: onResume()
07-01 21:59:47.247 17891 20892 D HiTouch_PressGestureDetector: onAttached, package=chat.delta, windowType=1, mHiTouchRestricted=false
07-01 21:59:47.267 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
07-01 21:59:47.553 17891 18456 W libEGL : EGLNativeWindowType 0x7bbec58f10 disconnect failed
07-01 21:59:47.554 17891 18456 D OpenGLRenderer: endAllActiveAnimators on 0x7b8ce42700 (RippleDrawable) with handle 0x7bac1f7200
07-01 21:59:48.223 17891 17891 W PassphraseRequiredActionBarActivity: onPause()
07-01 21:59:48.236 17891 17891 W PassphraseRequiredActionBarActivity: onResume()
07-01 21:59:48.257 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
07-01 21:59:48.504 17891 18456 W libEGL : EGLNativeWindowType 0x7c13315910 disconnect failed
07-01 21:59:48.510 17891 17891 W PassphraseRequiredActionBarActivity: onDestroy()
07-01 21:59:48.510 17891 17891 D ActivityThread: Remove activity client record, r= ActivityRecord{33a6df token=android.os.BinderProxy@7fe1934 {chat.delta/org.thoughtcrime.securesms.LocalHelpActivity}} token= android.os.BinderProxy@7fe1934
07-01 21:59:49.636 17891 17891 V AudioManager: querySoundEffectsEnabled…
07-01 21:59:49.746 17891 17891 E chromium: [ERROR:aw_browser_terminator.cc(125)] Renderer process (20886) crash detected (code -1).
07-01 21:59:50.245 17891 17891 W HiTouch_PressGestureDetector: Touch pointer move a lot. The moving distance of X is:33.995003, limit is:60The moving distance of Y is:101.64087, limit is:60
07-01 21:59:50.318 17891 17891 D OverScrollerOptimization: fling time is flingTime = 3.197751331406965 velocity = 14451
07-01 21:59:50.318 17891 17891 D OverScrollerOptimization: fling time is flingTime = 3.197751331406965 velocity = 14451
07-01 21:59:51.420 17891 17891 V AudioManager: querySoundEffectsEnabled…
07-01 21:59:51.438 17891 17891 W PassphraseRequiredActionBarActivity: onPause()
07-01 21:59:51.453 17891 17891 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2739f2b
07-01 21:59:51.467 17891 17891 V ActivityThread: callActivityOnCreate
07-01 21:59:51.487 17891 17891 D ActivityThread: add activity client record, r= ActivityRecord{3eee0c9 token=android.os.BinderProxy@2739f2b {chat.delta/org.thoughtcrime.securesms.LogViewActivity}} token= android.os.BinderProxy@2739f2b
07-01 21:59:51.515 17891 20923 D HiTouch_PressGestureDetector: onAttached, package=chat.delta, windowType=1, mHiTouchRestricted=false
07-01 21:59:51.528 17891 18456 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000!

That’s how the same chat looks on mobile.

Screenshot_20200701_220152_chat.delta

Just found out: In an older version (1.2.0 Linux Version) the messages appeared. Now that I updated to 1.3.4, it doesn’t work anymore. I believe to have found the reason for the problem: the mail adress, that was sent to me and where I can’t receive e-Mails was spelled with captial latters like Firstname.Secondname@Provider.com - maybe that’s the reason for it. I would like to change the e-mail adresse, but when I delete all the chats and the contacts and type in the mail adress with small letters, it appears in the big letter version again.

Do you mean that the messages do not show up in both versions, 1.8.1 (for Android) and 1.3.4 (for Desktop)? These versions are no longer current, so could you test again with 1.10.4 (for Android) and 1.4.3 (for Desktop) and report back, please? Thanks in advance.

Where can I get these versions from? I’m waiting for these updates, but neither can I download them from the website nor from playstore.

For Android: https://download.delta.chat/android/deltachat-gplay-release-1.10.4.apk
For Desktop: https://download.delta.chat/desktop/v1.4.3/DeltaChat%20Setup%201.4.3.exe

Tried it with the new desktop and android version - doesn’t work either. The messages don’t show up in both versions. They showed up in 1.2.0 but not in the current versions. What is interesting: I receive the e-mails in my e-mail account in the delta chat folder, but they simply don’t show up in the app. I also had this person sent me new messages for trying out.

Strange, I tested with the current Desktop version, but I cannot reproduce that, although the addresses I tried have no dot but an underscore between first and last name.

Could you add a new contact with capital letters and try again? (If you cannot perform the test with another person, just let me know and I will send my mail address to you in a private message.)

I wouldn’t know another person to do this with…all my other contacts work fine with delta chat.

Ah, before we try something: Does your contact use Delta Chat, too, or another mailer?

He uses Delta Chat (with GMail Address)

OK, I will send my mail address to you in a private mail, so you can add it with “New chat” to check it out.

Solution: Both participants have to update to the newest version of delta chat

2 Likes

Thanks for reporting, and have fun with Delta Chat! :slightly_smiling_face: