Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

API Shipping Error (fatal error, advice needed)


Recommended Posts

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /XXXXX//XXXXX//public_html/includes/classes/http_client.php on line 330

 

Warning: fsockopen(): unable to connect to www.ups.com:80 in /XXXXX/XXXXX/public_html/includes/classes/http_client.php on line 330

 

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /XXXXX/XXXXX/public_html/includes/classes/http_client.php on line 330

 

Warning: fsockopen(): unable to connect to production.shippingapis.com:80 in /XXXXX/XXXXX/public_html/includes/classes/http_client.php on line 330

 

Is the message I get both on my shipping estimator and on the checkout_shipping page. It is a fatal error and I have been forced to put flat rate shipping as the only shipping option. This error comes and goes and seems to happen every few months and correct by itself after a time. Any advice on how to fix and prevent this in the future would be very much appreciated.

Edited by Powered By Cotton
Link to comment
Share on other sites

  • 6 months later...
Is the message I get both on my shipping estimator and on the checkout_shipping page. It is a fatal error and I have been forced to put flat rate shipping as the only shipping option. This error comes and goes and seems to happen every few months and correct by itself after a time. Any advice on how to fix and prevent this in the future would be very much appreciated.

 

 

I am having the same issue, have you found a fix?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...