Zen Cart Logo
Forums / Addon Shipping Modules / UPS XML Stopped Communicating with UPS... HELP!

UPS XML Stopped Communicating with UPS... HELP!

Views: 10,161

Results 21 to 29 of 29
6 Sep 2011, 3:57 PM
#21
kamino84 avatar

kamino84

New Zenner

Join Date:
Aug 2006
Posts:
80
Plugin Contributions:
0

UPS XML Stopped Communicating with UPS... HELP!

jestep:

Can you tell me the IP of wwwcie.ups.com on your server. We're trying it from 2 servers and still get DNS errors. We've cleared all DNS caches. It resolves to: 184.86.145.242

That IP is for the test server, if you are using production it should be https://www.ups.com. The test server is still not working.

6 Sep 2011, 3:58 PM
#22
jestep avatar

jestep

New Zenner

Join Date:
Sep 2007
Posts:
4
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

After testing, if you manually add the IP 173.223.209.242 to your hosts file for wwwcie.ups.com it will work. Our servers were still resolving to: 184.86.145.242 which is incorrect. This entry can be removed once the correct DNS propagates.

6 Sep 2011, 3:58 PM
#23
kamino84 avatar

kamino84

New Zenner

Join Date:
Aug 2006
Posts:
80
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

TO directly answer your question i get Address: 184.85.33.242 for wwwcie.ups.com

6 Sep 2011, 4:00 PM
#24
jestep avatar

jestep

New Zenner

Join Date:
Sep 2007
Posts:
4
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

Thanks. Our DNS is still resolving to the bad IP's. Manually added this IP and it works, which is fine for a temporary fix until the DNS properly resolves.

6 Sep 2011, 4:01 PM
#25
kamino84 avatar

kamino84

New Zenner

Join Date:
Aug 2006
Posts:
80
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

jestep:

After testing, if you manually add the IP 173.223.209.242 to your hosts file for wwwcie.ups.com it will work. Our servers were still resolving to: 184.86.145.242 which is incorrect. This entry can be removed once the correct DNS propagates.

Just FYI thats the test server according to UPS, not the live server.

6 Sep 2011, 4:50 PM
#26
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: UPS XML Stopped Communicating with UPS... HELP!

MAKE SURE to double check this line (approx line 69) in the upsxml.php file. Ours went down today due to this. Once I removed the "cie" from the second address it worked!!

Thanks!!!!

Kamino84:

Okay so after beeing on the phone with UPS, GoDaddy and 1and1 ive fixed the issue without any of them lol.

Here is the breakdown. They moved 2 servers between yesturday and today: The test server and the production server. The production server was moved yesturday and is now working. The test server was just moved today and is still down. I noticed in the latest download of the upsxml.php file there is a mistake. This line at the top:

$this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'wwwcie.ups.com');

That is incorrect. wwwcie is the test server, which you shouldnt be using for production. So this if statement is wrong. This should read:

$this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'www.ups.com');

Thus if you have your module set to production, it works fine. After finding this issue and changing it, everything works. As a side note i use this upsxml on 2 sites, and only 1 site had an issue which is how i was able to narrow down the problem.

6 Sep 2011, 6:58 PM
#27
kamino84 avatar

kamino84

New Zenner

Join Date:
Aug 2006
Posts:
80
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

Okay, i got an offical answer from UPS, that the upsxml module URL is very out of date. Here is the corrected info you should make to your upsxml.php file.

$this->host = ((MODULE_SHIPPING_UPSXML_RATES_TEST_MODE == 'Test') ? 'wwwcie.ups.com' : 'onlinetools.ups.com');

Not the last url changed from https://www.ups.com to onlinetools.ups.com

I tested this change and everyone worked fine.

Email from UPS:

Thank you for your response. Unfortunately, a third-party domain registration company used by UPS and other companies was temporarily unable to provide access to UPS.com. However, the URLs that contain cie and ups.com are not current. The URL that contains cie is the testing environment and for the rating API this should immediately be moved to the production URL which is:

https://onlinetools.ups.com/ups.app/xml/Rate

The production URL that includes ups.com is very old and should be discarded in favor of the above URL.

If you still have need to test in the testing environment, then please refresh your DNS list and ask the hosting company/ISP refresh theirs as well.

Flush DNS: This will clear the local DNS cache if your computer is not updating automatically.

  1. Close all IE/Firefox/Chrome/Opera browser windows
  2. Start > Run
  3. Type “CMD”
  4. Hit “Enter”
  5. Type “ipconfig /flushdns” (ipconfig space /flushdns)
  6. Have the customer open new browser window
  7. Type https://www.ups.com

Please contact us if you need any additional assistance.

Brent R.
UPS Technical Support

22 Nov 2011, 7:36 AM
#28
tecalleja avatar

tecalleja

New Zenner

Join Date:
Nov 2011
Posts:
1
Plugin Contributions:
0

Re: UPS XML Stopped Communicating with UPS... HELP!

So happy to find this thread here!

Anyway... I changed the URL to onlinetools.ups.com but I am still encountering the same problem: when I check out and the page takes me to mysite.com/index.php?main_page=checkout_shipping the whole page goes blank :(

If I turn off upsxml shipping module, the page loads properly.

I carefully followed the instructions listed here http://www.zen-cart.com/wiki/index.php/3rd_party_contributions_-_Shipping_Modules_-_UPS_XML

BY THE WAY... if I am logged in as a buyer in the Philippines, the page loads fine (I just can't use UPS shipping). If I am logged in as a buyer with a US address, the checkout page is blank.

23 Nov 2011, 2:31 PM
#29
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: UPS XML Stopped Communicating with UPS... HELP!

tecalleja:

BY THE WAY... if I am logged in as a buyer in the Philippines, the page loads fine (I just can't use UPS shipping). If I am logged in as a buyer with a US address, the checkout page is blank.

The entire checkout page is blank? or just the ups section? If I remember correctly when this happened just the ups section was blank.

If you give us your url we can take a look at what is happening.