UPS errors in log

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Will
Captain (CAPT)
Captain (CAPT)
Posts: 263
Joined: Fri Oct 05, 2007 8:02 am

UPS errors in log

Post by Will » Fri Mar 21, 2008 9:03 am

We went live Tuesday afternoon. Since then we've logged 14 errors.

All but one are:
"Error obtaining rate quote for shipping method 'UPS Ground'.
The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.; Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."
The severity is "Warn".

Is anyone else getting this? Should I be worried about it? Not hearing any complaints from customers.

Thanks.

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

Post by compunerdy » Fri Mar 21, 2008 9:11 am

I get these regularly also.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Post by jmestep » Fri Mar 21, 2008 10:10 am

We got these all the time in 5.5. If the UPS site is slow for some reason, the page times out. Logan gave us a fix-- maybe someone can adapt it for 7. Here it is in 5.5 code and we had to put it on shipping and payment pages:

Code: Select all

'replaced by Logan for timeout issue curTotalCost = cbShippingCalculator.CalculateShipping(objToken, objBasket)
			'start replace
			Dim maxRetries As Integer = 3
            Dim tryNumber As Integer = 1
            Dim shippingCalculated As Boolean = False
            While ((tryNumber <= maxRetries) AND (Not ShippingCalculated))
                Try
                    cbShippingCalculator.CalculateShipping(objToken, objBasket)
					'qrzyweasel below
					customShipGatewayInterfaceWrapper.ConvertBasketShippingItems(objToken,objBasket)
                    shippingCalculated = True
                Catch
                    tryNumber = tryNumber + 1
                    If (tryNumber > maxRetries) Then throw
                End Try
            End While
			'end replace
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply