Magento – UPS Error: shipping method is currently unavailable

magento-1.6shippingshipping-methodsups

I did not understand why I am getting this error for ups shipping "This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us."

I have this following settings in UPS backend

http://awesomescreenshot.com/082404tl8d.

When I checked shipping_ups.log file. It has following response.

    [result] => Array
        (
            [error] => Unable to Connect to tcp://www.ups.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known
            [code] => 0
        )

    [__pid] => 15259
)

Does anyone has idea, how to fix it. I am using magento 1.6

Best Answer

Looks like a firewall issue to me, it is not able to connect to UPS. Test connectivity from the server and also ensure you havent changed the UPS urls in use.