Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Android app gives error on startup (Android 7.0 unsupported SSL elliptic curve) #36

Open
Yowlen opened this issue Dec 7, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@Yowlen
Copy link

Yowlen commented Dec 7, 2018

"Something went wrong...Please try later!"

This is the error I get trying to load Peertube. It seems like the whole thing is dependent on whatever went wrong since trying to use any of the tabs afterwards basically results in more errors and no content.

I installed it from F-Droid and I'm running a Touchwiz-based Android 7.0 ROM.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@MrRobotAptoide
Copy link

This is the problem. Completely unusable as is.

@sschueller
Copy link
Owner

sschueller commented Dec 7, 2018

Do you have a valid peertube server configured? Which one if I may ask?

There is currently no check for which peertube version is on the server. I will be adding that soon.

@Yowlen
Copy link
Author

Yowlen commented Dec 7, 2018

It's just using the default settings. Literally out-of-the-box. So either the default settings are messed up, or there's a bug elsewhere preventing a connection.

@sschueller
Copy link
Owner

sschueller commented Dec 7, 2018

Ok thanks, I will look into it. Might also be an issue with SSL and android 7.0. I had some issues with that before.

EDIT:

Appears to be an issue withe Android 7.0. There are some workarounds so I will try to implement one.

https://stackoverflow.com/questions/39133437/sslhandshakeexception-handshake-failed-on-android-n-7-0

@sschueller sschueller added the bug Something isn't working label Dec 7, 2018
@sschueller
Copy link
Owner

I have adjusted the server https://troll.tv to support the only elliptic curve Android 7.0 supports. It should work now without an update to the App. I do recommend you update to Android 7.1.1 however as other peertube server may have this elliptic curve disabled as it is no longer considered secure.

nodejs/node#1495
https://community.letsencrypt.org/t/warning-android-7-0-clients-not-browsers-can-only-use-curve-prime256v1/23212

@Yowlen
Copy link
Author

Yowlen commented Dec 7, 2018

I can verify it's working now.

Good to know about the insecurity thing. Unfortunately, this might be a problem. In terms of upgrading, my device is stuck on 7.0. It recently got an official 8.1 upgrade (straight from 7.0, so no in between), but that changed things & will prevent me from being able to root it, which means deciding between an adblocker & a firewall, something I refuse to do. There are also some 8.1 custom ROMs available, but I've had issues with getting them to work. I'll go back and see what I can do, but I suspect it might be a while.

Of course, others might be stuck with 7.0 too, and they might not have the knowledge or even the ability to use custom ROMs, so this issue is probably best put in a FAQ somewhere so as to avoid duplicate issues.

@sschueller sschueller changed the title Android app gives error on startup Android app gives error on startup (Android 7.0 unsupported SSL elliptic curve) Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants