tencent cloud

Feedback

SDK for Java

Last updated: 2021-09-29 17:53:27

    SDK 3.0 is a companion tool for the TencentCloud API 3.0 platform. You can use all SMS APIs through the SDK. The new SDK version is unified and features the same SDK usage, API call methods, error codes, and returned packet formats for different programming languages.

    Note:

    • SMS sending APIs
      One message can be sent to up to 200 numbers at a time.
    • Signature and body template APIs
      Individual users have no permission to use signature and body template APIs and can manage SMS signatures and SMS body templates only in the SMS console. To use the APIs, change "Individual Identity" to "Organizational Identity".

    Prerequisites

    • You have activated SMS. For detailed directions, please see Getting Started with Mainland China SMS.
    • If you need to send Mainland China SMS messages, you need to purchase a Mainland China SMS package first.
    • You have prepared the dependent environment: JDK 7 or above.
    • You have obtained the SecretID and SecretKey on the API Key Management page in the CAM console.
      • SecretID is used to identify the API caller.
      • SecretKey is used to encrypt the string to sign that can be verified on the server. You should keep it private and avoid disclosure.
    • The endpoint of the SMS service is sms.tencentcloudapi.com.

    Relevant Documents

    • For more information on the APIs and their parameters, please see API Documentation.
    • You can download the SDK source code here.

    Installing SDK

    Installing through Maven (recommended)

    Maven is a dependency management tool for Java that supports the dependencies your project requires and installs them into your project.

    1. Go to Maven's official website to download the corresponding Maven installation package for your system and install it.

    2. Add Maven dependencies by adding the following dependencies in Maven's pom.xml:

      Note:

      The version number here is for demonstration only. Please get the latest version number in Maven Repository for replacement.

    &dxlt;dependency&dxgt;
            &dxlt;groupId&dxgt;com.tencentcloudapi&dxlt;/groupId&dxgt;
            &dxlt;artifactId&dxgt;tencentcloud-sdk-java&dxlt;/artifactId&dxgt;
            &dxlt;version&dxgt;3.1.270&dxlt;/version&dxgt;&dxlt;!-- Note: the version number here is for demonstration only and can be used directly. You can get the latest version number for replacement. Be sure not to use v4.0.x (which is not the latest version) --&dxgt;
    &dxlt;/dependency&dxgt;
    1. For importing methods, please see the sample code.

    Installing through source package

    1. Download the source code package.
    2. Decompress the source package to an appropriate location in your project.
    3. Put the jar package under the vendor directory in a path that can be found by Java.
    4. For importing methods, please see the sample code.

    Sample Code

    Note:

    All samples are for reference only and cannot be directly compiled and executed. You need to modify them based on your actual needs. You can also use API 3.0 Explorer to automatically generate the demo code as needed.

    Each API has a corresponding request structure and a response structure. This document only lists the sample code of several common features.

    Applying for SMS template

    import com.tencentcloudapi.common.Credential;
    import com.tencentcloudapi.common.exception.TencentCloudSDKException;
    // Import the optional configuration classes
    import com.tencentcloudapi.common.profile.ClientProfile;
    import com.tencentcloudapi.common.profile.HttpProfile;
    // Import the client of the SMS module
    import com.tencentcloudapi.sms.v20190711.SmsClient;
    // Import the request response class corresponding to the request API
    import com.tencentcloudapi.sms.v20190711.models.AddSmsTemplateRequest;
    import com.tencentcloudapi.sms.v20190711.models.AddSmsTemplateResponse;
    /**
    * Tencent Cloud Sms Sendsms
    * https://www.tencentcloud.com/document/product/382/38778?from_cn_redirect=1
    *
    */
    public class AddSmsTemplate
    {
      public static void main( String[] args )
      {
          try {
              /* Required steps:
               * Instantiate an authentication object. The Tencent Cloud account key pair `secretId` and `secretKey` need to be passed in as the input parameters
               * This example uses the way to read from the environment variable, so you need to set these two values in the environment variable in advance
               * You can also write the key pair directly into the code, but be careful not to copy, upload, or share the code to others
               * Query the CAM key: https://console.tencentcloud.com/cam/capi
               */
              Credential cred = new Credential("secretId", "secretKey");
               // Instantiate an HTTP option (optional; skip if there are no special requirements)
              HttpProfile httpProfile = new HttpProfile();
              // Set the proxy
              // httpProfile.setProxyHost("real proxy ip");
              // httpProfile.setProxyPort(real proxy port);
              /* The SDK uses the POST method by default
               * If you need to use the GET method, you can set it here, but the GET method cannot handle some large requests */
              httpProfile.setReqMethod("POST");
              /* The SDK has a default timeout period. Do not adjust it unless absolutely necessary
               * If needed, check in the code to get the latest default value */
              httpProfile.setConnTimeout(60);
              /* The SDK automatically specifies the domain name. Generally, you don't need to specify a domain name, but if you are accessing a service in a finance AZ, you must manually specify the domain name
               * For example, the SMS domain name of the Shanghai Finance Zone is `sms.ap-shanghai-fsi.tencentcloudapi.com`      */
              httpProfile.setEndpoint("sms.tencentcloudapi.com");
               /* Optional steps:
               * Instantiate a client configuration object. You can specify the timeout period and other configuration items */
              ClientProfile clientProfile = new ClientProfile();
              /* The SDK uses `TC3-HMAC-SHA256` to sign by default
               * Do not modify this field unless absolutely necessary */
              clientProfile.setSignMethod("HmacSHA256");
              clientProfile.setHttpProfile(httpProfile);
              /* Instantiate an SMS client object
               * The second parameter is the region information. You can directly enter the string `ap-guangzhou` or import the preset constant */
              SmsClient client = new SmsClient(cred, "",clientProfile);
              /* Instantiate a request object. You can further set the request parameters according to the API called and actual conditions
               * You can directly check the SDK source code to determine which attributes of the API can be set
               * An attribute may be of a basic type or import another data structure
               * We recommend you use the IDE for development where you can easily redirect to and view the documentation of each API and data structure */
              AddSmsTemplateRequest req = new AddSmsTemplateRequest();
               /* Populate the request parameters. Here, the member variables of the request object are the input parameters of the corresponding API
               * You can view the definition of the request parameters in the API documentation at the official website or by redirecting to the definition of the request object
               * Settings of a basic parameter:
               * Help link:
               * SMS console: https://console.tencentcloud.com/smsv2
               * sms helper:https://www.tencentcloud.com/document/product/382/3773?from_cn_redirect=1 */
               /* Template name */
              String templatename = "Tencent Cloud";
              req.setTemplateName(templatename);
               /* Template content */
              String templatecontent = "Your login verification code is {1}. Please enter it within {2} minutes. If the login was not initiated by you, please ignore this message.";
              req.setTemplateContent(templatecontent);
               /* SMS type. 0: regular SMS; 1: marketing SMS */
              long smstype = 0;
              req.setSmsType(smstype);
               /* Whether it is Global SMS. 0: Mainland China SMS; 1: Global SMS */
              long international = 0;
              req.setInternational(international);
               /* Template remarks, such as reason for application and use case */
              String remark = "xxx";
              req.setRemark(remark);
               /* Initialize the request by calling the `AddSmsTemplate` method on the client object. Note: the request method name corresponds to the request object
               * The returned `res` is an instance of the `AddSmsTemplateResponse` class which corresponds to the request object */
              AddSmsTemplateResponse res = client.AddSmsTemplate(req);
               // A string return packet in JSON format is output
              System.out.println(AddSmsTemplateResponse.toJsonString(res));
               // You can take a single value. You can view the definition of the return field in the API documentation at the official website or by redirecting to the definition of the response object
              System.out.println(res.getRequestId());
           } catch (TencentCloudSDKException e) {
              e.printStackTrace();
          }
      }
    }
    

    Sending SMS message

    import com.tencentcloudapi.common.Credential;
    import com.tencentcloudapi.common.exception.TencentCloudSDKException;
    // Import the optional configuration classes
    import com.tencentcloudapi.common.profile.ClientProfile;
    import com.tencentcloudapi.common.profile.HttpProfile;
    // Import the client of the SMS module
    import com.tencentcloudapi.sms.v20190711.SmsClient;
    // Import the request response class corresponding to the request API
    import com.tencentcloudapi.sms.v20190711.models.SendSmsRequest;
    import com.tencentcloudapi.sms.v20190711.models.SendSmsResponse;
    /**
    * Tencent Cloud Sms Sendsms
    * https://www.tencentcloud.com/document/product/382/38778?from_cn_redirect=1
    *
    */
    public class SendSms
    {
      public static void main( String[] args )
      {
          try {
              /* Required steps:
               * Instantiate an authentication object. The Tencent Cloud account key pair `secretId` and `secretKey` need to be passed in as the input parameters
               * This example uses the way to read from the environment variable, so you need to set these two values in the environment variable in advance
               * You can also write the key pair directly into the code, but be careful not to copy, upload, or share the code to others
               * Query the CAM key: https://console.tencentcloud.com/cam/capi
               */
              Credential cred = new Credential("secretId", "secretKey");
               // Instantiate an HTTP option (optional; skip if there are no special requirements)
              HttpProfile httpProfile = new HttpProfile();
              // Set the proxy
              // httpProfile.setProxyHost("real proxy ip");
              // httpProfile.setProxyPort(real proxy port);
              /* The SDK uses the POST method by default
               * If you need to use the GET method, you can set it here, but the GET method cannot handle some large requests */
              httpProfile.setReqMethod("POST");
              /* The SDK has a default timeout period. Do not adjust it unless absolutely necessary
               * If needed, check in the code to get the latest default value */
              httpProfile.setConnTimeout(60);
              /* The SDK automatically specifies the domain name. Generally, you don't need to specify a domain name, but if you are accessing a service in a finance AZ, you must manually specify the domain name
               * For example, the SMS domain name of the Shanghai Finance Zone is `sms.ap-shanghai-fsi.tencentcloudapi.com` */
              httpProfile.setEndpoint("sms.tencentcloudapi.com");
               /* Optional steps:
               * Instantiate a client configuration object. You can specify the timeout period and other configuration items */
              ClientProfile clientProfile = new ClientProfile();
              /* The SDK uses `TC3-HMAC-SHA256` to sign by default
               * Do not modify this field unless absolutely necessary */
              clientProfile.setSignMethod("HmacSHA256");
              clientProfile.setHttpProfile(httpProfile);
              /* Instantiate an SMS client object
               * The second parameter is the region information. You can directly enter the string `ap-guangzhou` or import the preset constant */
              SmsClient client = new SmsClient(cred, "",clientProfile);
              /* Instantiate a request object. You can further set the request parameters according to the API called and actual conditions
               * You can directly check the SDK source code to determine which attributes of the API can be set
               * An attribute may be of a basic type or import another data structure
               * We recommend you use the IDE for development where you can easily redirect to and view the documentation of each API and data structure */
              SendSmsRequest req = new SendSmsRequest();
               /* Populate the request parameters. Here, the member variables of the request object are the input parameters of the corresponding API
               * You can view the definition of the request parameters in the API documentation at the official website or by redirecting to the definition of the request object
               * Settings of a basic parameter:
               * Help link:
               * SMS console: https://console.tencentcloud.com/smsv2
               * sms helper:https://www.tencentcloud.com/document/product/382/3773?from_cn_redirect=1 */
               /* SMS application ID, which is the `SDKAppID` generated after an application is added in the [SMS console], such as 1400006666 */
              String appid = "1400009099";
              req.setSmsSdkAppid(appid);
               /* SMS signature content, which should be encoded in UTF-8. You must enter an approved signature, which can be viewed in the [SMS console] */
              String sign = "Signature content";
              req.setSign(sign);
               /* `senderid` for Global SMS, which is not activated by default. If you need to activate it, please contact [SMS Helper] for assistance. This parameter should be left empty for Mainland China SMS */
              String senderid = "";
              req.setSenderId(senderid);
               /* User session content, which can carry context information such as user-side ID and will be returned as-is by the server */
              String session = "xxx";
              req.setSessionContext(session);
               /* SMS code number extension, which is not activated by default. If you need to activate it, please contact [SMS Helper] */
              String extendcode = "";
              req.setExtendCode(extendcode);
               /* Template ID. You must enter the ID of an approved template, which can be viewed in the [SMS console] */
              String templateID = "400000";
              req.setTemplateID(templateID);
               /* Target mobile number in the e.164 standard (+[country/region code][mobile number])
               * Example: +8613711112222, which has a + sign followed by 86 (country/region code) and then by 13711112222 (mobile number). Up to 200 mobile numbers are supported */
              String[] phoneNumbers = {"+8621212313123", "+8612345678902", "+8612345678903"};
              req.setPhoneNumberSet(phoneNumbers);
               /* Template parameters. If there are no template parameters, leave it empty */
              String[] templateParams = {"5678"};
              req.setTemplateParamSet(templateParams);
               /* Initialize the request by calling the `SendSms` method on the client object. Note: the request method name corresponds to the request object
               * The returned `res` is an instance of the `SendSmsResponse` class which corresponds to the request object */
              SendSmsResponse res = client.SendSms(req);
               // A string return packet in JSON format is output
              System.out.println(SendSmsResponse.toJsonString(res));
               // You can take a single value. You can view the definition of the return field in the API documentation at the official website or by redirecting to the definition of the response object
              System.out.println(res.getRequestId());
           } catch (TencentCloudSDKException e) {
              e.printStackTrace();
          }
      }
    } 
    

    Pulling receipt status

    import com.tencentcloudapi.common.Credential;
    import com.tencentcloudapi.common.exception.TencentCloudSDKException;
    // Import the optional configuration classes
    import com.tencentcloudapi.common.profile.ClientProfile;
    import com.tencentcloudapi.common.profile.HttpProfile;
    // Import the client of the SMS module
    import com.tencentcloudapi.sms.v20190711.SmsClient;
    // Import the request response class corresponding to the request API
    import com.tencentcloudapi.sms.v20190711.models.PullSmsSendStatusRequest;
    import com.tencentcloudapi.sms.v20190711.models.PullSmsSendStatusResponse;
    /**
    * Tencent Cloud Sms PullSmsSendStatus
    * https://www.tencentcloud.com/document/product/382/38774?from_cn_redirect=1
    *
    */
    public class PullSmsSendStatus {
      public static void main(String[] args) {
          try {
              /* Required steps:
               * Instantiate an authentication object. The Tencent Cloud account key pair `secretId` and `secretKey` need to be passed in as the input parameters
               * This example uses the way to read from the environment variable, so you need to set these two values in the environment variable in advance
               * You can also write the key pair directly into the code, but be careful not to copy, upload, or share the code to others
               * Query the CAM key: https://console.tencentcloud.com/cam/capi
               */
              Credential cred = new Credential("secretId", "secretKey");
               // Instantiate an HTTP option (optional; skip if there are no special requirements)
              HttpProfile httpProfile = new HttpProfile();
              // Set the proxy
              // httpProfile.setProxyHost("real proxy ip");
              // httpProfile.setProxyPort(real proxy port);
              /* The SDK uses the POST method by default
               * If you need to use the GET method, you can set it here, but the GET method cannot handle some large requests */
              httpProfile.setReqMethod("POST");
              /* The SDK has a default timeout period. Do not adjust it unless absolutely necessary
               * If needed, check in the code to get the latest default value */
              httpProfile.setConnTimeout(60);
              /* The SDK automatically specifies the domain name. Generally, you don't need to specify a domain name, but if you are accessing a service in a finance AZ, you must manually specify the domain name
               * For example, the SMS domain name of the Shanghai Finance Zone is `sms.ap-shanghai-fsi.tencentcloudapi.com` */
              httpProfile.setEndpoint("sms.tencentcloudapi.com");
               /* Optional steps:
               * Instantiate a client configuration object. You can specify the timeout period and other configuration items */
              ClientProfile clientProfile = new ClientProfile();
              /* The SDK uses `TC3-HMAC-SHA256` to sign by default
               * Do not modify this field unless absolutely necessary */
              clientProfile.setSignMethod("HmacSHA256");
              clientProfile.setHttpProfile(httpProfile);
               /* Instantiate an SMS client object
               * The second parameter is the region information. You can directly enter the string `ap-guangzhou` or import the preset constant */
              SmsClient client = new SmsClient(cred, "",clientProfile);
               /* Instantiate a request object. You can further set the request parameters according to the API called and actual conditions
               * You can directly check the SDK source code to determine which attributes of the API can be set
               * An attribute may be of a basic type or import another data structure
               * We recommend you use the IDE for development where you can easily redirect to and view the documentation of each API and data structure */
              PullSmsSendStatusRequest req = new PullSmsSendStatusRequest();
               /* Populate the request parameters. Here, the member variables of the request object are the input parameters of the corresponding API
               * You can view the definition of the request parameters in the API documentation at the official website or by redirecting to the definition of the request object
               * Settings of a basic parameter:
               * Help link:
               * SMS console: https://console.tencentcloud.com/smsv2
               * sms helper:https://www.tencentcloud.com/document/product/382/3773?from_cn_redirect=1 */
               /* SMS application ID, which is the `SDKAppID` generated after an application is added in the [SMS console], such as 1400006666 */
              String appid = "1400009099";
              req.setSmsSdkAppid(appid);
               // Set the maximum number of pulled entries. Maximum value: 100
              Long limit = 5L;
              req.setLimit(limit);
               /* Initialize the request by calling the `PullSmsSendStatus` method on the client object. Note: the request method name corresponds to the request object
               * The returned `res` is an instance of the `PullSmsSendStatusResponse` class which corresponds to the request object */
              PullSmsSendStatusResponse res = client.PullSmsSendStatus(req);
               // A string return packet in JSON format is output
              System.out.println(PullSmsSendStatusResponse.toJsonString(res));
           } catch (TencentCloudSDKException e) {
              e.printStackTrace();
          }
      }
    }
    

    Collecting SMS message sending data

    import com.tencentcloudapi.common.Credential;
    import com.tencentcloudapi.common.exception.TencentCloudSDKException;
    // Import the optional configuration classes
    import com.tencentcloudapi.common.profile.ClientProfile;
    import com.tencentcloudapi.common.profile.HttpProfile;
    // Import the client of the SMS module
    import com.tencentcloudapi.sms.v20190711.SmsClient;
    // Import the request response class corresponding to the request API
    import com.tencentcloudapi.sms.v20190711.models.SendStatusStatisticsRequest;
    import com.tencentcloudapi.sms.v20190711.models.SendStatusStatisticsResponse;
    /**
    * Tencent Cloud Sms SendStatusStatistics
    * https://www.tencentcloud.com/document/product/382/38774?from_cn_redirect=1
    *
    */
    public class SendStatusStatistics {
      public static void main(String[] args) {
          try {
              /* Required steps:
               * Instantiate an authentication object. The Tencent Cloud account key pair `secretId` and `secretKey` need to be passed in as the input parameters
               * This example uses the way to read from the environment variable, so you need to set these two values in the environment variable in advance
               * You can also write the key pair directly into the code, but be careful not to copy, upload, or share the code to others
               * Query the CAM key: https://console.tencentcloud.com/cam/capi
               */
              Credential cred = new Credential("secretId", "secretKey");
               // Instantiate an HTTP option (optional; skip if there are no special requirements)
              HttpProfile httpProfile = new HttpProfile();
              // Set the proxy
              // httpProfile.setProxyHost("real proxy ip");
              // httpProfile.setProxyPort(real proxy port);
              /* The SDK uses the POST method by default
               * If you need to use the GET method, you can set it here, but the GET method cannot handle some large requests */
              httpProfile.setReqMethod("POST");
              /* The SDK has a default timeout period. Do not adjust it unless absolutely necessary
               * If needed, check in the code to get the latest default value */
              httpProfile.setConnTimeout(60);
              /* The SDK automatically specifies the domain name. Generally, you don't need to specify a domain name, but if you are accessing a service in a finance AZ, you must manually specify the domain name
               * For example, the SMS domain name of the Shanghai Finance Zone is `sms.ap-shanghai-fsi.tencentcloudapi.com` */
              httpProfile.setEndpoint("sms.tencentcloudapi.com");
               /* Optional steps:
               * Instantiate a client configuration object. You can specify the timeout period and other configuration items */
              ClientProfile clientProfile = new ClientProfile();
              /* The SDK uses `TC3-HMAC-SHA256` to sign by default
               * Do not modify this field unless absolutely necessary */
              clientProfile.setSignMethod("HmacSHA256");
              clientProfile.setHttpProfile(httpProfile);
               /* Instantiate an SMS client object
               * The second parameter is the region information. You can directly enter the string `ap-guangzhou` or import the preset constant */
              SmsClient client = new SmsClient(cred, "",clientProfile);
               /* Instantiate a request object. You can further set the request parameters according to the API called and actual conditions
               * You can directly check the SDK source code to determine which attributes of the API can be set
               * An attribute may be of a basic type or import another data structure
               * We recommend you use the IDE for development where you can easily redirect to and view the documentation of each API and data structure */
              SendStatusStatisticsRequest req = new SendStatusStatisticsRequest();
               /* Populate the request parameters. Here, the member variables of the request object are the input parameters of the corresponding API
               * You can view the definition of the request parameters in the API documentation at the official website or by redirecting to the definition of the request object
               * Settings of a basic parameter:
               * Help link:
               * SMS console: https://console.tencentcloud.com/smsv2
               * sms helper:https://www.tencentcloud.com/document/product/382/3773?from_cn_redirect=1 */
               /* SMS application ID, which is the `SDKAppID` generated after an application is added in the [SMS console], such as 1400006666 */
              String appid = "1400009099";
              req.setSmsSdkAppid(appid);
               // Set the maximum number of pulled entries. Maximum value: 100
              Long limit = 5L;
              req.setLimit(limit);
              /* Offset, which is currently fixed at 0 */
              Long offset = 0L;
              req.setOffset(offset);
              /* Start time of pull in the format of `yyyymmddhh` accurate to the hour */
              long startdatetime = 2019071100;
              req.setStartDateTime(startdatetime);
              /* End time of pull in the format of `yyyymmddhh` accurate to the hour
               * Note: `EndDataTime` must be after `StartDateTime` */
              long enddatatime = 2019071123;
              req.setEndDataTime(enddatatime);
               /* Initialize the request by calling the `SendStatusStatistics` method on the client object. Note: the request method name corresponds to the request object
               * The returned `res` is an instance of the `SendStatusStatisticsResponse` class which corresponds to the request object */
              SendStatusStatisticsResponse res = client.SendStatusStatistics(req);
               // A string return packet in JSON format is output
              System.out.println(SendStatusStatisticsResponse.toJsonString(res));
           } catch (TencentCloudSDKException e) {
              e.printStackTrace();
          }
      }
    }
    

    FAQs

    Failure

    展开&收起

    This may be because the local server has a proxy configured, but the proxy is not configured for the tool during the update. Please update the dependencies on the command line as detailed above. If the problem persists, you need to check whether the problem is caused by network or firewall issues.

    Failure

    展开&收起

    In [TencentCloudSDKException]message:java.net.ConnectException-Connection timed out: connect requestId:, you need to check whether the local server has a proxy configured but the proxy is not added in the code. For more information, please see Proxy configuration above.

    Version

    展开&收起

    Please note that upgrading from v3.0.x to 3.1.x causes compatibility issues. As integer fields have been modified to long type, the project needs to be recompiled.

    Dependency

    展开&收起

    Currently, the SDK depends on OkHttp 2.5.0. If it is mixed with other packages that depend on OkHttp 3, an error may be reported, such as Exception in thread "main" java.lang.NoSuchMethodError: okio.BufferedSource.rangeEquals(JLokio/ByteString;)Z.

    The reason is that OkHttp 3 depends on Okio 1.12.0, while OkHttp 2.5.0 depends on Okio 1.6.0. When Maven parses dependencies, it gives top priority to the shortest path in sequence, so if the SDK is declared in the pom.xml dependency first, Okio 1.6.0 will be used, and an error will be reported.

    Solution before the SDK is upgraded to OkHttp 3:

    1. Clearly specify the dependency on Okio 1.12.0 in pom.xml (note that there may be other packages that require a higher version, in which case, take the highest version as a workaround).
    2. Put the SDK at the end of the dependency (note that if it has been compiled before, you need to delete the OkHttp package cached by Maven first). Taking the CMQ SDK that depends on OkHttp 3 as an example, the format is as follows (pay attention to the workaround version number):
        <dependency>
          <groupId>com.qcloud</groupId>
          <artifactId>cmq-http-client</artifactId>
          <version>1.0.7</version>
        </dependency>
        <dependency>
          <groupId>com.tencentcloudapi</groupId>
          <artifactId>tencentcloud-sdk-java</artifactId>
          <version>3.1.59</version>
        </dependency>
      

    Certificate

    展开&收起

    Certificate issues are usually caused by incorrect configuration of the client environment. The SDK does not manipulate the certificate and relies on the processing by the Java runtime environment itself. After a certificate issue occurs, you can run -Djavax.net.debug=ssl to enable detailed logs for troubleshooting.

    Some users reported that the certificate error javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure occurred while using IBM JDK 1.8. The error was resolved after Oracle JDK was used.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support