When using Salesforce in mappings or processes, the delivery execution produces an error similar to this one:

com.indy.engine.common.exceptions.EngineExceptionI: Error during login
        at com.indy.engine.addons.salesforce.SForceBaseActionCodeI.connect(
        at com.indy.engine.addons.salesforce.SForceToXmlActionCodeI.executeSimpleCode(
        at com.indy.engine.action.common.ActionCodeTypeI.executeCode(SourceFile:1646)
Caused by: java.lang.Exception: Error during connection to:, with login: <......>, and securityToken: null
        at com.stambia.salesforce.connector.SalesForceConnection.login(
        at com.stambia.salesforce.connector.SalesForceBulkConnection.login(
        at com.indy.engine.addons.salesforce.SForceBaseActionCodeI.connect(
        ... 4 more
Caused by: Failed to parse detail:  START_TAG seen ...</sf:exceptionMessage><sf:upgradeURL>... @1:836 due to: unable to find end tag at:  START_TAG seen ...</sf:exceptionMessage><sf:upgradeURL>... @1:836
        at com.sforce.soap.partner.PartnerConnection.login(
        at com.sforce.soap.partner.PartnerConnection.<init>(
        at com.stambia.salesforce.connector.SalesForceConnection.login(
        ... 6 more


This error can be raised when the Java Virtual Machine does not support the TLS 1.1 protocol, required by Salesforce.

Java version 1.6 and version prior to are generally concerned, some other versions may be concerned too, depending on how they are packaged or configured.

=> Upgrade to the latest Java 7 or Java 8, or enable the missing protocol as described here.

How to check that a java version supports TLS 1.1 :

- Execute a process with a Beanshell Scripting action

SSLParameters sslParameters;
sslParameters = SSLContext.getDefault().getDefaultSSLParameters();
String varname = "/PROTOCOL ";
String[] vals = sslParameters.getProtocols();
for (String val: vals) {
    __ctx__.publishVariable(varname+val, "OK");

- After execution, the view "Session Variables" will show the list of available protocols, "PROTOCOL TLSv1.1" should be listed.