You need to sign in to do that
Don't have an account?
sssssssssssssssssssssss s
how to fix error while connecting to dataloader?
Hi Team,
Any suggesstions please?
The Salesforce URL - https://greatcompany.my.salesforce.com is used to login to my PROD salesforce org.
While connecting to dataloader app using Server Host - https://greatcompany.my.salesforce.com, I am getting the error message mentioned below,
2019-06-26 14:54:15,073 ERROR [main] client.PartnerClient setConfiguredSessionId
(PartnerClient.java:535) - Failed to get user info using manually configured se
ssion id
com.sforce.ws.ConnectionException: Failed to send request to https://greatcompany.my.
salesforce.com/services/Soap/u/46.0
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
at com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnecti
on.java:575)
at com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId
(PartnerClient.java:533)
at com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.ja
va:508)
at com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.
java:229)
at com.salesforce.dataloader.controller.Controller.login(Controller.java
:225)
at com.salesforce.dataloader.controller.Controller.login(Controller.java
:220)
at com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenti
cationRunner.java:100)
at java.base/java.lang.Thread.run(Thread.java:835)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at com.salesforce.dataloader.ui.AuthenticationRunner.login(Authenticatio
nRunner.java:77)
at com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked
(LoginStandardControl.java:75)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(Operatio
nUIAction.java:54)
at com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWind
ow.java:238)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
at com.salesforce.dataloader.controller.Controller.createAndShowGUI(Cont
roller.java:266)
at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRun
ner.java:50)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.s
ecurity.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:320)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:263)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:258)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:641)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
onCertificate(CertificateMessage.java:460)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
consume(CertificateMessage.java:360)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392
)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:441)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:419)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext
.java:177)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:11
80)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocke
tImpl.java:1091)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl
.java:402)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSock
et(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSL
ConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect
(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClie
ntExec.java:394)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.
java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java
:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java
:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttp
Client.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:108)
at com.salesforce.dataloader.client.HttpClientTransport.getContent(HttpC
lientTransport.java:133)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:97)
... 29 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:384)
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXVal
idator.java:289)
at java.base/sun.security.validator.Validator.validate(Validator.java:26
4)
at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustMan
agerImpl.java:321)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509Trus
tManagerImpl.java:221)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X5
09TrustManagerImpl.java:129)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:625)
... 53 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Sun
CertPathBuilder.java:141)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBui
ld(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.ja
va:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:379)
... 59 more
2019-06-26 14:54:15,077 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:130) - Failed to send request to https://greatcompany.my.salesfor
ce.com/services/Soap/u/46.0
2019-06-26 14:54:15,078 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:131) -
com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnection.
java:575)
com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId(Pa
rtnerClient.java:533)
com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.java:
508)
com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.jav
a:229)
com.salesforce.dataloader.controller.Controller.login(Controller.java:22
5)
com.salesforce.dataloader.controller.Controller.login(Controller.java:22
0)
com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenticat
ionRunner.java:100)
java.base/java.lang.Thread.run(Thread.java:835)
org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
com.salesforce.dataloader.ui.AuthenticationRunner.login(AuthenticationRu
nner.java:77)
com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked(Lo
ginStandardControl.java:75)
org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(OperationUI
Action.java:54)
com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWindow.
java:238)
org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
com.salesforce.dataloader.controller.Controller.createAndShowGUI(Control
ler.java:266)
com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner
.java:50)
Any suggesstions please?
The Salesforce URL - https://greatcompany.my.salesforce.com is used to login to my PROD salesforce org.
While connecting to dataloader app using Server Host - https://greatcompany.my.salesforce.com, I am getting the error message mentioned below,
2019-06-26 14:54:15,073 ERROR [main] client.PartnerClient setConfiguredSessionId
(PartnerClient.java:535) - Failed to get user info using manually configured se
ssion id
com.sforce.ws.ConnectionException: Failed to send request to https://greatcompany.my.
salesforce.com/services/Soap/u/46.0
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
at com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnecti
on.java:575)
at com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId
(PartnerClient.java:533)
at com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.ja
va:508)
at com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.
java:229)
at com.salesforce.dataloader.controller.Controller.login(Controller.java
:225)
at com.salesforce.dataloader.controller.Controller.login(Controller.java
:220)
at com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenti
cationRunner.java:100)
at java.base/java.lang.Thread.run(Thread.java:835)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at com.salesforce.dataloader.ui.AuthenticationRunner.login(Authenticatio
nRunner.java:77)
at com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked
(LoginStandardControl.java:75)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(Operatio
nUIAction.java:54)
at com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWind
ow.java:238)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
at com.salesforce.dataloader.controller.Controller.createAndShowGUI(Cont
roller.java:266)
at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRun
ner.java:50)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.s
ecurity.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:320)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:263)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:258)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:641)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
onCertificate(CertificateMessage.java:460)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
consume(CertificateMessage.java:360)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392
)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:441)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:419)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext
.java:177)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:11
80)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocke
tImpl.java:1091)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl
.java:402)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSock
et(SSLConnectionSocketFactory.java:396)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSL
ConnectionSocketFactory.java:355)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect
(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClie
ntExec.java:394)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.
java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java
:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java
:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttp
Client.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:108)
at com.salesforce.dataloader.client.HttpClientTransport.getContent(HttpC
lientTransport.java:133)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:97)
... 29 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:384)
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXVal
idator.java:289)
at java.base/sun.security.validator.Validator.validate(Validator.java:26
4)
at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustMan
agerImpl.java:321)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509Trus
tManagerImpl.java:221)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X5
09TrustManagerImpl.java:129)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:625)
... 53 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Sun
CertPathBuilder.java:141)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBui
ld(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.ja
va:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:379)
... 59 more
2019-06-26 14:54:15,077 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:130) - Failed to send request to https://greatcompany.my.salesfor
ce.com/services/Soap/u/46.0
2019-06-26 14:54:15,078 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:131) -
com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnection.
java:575)
com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId(Pa
rtnerClient.java:533)
com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.java:
508)
com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.jav
a:229)
com.salesforce.dataloader.controller.Controller.login(Controller.java:22
5)
com.salesforce.dataloader.controller.Controller.login(Controller.java:22
0)
com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenticat
ionRunner.java:100)
java.base/java.lang.Thread.run(Thread.java:835)
org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
com.salesforce.dataloader.ui.AuthenticationRunner.login(AuthenticationRu
nner.java:77)
com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked(Lo
ginStandardControl.java:75)
org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(OperationUI
Action.java:54)
com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWindow.
java:238)
org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
org.eclipse.jface.window.Window.open(Window.java:801)
com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
com.salesforce.dataloader.controller.Controller.createAndShowGUI(Control
ler.java:266)
com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner
.java:50)
Leroy Kelley
Did you ever figure out the issue ?
mfawcett
Did you get this fix ? It has been a nightmare to figure this out and I could not find any solution online.