cmjeter Posted December 29, 2005 Share Posted December 29, 2005 I seem to be getting a timeout error going to UPS. Please look at log and let me know any ideas. ------------------------------------------DATE AND TIME: 2005-12-28 19:45:30 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/TimeInTransit UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>****************</AccessLicenseNumber> <UserId>***************</UserId> <Password>*************</Password> </AccessRequest> <?xml version="1.0"?> <TimeInTransitRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Time in Transit</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>TimeInTransit</RequestAction> </Request> <TransitFrom> <AddressArtifactFormat> <PoliticalDivision2>North Reading</PoliticalDivision2> <PoliticalDivision1>MA</PoliticalDivision1> <CountryCode>US</CountryCode> <PostcodePrimaryLow>01864</PostcodePrimaryLow> </AddressArtifactFormat> </TransitFrom> <TransitTo> <AddressArtifactFormat> <PoliticalDivision2>West Palm Beach</PoliticalDivision2> <PoliticalDivision1>FL</PoliticalDivision1> <CountryCode>US</CountryCode> <PostcodePrimaryLow>33415</PostcodePrimaryLow> <PostcodePrimaryHigh>33415</PostcodePrimaryHigh> </AddressArtifactFormat> </TransitTo> <PickupDate>20051229</PickupDate> <ShipmentWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>10</Weight> </ShipmentWeight> <InvoiceLineTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>100</MonetaryValue> </InvoiceLineTotal> </TimeInTransitRequest> Error from cURL: Error [28]: connect() timed out! UPS RESPONSE: ------------------------------------------ Time in Transit: 0 ------------------------------------------ DATE AND TIME: 2005-12-28 19:46:30 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>*******************</AccessLicenseNumber> <UserId>**********</UserId> <Password>*********</Password> </AccessRequest> <?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <PickupType> <Code>01</Code> </PickupType> <Shipment> <Shipper> <Address> <City>North Reading</City> <StateProvinceCode>MA</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>01864</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>West Palm Beach</City> <StateProvinceCode>FL</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>33415</PostalCode> </Address> </ShipTo> <Package> <PackagingType> <Code>02</Code> </PackagingType> <PackageWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>7</Weight> </PackageWeight> <PackageServiceOptions> <InsuredValue> <CurrencyCode></CurrencyCode> <MonetaryValue>139</MonetaryValue> </InsuredValue> </PackageServiceOptions> </Package> </Shipment> <CustomerClassification> <Code>01</Code> </CustomerClassification> </RatingServiceSelectionRequest> Thanks Quote Link to comment Share on other sites More sharing options...
wheeloftime Posted December 29, 2005 Share Posted December 29, 2005 I seem to be getting a timeout error going to UPS. Please look at log and let me know any ideas.Thanks UPS server down ?! Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted December 29, 2005 Share Posted December 29, 2005 I seem to be getting a timeout error going to UPS. Please look at log and let me know any ideas. Might be a good idea to not use the test server, but the production server. This is a bug in includes/modules/shipping/upsxml.php (somewhere around line 56): $this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'wwwcie.ups.com'); but it should be: $this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'www.ups.com'); Quote Link to comment Share on other sites More sharing options...
mombrea Posted December 29, 2005 Share Posted December 29, 2005 (edited) Might be a good idea to not use the test server, but the production server. This is a bug in includes/modules/shipping/upsxml.php (somewhere around line 56): $this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'wwwcie.ups.com'); but it should be: $this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'www.ups.com'); I am getting the same error. I have tried changing that line as well. Any ideas? ------------------------------------------ DATE AND TIME: 2005-12-29 06:24:27 UPS URL: https://www.ups.com:443/ups.app/xml/TimeInTransit UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>XML Access Number</AccessLicenseNumber> <UserId>UserID</UserId> <Password>PAss</Password> </AccessRequest> <?xml version="1.0"?> <TimeInTransitRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Time in Transit</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>TimeInTransit</RequestAction> </Request> <TransitFrom> <AddressArtifactFormat> <PoliticalDivision2>Webster</PoliticalDivision2> <PoliticalDivision1>NY</PoliticalDivision1> <CountryCode>US</CountryCode> <PostcodePrimaryLow>14580</PostcodePrimaryLow> </AddressArtifactFormat> </TransitFrom> <TransitTo> <AddressArtifactFormat> <PoliticalDivision2>Lawrenceville</PoliticalDivision2> <PoliticalDivision1>NJ</PoliticalDivision1> <CountryCode>US</CountryCode> <PostcodePrimaryLow>08648</PostcodePrimaryLow> <PostcodePrimaryHigh>08648</PostcodePrimaryHigh> </AddressArtifactFormat> </TransitTo> <PickupDate>20051231</PickupDate> <ShipmentWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>10</Weight> </ShipmentWeight> <InvoiceLineTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>100</MonetaryValue> </InvoiceLineTotal> </TimeInTransitRequest> Error from cURL: Error [28]: connect() timed out! UPS RESPONSE: Edited December 29, 2005 by mombrea Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted December 29, 2005 Share Posted December 29, 2005 I am getting the same error. I have tried changing that line as well. Any ideas? Error from cURL: Error [28]: connect() timed out! UPS RESPONSE: Strange, just tested getting quotes from UPS, no problem on the test server, no problem on the production server. Still you get a connect error (no response from UPS in 60 seconds). Try it more often during the day I would say, perhaps it is just a glitch. Quote Link to comment Share on other sites More sharing options...
mombrea Posted December 29, 2005 Share Posted December 29, 2005 Strange, just tested getting quotes from UPS, no problem on the test server, no problem on the production server. Still you get a connect error (no response from UPS in 60 seconds). Try it more often during the day I would say, perhaps it is just a glitch. I tried all day yesterday as well. Is it possible that my web host is blocking the response? I also received a Curl Error [7] once while trying another time. I made sure that they had curl (libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4) I'm using GoDaddy.com as a host. Is there anything else i should try? I've also tried uncommenting the lines around 643 as suggested in other posts but no change. I appreciate the help, this is driving me crazy. I'm using $Id: upsxml.php,v 1.1.4 2004/12/19 13:30:00 sgo Exp $ I also tried with 1.1.3. Thanks for any suggestions! Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted December 29, 2005 Share Posted December 29, 2005 I tried all day yesterday as well. I tried Google for this time-out error, but came up empty handed. You could try this curl test script, perhaps it gives more info. Quote Link to comment Share on other sites More sharing options...
ski2bbad Posted January 19, 2006 Share Posted January 19, 2006 I tried Google for this time-out error, but came up empty handed. You could try this curl test script, perhaps it gives more info. I'm also having the exact problem. . . Have you or anyone found the solution to this problem? PLEASE HELP! ski Quote Link to comment Share on other sites More sharing options...
ski2bbad Posted January 20, 2006 Share Posted January 20, 2006 I figure out the cURL: Error [28]: connect() timed out! If you use GoDaddy as your host, you must add the following lines of code to the curl command section in /catalog/includes/modules/shipping/upsxml.php curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128"); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); good luck! Quote Link to comment Share on other sites More sharing options...
sawyerbrown Posted February 19, 2006 Share Posted February 19, 2006 I figure out the cURL: Error [28]: connect() timed out! If you use GoDaddy as your host, you must add the following lines of code to the curl command section in /catalog/includes/modules/shipping/upsxml.php curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY, "http://64.202.165.130:3128"); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); good luck! Hey guys, I am having the same problem (error 28) with godaddy, I see your solution, where does it go in the upsxml file. Thanks for your help. Sawyer Quote Link to comment Share on other sites More sharing options...
sawyerbrown Posted February 19, 2006 Share Posted February 19, 2006 Hey guys, I am having the same problem (error 28) with godaddy, I see your solution, where does it go in the upsxml file. Thanks for your help. Sawyer Never mind, I found it and after about 12 hours I am getting ups quotes, yeah Quote Link to comment Share on other sites More sharing options...
digitalldesign Posted June 5, 2007 Share Posted June 5, 2007 Hello Friends, I need your help! I have installed module UPS XML 1.2.8.1 version My hosting is in GoDaddy.com I have problems with this module and I read that they said something of GoDaddy.com, I have try it some of the things that I read but I have not had successful results. In checkout_shipping.phpthe error is: 2013 - Lost connection to MySQL server during query select languages_id, name, code, image, directory from languages order by sort_order [TEP STOP] 2006 - MySQL server has gone away select count(*) as total from sessions where sesskey = 'a71e2b9c9cd16ce389b7978d2471ae4b' [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 Also, I have received following emails UPSXML Rates Error: Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway : Rating and Service 1.0001 0 An unknown error occured while attempting to contact the UPS gateway experienced by customer with id 18 on 2007-06-05 08:02:02 Error from cURL: Error [28]: connect() timed out! experienced by customer with id 18 on 2007-06-05 08:02:14 In some cases the error is: Error from cURL: Error [7]: experienced by customer with id 18 on 2007-06-05 07:12:14 Somebody can help me? not that to do... Thank you Big Y Quote Link to comment Share on other sites More sharing options...
kustomjs Posted September 19, 2007 Share Posted September 19, 2007 now what happen if you got other modules that have https and godaddy is blocking it how would you install curl into them modules? Quote Link to comment Share on other sites More sharing options...
kustomjs Posted September 19, 2007 Share Posted September 19, 2007 now I get a this timeout error:Error from cURL: Error [28]: SSL connection timeout experienced by customer with id 3 on 2007-09-19 07:55:05 Quote Link to comment Share on other sites More sharing options...
beachkitty85 Posted October 1, 2007 Share Posted October 1, 2007 I'm having the exact same issues with my store. I have added the suggested GoDaddy fix and read all the information I can get my hands on. I am getting the same error log emails above as well as a 2013 Lost Connection error. Any help is much appreciated! Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted October 1, 2007 Share Posted October 1, 2007 I'm having the exact same issues with my store. I have added the suggested GoDaddy fix Perhaps ask GoDaddy about it? It wouldn't be the first time they changed the proxy settings. I recall the one mentioned above was different from an earlier version. Might be diffferent from one server to another... Quote Link to comment Share on other sites More sharing options...
Mamezy Posted March 27, 2011 Share Posted March 27, 2011 Hi I know this is an old post but I am having the same problem and couldn't find any solution anywhere. I installed the UPSXML_v1_3_9 few months ago. it was working when I tested it and now I am getting this error messages: UPSXML Rates Error: : experienced by customer and this one: Error from cURL: Error [7]: couldn't connect to host experienced by customer with id 3 on 2011-03-27 17:16:22 and this: Error from cURL: Error [28]: connect() timed out! experienced by customer with id 3 on 2011-03-27 16:29:59 This error happens when you try to checkout. It just doesn't go through. I need help. PLEASE Here is my website: http://chez-mehnoush.com Thank you in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.