Appboy / appboy-android-sdk

Public repo for the Braze Android SDK
https://www.braze.com
Other
152 stars 102 forks source link

[Bug]: The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). #259

Closed kcj30906 closed 1 year ago

kcj30906 commented 1 year ago

Braze Android SDK Version

18.0.1 high

Steps To Reproduce

gradle bulid error

Expected Behavior

gradle bulid success

Actual Incorrect Behavior

  1. 18.0.0 build success
  2. com.appboy:android-sdk-ui:+ build error

Verbose Logs

FAILURE: Build completed with 9 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Could not resolve com.appboy:android-sdk-ui:+.
     Required by:
         project :app
      > Failed to list versions for com.appboy:android-sdk-ui.
         > Unable to load Maven meta-data from https://appboy.github.io/appboy-android-sdk/sdk/com/appboy/android-sdk-ui/maven-metadata.xml.
            > Could not HEAD 'https://appboy.github.io/appboy-android-sdk/sdk/com/appboy/android-sdk-ui/maven-metadata.xml'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.4/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Additional Information

No response

kcj30906 commented 1 year ago

cacerts import certificate java ... solve.

bryanlogan commented 1 year ago

It sounds like you had a workstation configuration issue that's now fixed, so I'm closing this issue.