USPS calculator down Today?
#1
Posted 08 December 2008 - 04:01 PM
Anyone else having issues with the USPS shipping calculator being down this morning? Sure puts business to a grinding halt :-)
Kim
#2
Posted 08 December 2008 - 04:07 PM
Warning: fsockopen() [function.fsockopen]: unable to connect to production.shippingapis.com:80 in /hsphere/local/home/xxxxxx/mysite.com/catalog/includes/classes/http_client.php on line 330
Sucks...
#3
Posted 08 December 2008 - 04:07 PM
[error] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to Production.ShippingAPIs.com:80 in /home/storename/public_html/store/catalog/includes/classes/http_client.php on line 330
So it appears their server is non-responsive.
Edited by Speedie, 08 December 2008 - 04:08 PM.
#4
Posted 08 December 2008 - 04:50 PM
Christmas load?
We support qdPM Open Framework Project Management
#5
Posted 08 December 2008 - 04:51 PM
Speedie, on Dec 8 2008, 10:07 AM, said:
[error] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to Production.ShippingAPIs.com:80 in /home/storename/public_html/store/catalog/includes/classes/http_client.php on line 330
So it appears their server is non-responsive.
// add to class vars timeout in seconds
var $connect_timeout = 60;
// add the connection timeout under the GET function
if (!$this->socket = fsockopen($host, $port, $this->reply, $this->replyString,$this->connect_timeout)) {
return false;
}
this way at least your page load will not fail
#6
Posted 08 December 2008 - 04:54 PM
#7
Posted 08 December 2008 - 04:58 PM
#8
Posted 08 December 2008 - 05:10 PM
#9
Posted 08 December 2008 - 05:12 PM
// add to class vars timeout in seconds var $connect_timeout = 60;Should look like:
var $url; // array containg server URL, similar to parseurl() returned array var $reply; // response code var $replyString; // full response var $protocolVersion = '1.1'; var $requestHeaders, $requestBody; var $socket = false; // proxy stuff var $useProxy = false; var $proxyHost, $proxyPort; var $connect_timeout = 60;
// add the connection timeout under the GET function
if (!$this->socket = fsockopen($host, $port, $this->reply, $this->replyString,$this->connect_timeout)) {
return false;
}
The next step on this thread is to add some code that auto switches to flat rates for first class, priority, and express, etc. in the event that USPS is down yet again.
#11
#12
Posted 08 December 2008 - 05:25 PM
Quote
A note the timeout should be set accounding to your servers timeout, some servers allow longer timeouts than others
Edited by webapps, 08 December 2008 - 05:26 PM.
#13
Posted 08 December 2008 - 05:55 PM
This timing is about as bad as it could be for us.
#14
Posted 08 December 2008 - 06:01 PM
This is where I found out though geesh.
#15
Posted 08 December 2008 - 06:06 PM
http://www.usps.com/prices/downloadable-pricing-files.htm
However, we need international handling and to build a whole module would probably be 80 man hours or more with all the complexity we would need to build in. Has anyone looked at doing a USPS downloadable rate chart based module?
#16
Posted 08 December 2008 - 06:30 PM
iofast, on Dec 8 2008, 11:06 AM, said:
http://www.usps.com/prices/downloadable-pricing-files.htm
However, we need international handling and to build a whole module would probably be 80 man hours or more with all the complexity we would need to build in. Has anyone looked at doing a USPS downloadable rate chart based module?
#17
Posted 08 December 2008 - 06:34 PM
#18
Posted 08 December 2008 - 06:53 PM
Can someone please post when it is back & functioning properly???
THANKS!!
#19
Posted 08 December 2008 - 07:00 PM
Someone should lose their job at the USPS over this. Can you imagine how many sales world wide this is trashing?!
We turned on flat rate also, but still have the USPS running and timing out. Not the best solution, but a band-aid. What are you guys doing?
#20
Posted 08 December 2008 - 07:01 PM
LIMITED TIME Best Way Shipping, PRIORITY USA and FIRST CLASS MAIL INTERNATIONAL $8.00
And turned off "United States Postal Service" API for now









