Message |
[+]
Avaya Breeze
» Salesforce Integration:- Certificate chaining error while connecting to Salesforce, 24/05/2017 03:29:17
» Go to message
|
|
Hi guys. Our Lab is up again.
As a brief, I am performing CRUD operations on Salesforce CRM data through snap-in. Leads, Accounts, Opportunities, Contacts, etc data is available with Salesforce account. Connected app is created to get client ID and secret key. REST API POST LOGIN request using developer account credentials and client ID & secret key gives me ACCESS TOKEN which then after used to call other API requests.
As mentioned earlier we have imported trusted certificate and then restarted the breeze server. We are trying out the things on two different breeze servers. But the same error persists - "Certificate Chaining Error"
Any suggestions/comments/guidance are appreciated.
|
|
[+]
Avaya Breeze
» Salesforce Integration:- Certificate chaining error while connecting to Salesforce, 16/05/2017 01:21:11
» Go to message
|
|
|
|
[+]
Avaya Breeze
» Salesforce Integration:- Certificate chaining error while connecting to Salesforce, 15/05/2017 06:54:17
» Go to message
|
|
Hello, I am working on Salesforce Integration.
* I have created a snap-in in JAVA which makes a HTTP POST to following login URL:
[i][b]LOGINURL + GRANTSERVICE + "&client_id=" + CLIENTID + "&client_secret=" + CLIENTSECRET + "&username=" + USERNAME + "&password=" + PASSWORD + "&access_token=offline";[/b][/i]
* I have created a HTTP Client like:
[b][i]@SuppressWarnings("deprecation")
public CloseableHttpClient getHttpClient() {
try {
final SSLContext sslContext = SSLUtilityFactory.createSSLContext(SSLProtocolType.TLS);
final SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext,
SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
httpClient = HttpClients.custom().setSSLSocketFactory(sslsf).build();
} catch (final SSLUtilityException e) {
logger.error("Exception occured while getting SSL Context", e);
}
return httpClient;
}[/i][/b]
* This snap-in successfully got deployed on Breeze but throws following error when web service is called:
[b]testsalesforceintegration3 ERROR - testsalesforceintegration3-1.1.0.0.3 - Error while connectiong to salesforce.
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException: The certificate issued by CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining error[/b]
* I already had imported a self-signed certificate on Breeze which is received from Salesforce.
Could anyone please guide me asap to resolve the issue.
|
|
[+]
Avaya Client SDK - General
» Network error occurred. Status: 400001 on login while running CommuicationService sample(JS), 20/04/2017 04:08:33
» Go to message
|
|
I am also getting the same error while running the sample app of Communication Service of JS CSDK on Chrome.
* Please help me in deciding following login parameters:
1) Server address: Is it the web gateway FQDN?
2) Username/password: Are these credentials of the lab given?
* Console Logs:
NetworkProvider: Network error occurred. Status: 400001
CSGPresenceAndCallProvider: CSG presence provider is unavailable
CSGPresenceAndCallProvider: Network is unavailable
CallProvider: Received Network Failure: [tryeqnx-aawg.avayadxbdemo.ae:8445:REST:NetworkError: Failed to perform operation. Network error occurred.]
|
|
[+]
Avaya Client SDK - General
» Network error - 400001 while running Communication Services Package Sample App (Js CSDK), 31/01/2017 01:22:39
» Go to message
|
|
I have taken Javascript CSDK zip from: "AvayaClientSDK_Javascript-3.0.0.0-build30 => CommunicationPackage =>sample => CommunicationSampleApp"
I am suffering through following two problem:
(1) Css and js files are missing from 'ext/' folder which are included in index.html
(2) Network error occurred. Status: 400001 on login:
-- Here I have replaced missing ext/ folder files (css & js) by cdn paths as a temporary solution to first problem.
-- I can see login panel when I opens index.html in browser.
-- I put all credentials of login form on call tab, can click on login button. Logout button remains unclickable.
-- After login action I observes following error on browser console. "Starting 4 services.
Network error occurred. Status: 400001
CSGPresenceProvider: Network is unavailable"
Can anyone please help me out to make this sample work locally.
Thank you
- rohini
|
|