java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: Hostname gateway-a.watsonplatform.net not verified: certificate: sha256/zfDAdUtlCIKpDplDd0ng/vs8vv8GDQbhiL47DBQOSg0= DN: CN=access.alchemyapi.com, O="AlchemyAI, Inc.", L=Denver, ST=Colorado, C=US, SERIALNUMBER=5282053, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US subjectAltNames: [tickets.alchemyapi.com, access.alchemyapi.com]

GitHub | germanattanasio | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 174#241215962

    GitHub | 9 months ago | germanattanasio
    java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: Hostname gateway-a.watsonplatform.net not verified: certificate: sha256/zfDAdUtlCIKpDplDd0ng/vs8vv8GDQbhiL47DBQOSg0= DN: CN=access.alchemyapi.com, O="AlchemyAI, Inc.", L=Denver, ST=Colorado, C=US, SERIALNUMBER=5282053, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US subjectAltNames: [tickets.alchemyapi.com, access.alchemyapi.com]
  2. 0

    java.net.SocketTimeoutException error while invoking Watson NLC API through Java

    Stack Overflow | 2 months ago | Atri
    java.lang.RuntimeException: java.net.SocketTimeoutException: connect timed out null
  3. 0

    WatsonServices: Unable to find acceptable protocols

    GitHub | 3 months ago | joralemarti
    java.lang.RuntimeException: java.net.UnknownServiceException: Unable to find acceptable protocols. isFallback=false, modes=[ConnectionSpec(cipherSuites=[TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA], tlsVersions=[TLS_1_2, TLS_1_1, TLS_1_0], supportsTlsExtensions=true), ConnectionSpec(cipherSuites=[TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA], tlsVersions=[TLS_1_0], supportsTlsExtensions=true), ConnectionSpec()], supported protocols=[TLSv1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Vikram 2 times, last 4 weeks ago

Root Cause Analysis

  1. java.lang.RuntimeException

    javax.net.ssl.SSLPeerUnverifiedException: Hostname gateway-a.watsonplatform.net not verified: certificate: sha256/zfDAdUtlCIKpDplDd0ng/vs8vv8GDQbhiL47DBQOSg0= DN: CN=access.alchemyapi.com, O="AlchemyAI, Inc.", L=Denver, ST=Colorado, C=US, SERIALNUMBER=5282053, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US subjectAltNames: [tickets.alchemyapi.com, access.alchemyapi.com]

    at com.ibm.watson.developer_cloud.service.WatsonService$1.execute()
  2. com.ibm.watson
    WatsonService$1.execute
    1. com.ibm.watson.developer_cloud.service.WatsonService$1.execute(WatsonService.java:181)
    1 frame
  3. java16
    AlchemyLanguageExample.main
    1. java16.AlchemyLanguageExample.main(AlchemyLanguageExample.java:36)
    1 frame