Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / USPS shipping server is down

USPS shipping server is down

Views: 5,669

Results 41 to 57 of 57
24 Mar 2012, 12:37 AM
#41
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

USPS shipping server is down

Have your hosting provider check for issues with port 80 outbound ...

Also check if there are issues with fsockopen ...

You could try temp ...
/includes/classes/http_client.php line 306

        if (!$this->socket = @fsockopen($host, $port, $this->reply, $this->replyString, $this->timeout)) {

remove the @ ... TEMPORARILY and see if you see errors or get error logs in the /cache ...

24 Mar 2012, 12:37 AM
#42
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

I got absolutely no where with them.
They claim no changes to the server have been made (I don't believe they really know this).

They want to know details about the communication.
How it is connecting
What are the details of the server its connecting to
etc.

24 Mar 2012, 12:41 AM
#43
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Have your hosting provider check for issues with port 80 outbound ...

Also check if there are issues with fsockopen ...

You could try temp ...
/includes/classes/http_client.php line 306

    if (!$this->socket = @fsockopen($host, $port, $this->reply, $this->replyString, $this->timeout)) {
> 
> remove the @ ... TEMPORARILY and see if you see errors or get error logs in the /cache ...


changing @fsockopen to fsockopen  had no effect

However, my line was 613
24 Mar 2012, 12:48 AM
#44
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

The log file:

[23-Mar-2012 17:41:08] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to production.shippingapis.com:80 (Connection timed out) in /home/content/44/4963044/html/ZC/includes/classes/http_client.php on line 613

24 Mar 2012, 12:50 AM
#45
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS shipping server is down

Try running:
your_domain.com/your_directory/extras/ipncheck.php

24 Mar 2012, 12:51 AM
#46
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS shipping server is down

split63:

The log file:

[23-Mar-2012 17:41:08] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to production.shippingapis.com:80 (Connection timed out) in /home/content/44/4963044/html/ZC/includes/classes/http_client.php on line 613

Tell GoDaddy that is the error you are getting and to fix it ...

24 Mar 2012, 12:53 AM
#47
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Tell GoDaddy that is the error you are getting and to fix it ...

That error resulted when I removed the @ symbol. I put it back in and the error no longer occurs and the log file is empty

24 Mar 2012, 12:55 AM
#48
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Try running:
your_domain.com/your_directory/extras/ipncheck.php

IPNCHECK.PHP - Version 1.3.9

CURL RESPONSE RECEIVED - Communications OKAY
IPN TESTING - Response Received via CURL -- COMMUNICATIONS OKAY

IPN TESTING - Confirmation/Validation response with fsockopen(): FSOCKOPEN() RESPONSE RECEIVED - Communications OKAY

Default method likely to be used for communications is: CURL, with the fallback method being FSOCKOPEN if possible.

Script finished.

24 Mar 2012, 1:01 AM
#49
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Can you give a more specific example of charges for:
Quantity 1
Quantity 2
Quantity 3

For US domestic only

QTY 1: $8.00
QTY 2: $10.00
QTY 3: $12.00
QTY 4. $14.00
etc

24 Mar 2012, 1:12 AM
#50
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS shipping server is down

Turn on Item Rate and set Handling to 6.00 and the Rate to 2.00 ...

If you only want the US for this, then you need to make a Zone Definition for the US with the DETAILS for:
Country: United States
Zones: ALL

If you want to limit who the US is, as in 48 states, then you need to add the individual Zones to the DETAILS ...

This FAQ would help with that:
https://www.zen-cart.com/tutorials/index.php?article=409

24 Mar 2012, 1:20 AM
#51
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Turn on Item Rate and set Handling to 6.00 and the Rate to 2.00 ...

If you only want the US for this, then you need to make a Zone Definition for the US with the DETAILS for:
Country: United States
Zones: ALL

If you want to limit who the US is, as in 48 states, then you need to add the individual Zones to the DETAILS ...

This FAQ would help with that:
https://www.zen-cart.com/tutorials/index.php?article=409

Maybe I could just enable FedEx domestic and put no handling fee. That should come out roughly the same as USPS.

ANything else I can try to narrow in on this problem?
My understanding is weak. Essentially that its using port 80 to connect. But I still don't know the details as to where it is connecting

24 Mar 2012, 1:28 AM
#52
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

To get the cart working again. I enabled UPS again. And I put in a handling fee of -$5. That made it rougly equivalent to USPS. :clap:

But I still need to resolve this USPS issue

24 Mar 2012, 1:31 AM
#53
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS shipping server is down

split63:

[23-Mar-2012 17:41:08] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to production.shippingapis.com:80 (Connection timed out) in /home/content/44/4963044/html/ZC/includes/classes/http_client.php on line 613

Call GoDaddy and tell them you are getting this error ...

24 Mar 2012, 1:40 AM
#54
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Ajeh:

Call GoDaddy and tell them you are getting this error ...

You are losing me.... Since I'm not getting that error.... how will this help?

24 Mar 2012, 1:50 AM
#55
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

On phone with Godaddy now

24 Mar 2012, 1:54 AM
#56
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: USPS shipping server is down

Are you ready for this? Now Godaddy says " oh ya, that's a known issue, that server is having difficulty connecting to outside resoures and the USPS is a known example of a failing connection".

I'm just glad they admit it and they are working on it.

Thank you for all your help.

24 Mar 2012, 2:17 AM
#57
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS shipping server is down

Thanks for the update that the problem is with your GoDaddy server and that they know they have a problem and need to fix it ...