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

ScanMyTesla "The SSL connection could not be established, see inner exception." #699

Closed
bassmaster187 opened this issue Dec 1, 2021 · 22 comments
Labels
bug Something isn't working

Comments

@bassmaster187
Copy link
Owner

bassmaster187 commented Dec 1, 2021

image

Certificate has been renewed on November 28th, 2021 and it seems like some devices run in certificate errors.

Certificate seems to be valid:
https://www.sslshopper.com/ssl-checker.html#hostname=teslalogger.de

image

This issue is to collect informations about the issue and how to solve it.

I have a Samsung S21+ with latest Android 12. In Scan My Tesla V1.9.7 I receive the error metion before. Although teslalogger.de has a valid certificate in Chrome browser.

@bassmaster187 bassmaster187 added the bug Something isn't working label Dec 1, 2021
@ostorezio
Copy link
Contributor

Hi, I had the same bug on 3 devices.
Two Samsung mobiles: A20e and A03s
And one tablet, Galaxy-Tab-A
A03s has Android 11, the others, if you need I have to check.

@eivissacopter
Copy link

Same SSL connection issue here in four different cars all running SMT 1.9.7 on Samsung Galaxy Tab A7 Lite T225 / Android 11.

@ostorezio
Copy link
Contributor

ostorezio commented Dec 1, 2021

How about implementing the possibility to save the logged data locally into the smartphone memory?

This solution would overcome outages like this one or, more commonly, situations where the car is out of data coverage.

X-posted ... here: #610

@eivissacopter
Copy link

Latest SMT Android Beta works fine on the same device (Samsung Galaxy Tab A7 Lite T225)

@ostorezio
Copy link
Contributor

Where/how do I get the Beta?

@eivissacopter
Copy link

Google play Store / Scan My Tesla / Scroll down -> Join Beta -> Wait 10 Minutes -> Update app on play store.

@ostorezio
Copy link
Contributor

GOT IT! Nice graphics, very cool.

How do I know that the TCP-IP/SSL communication is on? Can't find the internet link icon of previous versions, you know the little cloud with dots or crosses.
In fact during the test I turned off the WiFi in my mobile, and nothing happened, no errors.

@eivissacopter
Copy link

Check Teslalogger Settings to see when the token was last received. Also the whole dashboard is filling with errors if the connection doesn't work.

@ostorezio
Copy link
Contributor

Many thanks, I will check

@bassmaster187
Copy link
Owner Author

It seems like it is a known bug in xamarin. I made a workaround and the new release will be published as soon as possible.

dotnet/android#6351

@Adminius
Copy link
Contributor

Adminius commented Dec 2, 2021

Not a Beta SMT latest version Moto G4 with Android 5 no problems

@uniquepurpose
Copy link
Contributor

I am having the same issue on a OnePlus 6T running Android 11 (OxygenOS 11.1.1.1 with security patch 2021-09-02) with SMT 1.9.7 (non-beta)
Same on a Gigaset GS4 running Android 10 (with security patch 2021-08-01) with SMT 1.9.7 (non-beta).

A workaround (disable CA "Digital Signature Trust Co. - DST Root CA X3") is available here:
dotnet/android#6351 (comment)

@ostorezio
Copy link
Contributor

@eivissacopter

Check Teslalogger Settings to see when the token was last received. Also the whole dashboard is filling with errors if the connection doesn't work.

I did check at the following screenshot
Screenshot_20211203-151519.pdf

Can't see the date of last received

@ostorezio
Copy link
Contributor

ostorezio commented Dec 3, 2021

Yesterday I stopped for a supercharging session.
The data Teslalogger shows for the session is very much reduced in Beta 2.3.0 compared to 1.9.7
See attachmentse, before and after.

Screen Shot 2021-12-03 at 3 40 46 PM

Screen Shot 2021-12-03 at 3 40 57 PM

Still a server connection problem?

@KermsGit
Copy link

KermsGit commented Dec 4, 2021

On my Oneplus phones worked this workaround:

On the Android you can manualy disable the certificate "Digital Signature Trust Co. - DST Root CA X3".

Go to "Settings > Security > Encryption & credentials" > Trusted credentials"
Scroll down and disable "Digital Signature Trust Co. - DST Root CA X3"_

The SSL connection worked again after disable this certificate.

@Proffesor94
Copy link

On my Oneplus phones worked this workaround:

On the Android you can manualy disable the certificate "Digital Signature Trust Co. - DST Root CA X3".

Go to "Settings > Security > Encryption & credentials" > Trusted credentials"
Scroll down and disable "Digital Signature Trust Co. - DST Root CA X3"_

The SSL connection worked again after disable this certificate.

Confirmed, it runs for my mi note 10. Thanks.

@ostorezio
Copy link
Contributor

Thanks uniquepurpose
I downgraded SMT from Beta 2.3.0 to 1.9.7 and applied your workaround.
SMT is back in business!!!

@uniquepurpose
Copy link
Contributor

uniquepurpose commented Dec 7, 2021

I downgraded SMT from Beta 2.3.0 to 1.9.7 and applied your workaround. SMT is back in business!!!

I tried the workaround yesterday with beta 2.3.0 and it works for me as well.
Kinda like the new UI.

@ostorezio
Copy link
Contributor

Hmmm .... 2.3.0 doesn't work for me, see above.
Is that because I didn't apply the workaround on 2.3.0?
How do you know from 2.3.0 if data link is active or not?

@bassmaster187
Copy link
Owner Author

Sorry for the delay. The bug was fixed within one day, but google has decline our update because we had to compile the app against the newest Android SDK and that brought new bugs. I seems like we can release it tonight.

@hagmann-sg
Copy link

same problem here, glad to hear that you could fix it. Wait for the update now.
will change to Android 12
Google Pixel 4 with Android 11 and SMT 1.9.7
IMG_1452

@bassmaster187
Copy link
Owner Author

Fixed in Scan My Tesla 1.9.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants