Page 1 of 1

Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 8:26 am
by foodsleuth
Does anyone know what may be causing this error? My error logs fill up with them every few days. Usually they are for ground shipping but sometimes 3rd day. I had it happen to me testing orders, one time it will show me the rate for UPS ground, other times not. It's always UPS. I have done the URL update as suggested the other day. What is strange is if I open the product detail page for an other that wont should ground rates, save it, go back into my cart, the UPS rates will display. BUT it will work one time then do it again for the same item. Very odd:

=======================

Error obtaining rate quote for shipping method '3-Day Select®'.
Exception: The underlying connection was closed: An unexpected error occurred on a send. Stack Trace: at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at CommerceBuilder.Shipping.Providers.UPS.UPS.SendRequestToProvider(XmlDocument request, String url) at CommerceBuilder.Shipping.Providers.UPS.UPS.GetAllProviderShipRateQuotes(Warehouse origin, Address destination, IList`1 contents) at CommerceBuilder.Shipping.Providers.UPS.UPS.GetShipRateQuote(Warehouse origin, Address destination, IList`1 contents, String serviceCode) at CommerceBuilder.Shipping.Providers.ShippingProviderBase.GetShipRateQuote(IShipment shipment, String serviceCode) at CommerceBuilder.Shipping.ShipMethod.GetShipRateQuote(IShipment shipment) Inner Exception: Authentication failed because the remote party has closed the transport stream. Inner Exception Stack Trace: at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async)

Thanks
Barb

Re: Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 8:54 am
by compunerdy
We posted this yesterday to the help site and Dashboard feed -
http://help.ablecommerce.com/index.htm# ... r_2017.htm

Thanks everyone for contributing!

Katie

Re: Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 8:55 am
by compunerdy
http://help.ablecommerce.com/index.htm# ... r_2017.htm

Link in last post did not work correctly.. reposting here

Re: Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 9:10 am
by foodsleuth
As I mentioned in my post. I did that update a week or so ago but the errors persist. What else might be the problem?
Thanks!
Barb

Re: Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 9:28 am
by compunerdy
:mrgreen: Looks like I no read so good.

Re: Constant UPS errors, error obtaining rate quote

Posted: Fri Dec 08, 2017 9:35 am
by foodsleuth
No problema! Thanks for the reply though!

Re: Constant UPS errors, error obtaining rate quote

Posted: Sat Dec 09, 2017 12:04 am
by Katie
Authentication failed because the remote party has closed the transport stream.
There are actually two steps to complete in the document. Usually, updating the URL does the trick, but if you are still seeing errors like the one above, then you need to make sure that your server and application are using TLS 1.2.

Thanks
Katie

Re: Constant UPS errors, error obtaining rate quote

Posted: Sat Dec 09, 2017 1:26 am
by foodsleuth
Thanks Katie. How do I check that?

Re: Constant UPS errors, error obtaining rate quote

Posted: Mon Dec 11, 2017 11:09 am
by Katie
Hi,

You'll need access to the server to fix disable TLS 1.0 and 1.1. See -
http://help.ablecommerce.com/index.htm# ... LS_1.2.htm

I checked your site, and both TLS 1.0 and 1.1 enabled. You can check the website here - https://www.ssllabs.com

Thanks
Katie

Re: Constant UPS errors, error obtaining rate quote

Posted: Mon Dec 11, 2017 11:31 am
by foodsleuth
Thanks very much! I'll call Rackspace and attend to it right away.
Thanks
Barb

Re: Constant UPS errors, error obtaining rate quote

Posted: Mon Dec 11, 2017 1:20 pm
by Katie
Unless you are running Gold R12 SR2, you will need to modify AbleCommerce as well. The document explains which versions need to be changed and how.