Constant UPS errors, error obtaining rate quote

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
foodsleuth
Commander (CMDR)
Commander (CMDR)
Posts: 139
Joined: Wed Mar 31, 2010 8:59 pm

Constant UPS errors, error obtaining rate quote

Post by foodsleuth » Fri Dec 08, 2017 8:26 am

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

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Constant UPS errors, error obtaining rate quote

Post by compunerdy » Fri Dec 08, 2017 8:54 am

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

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Constant UPS errors, error obtaining rate quote

Post by compunerdy » Fri Dec 08, 2017 8:55 am

http://help.ablecommerce.com/index.htm# ... r_2017.htm

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

foodsleuth
Commander (CMDR)
Commander (CMDR)
Posts: 139
Joined: Wed Mar 31, 2010 8:59 pm

Re: Constant UPS errors, error obtaining rate quote

Post by foodsleuth » Fri Dec 08, 2017 9:10 am

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

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Constant UPS errors, error obtaining rate quote

Post by compunerdy » Fri Dec 08, 2017 9:28 am

:mrgreen: Looks like I no read so good.

foodsleuth
Commander (CMDR)
Commander (CMDR)
Posts: 139
Joined: Wed Mar 31, 2010 8:59 pm

Re: Constant UPS errors, error obtaining rate quote

Post by foodsleuth » Fri Dec 08, 2017 9:35 am

No problema! Thanks for the reply though!

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Constant UPS errors, error obtaining rate quote

Post by Katie » Sat Dec 09, 2017 12:04 am

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
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

foodsleuth
Commander (CMDR)
Commander (CMDR)
Posts: 139
Joined: Wed Mar 31, 2010 8:59 pm

Re: Constant UPS errors, error obtaining rate quote

Post by foodsleuth » Sat Dec 09, 2017 1:26 am

Thanks Katie. How do I check that?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Constant UPS errors, error obtaining rate quote

Post by Katie » Mon Dec 11, 2017 11:09 am

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
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

foodsleuth
Commander (CMDR)
Commander (CMDR)
Posts: 139
Joined: Wed Mar 31, 2010 8:59 pm

Re: Constant UPS errors, error obtaining rate quote

Post by foodsleuth » Mon Dec 11, 2017 11:31 am

Thanks very much! I'll call Rackspace and attend to it right away.
Thanks
Barb

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Constant UPS errors, error obtaining rate quote

Post by Katie » Mon Dec 11, 2017 1:20 pm

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.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Post Reply