UPS error - connection closed on send

Posted By SAbow Mon 22 Jan 2018
Add to Favorites0
Author Message
SAbow
 Posted Mon 22 Jan 2018
Supreme Being

Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)Supreme Being - (39,093 reputation)

Group: Forum Members
Last Active: Tue 2 Feb 2021
Posts: 77, Visits: 334
Hi,

Just recently began getting this error in a couple of my Kartris sites... (these are hosted on different servers that all have TLS 1.2 already installed on them)
On front of site, says "no shipping available to your destination", but in the log this is the error I see:
"UPS - Error: The underlying connection was closed: An unexpected error occurred on a send."

the config url was recently updated to "https://onlinetools.ups.com/ups.app/xml/Rate" due to security updates on ups's api calls. And worked fine for a couple of weeks... now this...
Do you think the code for this call is no longer secure enough (TLS 1.2, etc)?

Please look into this issue ASAP.

Thanks,
Mon 22 Jan 2018 by SAbow
mparker Marked As Answer
 Posted Tue 23 Jan 2018
Supreme Being

Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)Supreme Being - (2,889 reputation)

Group: Forum Members
Last Active: Thu 25 Jan 2018
Posts: 6, Visits: 19
Try putting this within the Application_Start() sub of the Global.asax. This will force Kartris to use TLS 1.2.

Try
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12
Catch
End Try

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top