function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ATOUPSATOUPS 

Error related to TLS1.0

A change they made in June to prevent TLS1.0 communication is causing an error with an add on app we are testing. We are trying to correct this in the API call. We made change the java program as per the instructions from Salesfroce.com but continue to get the same error. The api call works against the development org but gives error when pointed to sandbox environment.


INFO 1110 134339.484 Processor0 Calling GmlProcessorExternalData query ERROR 1110 134339.839 Processor0 DX Server:https.protocols is TLSv1.1,TLSv1.2 INFO 1110 134339.839 Processor0 DX Server:Logging into salesforce [ User ID : gloviasf@ii-vi.com.apr2013 Password Marlowsf5mRJosnVKDRHve2zU9ZjwBHD1Q] Client ID : Glovia ERROR 1110 134343.781 Processor0 DX Server:Salesforce Login Failure : Error passed from Salesforce.com = ; nested exception is: org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.fault.UnexpectedErrorFault - upgradeURL Credentials : [[ User ID : gloviasf@ii-vi.com.apr2013 Password Marlowsf5mRJosnVKDRHve2zU9ZjwBHD1Q]] ERROR 1110 134343.784 Processor0 com.glovia.common.util.DataSyncProvider$SyncException: Salesforce Login Failure : Error passed from Salesforce.com = ; nested exception is: org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.fault.UnexpectedErrorFault - upgradeURL Credentials : [[ User ID : gloviasf@ii-vi.com.apr2013 Password Marlowsf5mRJosnVKDRHve2zU9ZjwBHD1Q]] at com.glovia.sync.salesforce.SalesforceConnection.login(SalesforceConnection.java:192) at com.glovia.sync.salesforce.Session.setup(Session.java:83) at com.glovia.sync.salesforce.Session.query(Session.java:115) at com.glovia.sync.salesforce.SalesforceSync.query(SalesforceSync.java:73) at com.glovia.eaccess.gml.GmlProcessorExternalData.process(GmlProcessorExternalData.java:166) at com.glovia.eaccess.gml.GmlArray.process(GmlArray.java:44) at com.glovia.eaccess.gml.GmlProcessorEntity.processChildrenEx(GmlProcessorEntity.java:178) at com.glovia.eaccess.gml.GmlProcessorTop.process(GmlProcessorTop.java:22) at com.glovia.eaccess.gml.GmlEngine.process(GmlEngine.java:302) at com.glovia.eaccess.gml.GmlEngine.parseAndProcessURL(GmlEngine.java:246) at com.glovia.eaccess.gml.GmlEngine.processAlternateUrl(GmlEngine.java:144) at com.glovia.eaccess.gml.GmlProcessorInclude.process(GmlProcessorInclude.java:79) at com.glovia.eaccess.gml.GmlArray.process(GmlArray.java:44) at com.glovia.eaccess.gml.GmlProcessorEntity.processChildrenEx(GmlProcessorEntity.java:178) at com.glovia.eaccess.gml.GmlProcessorTop.process(GmlProcessorTop.java:22) at com.glovia.eaccess.gml.GmlEngine.process(GmlEngine.java:302) at com.glovia.eaccess.gml.GmlEngine.parseAndProcessURL(GmlEngine.java:246) at com.glovia.eaccess.gml.GmlEngine.processLicensing(GmlEngine.java:320) at com.glovia.eaccess.gml.GmlEngine.process(GmlEngine.java:114) at com.glovia.eaccess.dxserver.DXRequestImpl.processGML(DXRequestImpl.java:375) at com.glovia.eaccess.dxserver.DXRequestImpl.process(DXRequestImpl.java:337) at com.glovia.eaccess.dxserver.DXRequestImpl.run(DXRequestImpl.java:226) at com.glovia.eaccess.dxserver.DXRequestThread.run(DXRequestThread.java:34) INFO 1110 134343.788 Processor0 Error: Salesforce Login Failure : Error passed from Salesforce.com = ; nested exception is: org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.fault.UnexpectedErrorFault - upgradeURL Credentials : [[ User ID : gloviasf@ii-vi.com.apr2013 Password Marlowsf5mRJosnVKDRHve2zU9ZjwBHD1Q]]
karthikeyan perumalkarthikeyan perumal
Hello, 

You're likely using an enterprise API client against the partner API endpoint, make sure your requests are going to the enterprise API endpoint.

For Example  : 

"https://test.salesforce.com/services/Soap/u/11.1"

/u/11.1 is the partner API 

https://test.salesforce.com/services/Soap/c/11.1-- For  enterprise API. 

Hope this will helps you. 

Thanks
karthik
 
ATOUPSATOUPS

Thank you for the reply! This is the response I've received -

Yes it the same API . We cannot use enterprise API  for following reasons
 
Enterprise WSDL
Strongly typed, the object and its attributes are fixed.
Contains the metadata about all standard and custom fields and objects.
Can only be used against your Salesforce instance.
 
Partner WSDL
Is loosely typed, the object and its attributes can be variable.
Does not contain metadata about objects and fields. Takes an array of key-value pairs.
Can be used against many Salesforce.com organizations.
 

Any comments on the reply? Thank you

Mayur ChandraMayur Chandra
Hi, 

have you solved this issue? Please share your solution.
CdubCdub
Hi Atoups,

We are also trying to connect our ETL application using Datastage.
We connect fine with prod and regular sandboxes, but are unable to connect to a partial copy sandbox.
Let me know if there are other things you tried.