question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

connectivity issue since letsencrypt cert renewal (samsung s6 android 7.0)

See original GitHub issue

Steps to reproduce

opening element app shows a red banner “connectivity to the server has been lost”

I’m using a homeserver (other client work fine, nexus android same version of element, web client etc…)

next is a exception from logcat (not sure if it’s related)

12-20 18:06:37.601  3636 30788 E Parcel  : Class not found when unmarshalling: im.vector.app.features.home.HomeActivityArgs
12-20 18:06:37.601  3636 30788 E Parcel  : java.lang.ClassNotFoundException: im.vector.app.features.home.HomeActivityArgs
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.Class.classForName(Native Method)
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.Class.forName(Class.java:400)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.Parcel.readParcelableCreator(Parcel.java:2517)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.Parcel.readParcelable(Parcel.java:2471)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.Parcel.readValue(Parcel.java:2374)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.Parcel.readArrayMapInternal(Parcel.java:2727)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.BaseBundle.unparcel(BaseBundle.java:269)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.BaseBundle.getString(BaseBundle.java:992)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.content.Intent.getStringExtra(Intent.java:6727)
12-20 18:06:37.601  3636 30788 E Parcel  :      at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:336)
12-20 18:06:37.601  3636 30788 E Parcel  :      at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1094)
12-20 18:06:37.601  3636 30788 E Parcel  :      at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5822)
12-20 18:06:37.601  3636 30788 E Parcel  :      at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5627)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:176)
12-20 18:06:37.601  3636 30788 E Parcel  :      at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3613)
12-20 18:06:37.601  3636 30788 E Parcel  :      at android.os.Binder.execTransact(Binder.java:573)
12-20 18:06:37.601  3636 30788 E Parcel  : Caused by: java.lang.ClassNotFoundException: im.vector.app.features.home.HomeActivityArgs
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.Class.classForName(Native Method)
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.BootClassLoader.findClass(ClassLoader.java:1346)
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406)
12-20 18:06:37.601  3636 30788 E Parcel  :      at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12-20 18:06:37.601  3636 30788 E Parcel  :      ... 16 more
12-20 18:06:37.601  3636 30788 E Parcel  : Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
12-20 18:06:37.602  3636 30788 W Bundle  : Failed to parse Bundle, but defusing quietly
12-20 18:06:37.602  3636 30788 W Bundle  : android.os.BadParcelableException: ClassNotFoundException when unmarshalling: im.vector.app.features.home.HomeActivityArgs
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.Parcel.readParcelableCreator(Parcel.java:2545)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.Parcel.readParcelable(Parcel.java:2471)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.Parcel.readValue(Parcel.java:2374)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.Parcel.readArrayMapInternal(Parcel.java:2727)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.BaseBundle.unparcel(BaseBundle.java:269)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.BaseBundle.getString(BaseBundle.java:992)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.content.Intent.getStringExtra(Intent.java:6727)
12-20 18:06:37.602  3636 30788 W Bundle  :      at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:336)
12-20 18:06:37.602  3636 30788 W Bundle  :      at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1094)
12-20 18:06:37.602  3636 30788 W Bundle  :      at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5822)
12-20 18:06:37.602  3636 30788 W Bundle  :      at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5627)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:176)
12-20 18:06:37.602  3636 30788 W Bundle  :      at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3613)
12-20 18:06:37.602  3636 30788 W Bundle  :      at android.os.Binder.execTransact(Binder.java:573)
12-20 18:06:37.603  3636 30788 I ActivityManager: START u0 {act=null typ=null flg=0x0 cmp=ComponentInfo{im.vector.app/im.vector.app.features.home.HomeActivity}} from uid 10204 on display 0

Outcome

connection with the server

Your phone model

Samsung S6

Operating system version

Android 7.0

Application version and app store

Elements Android 1.3.9 [40103092] (G-b4722) Matrix SDK 1.3.9 (581c557f) olm 3.2.4 (from playstore)

Homeserver

personal server

Will you send logs?

No

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
duperraycommented, Dec 28, 2021

ok, unfortunately my nginx/openssl version is too old and not supporting TLSv1.3. I think now I will need major upgrade to make the things work correctly. I have no xperience in migrating synapse instance, I hope it is possible Thank you so much for your kindness and your time spent on this uninteresting old hardware issue. Don’t hesitate to ping me if you need any testing on android 7.0 or samsung S6. I will keep you informed when I manage to upgrade os + nginx + synapse and if it finally solve the problem (matrix.org seems to work with my client so, hopefully there is light at the end of the tunnel 😃 ).

1reaction
duperraycommented, Dec 22, 2021

Yep I can confirm that Peer Signature type is RSA

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 7.1.1 and earlier still unable to create secure ...
I have an app that runs on some devices that are still running andoird 7 or earlier and they're unable to make requests...
Read more >
Android Browser Showing Security Risk or Connection Not ...
Chrome browser on android 7.0 was intermittently showing site secured and unsecured when refreshed. After few 30 minutes, it is identifying ...
Read more >
Error renewing certificate "Error getting validation data", config ...
My domain is: selfhome.nsupdate.info. I ran this command: sudo certbot renew --non-interactive --agree-tos -v. It produced this output:
Read more >
Android Browser Showing Security Risk or Connection Not ...
Hi rg305, Once again, the problem started in Sep 2019. Certificate was validated till then and after Sep 2019 it is failing to...
Read more >
So.. It's impossible to support Android 7 and older on IIS? (In a ...
But it is entirely possible to have a single Windows server that: Serves the long chain directly from IIS; Can still renew certs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found