I am constantly getting SSL error in Here Maps

1

Using Android 8.0 and 9.0 - I downloaded the HERE Maps Android SDK sample codes and wanted to try out the turn-by-turn navigation, but every second the log bloats like 30 messages of these:

2019-02-11 10:42:44.917 24246-24370/com.example.heretest E/NetworkProtocol: NetworkProtocol::GetTask::run exception: javax.net.ssl.SSLProtocolException: Read error: ssl=0xcc3d02c8: Failure in SSL library, usually a protocol error
error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT (external/boringssl/src/crypto/fipsmodule/cipher/e_aes.c:1307 0xe5baba43:0x00000000)
error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC (external/boringssl/src/ssl/tls_record.cc:298 0xe5baba43:0x00000000)

The simulated navigation itself is very very choppy, often nothing happens.

build.gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
    applicationId "com.example.heretest"
    minSdkVersion 17
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
        , 'proguard-rules.pro'
    }
}
}

repositories {
flatDir {
    dirs 'libs'
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation project(':HERE-sdk')
implementation 'com.google.code.gson:gson:2.8.5'
}
android
ssl
here-api
asked on Stack Overflow Feb 11, 2019 by Kiskunk • edited Feb 12, 2019 by Kiskunk

1 Answer

0

The HERE premium SDK has changed over the past 12 months with many new features and bug fixes. Please use the latest SDK for your use case as the problem is currently not reproducible.

We also provide several code examples for different use cases.

https://developer.here.com/documentation/android-premium/dev_guide/topics/routing.html

https://github.com/heremaps/here-android-sdk-examples


User contributions licensed under CC BY-SA 3.0