cancel
Showing results for 
Search instead for 
Did you mean: 

Error while using FedEx as shipping method

Error while using FedEx as shipping method

Hi,

 

I am getting below error while using FedEx as a shipping method. I have added all the information needed in Magento 2.3.3 for FedEx.

 

Please let me know what could be the possible reason for the below error.

 

[2019-12-13 16:49:40] main.CRITICAL: Error Fetching http headers {"exception":"[object] (SoapFault(code: 0): Error Fetching http headers at /var/www/html/vendor/magento/module-fedex/Model/Carrier.php:508)"} []
[2019-12-13 17:34:58] main.CRITICAL: Error Fetching http headers {"exception":"[object] (SoapFault(code: 0): Error Fetching http headers at /var/www/html/vendor/magento/module-fedex/Model/Carrier.php:508)"} []
[2019-12-13 17:40:00] main.CRITICAL: Error Fetching http headers {"exception":"[object] (SoapFault(code: 0): Error Fetching http headers at /var/www/html/vendor/magento/module-fedex/Model/Carrier.php:508)"} []

4 REPLIES 4

Re: Error while using FedEx as shipping method

@deepali01 have you already checked closer in your var/log/exception.log and var/log/system.log? Also, is this an unaltered version of Magento or do you have extensions and modifications installed? Have you already check with your hosting provider to see if they have any insight? What version of PHP are you using?

Re: Error while using FedEx as shipping method

Assuming that your credentials are valid, open your php.ini file and change the value of the following variable:

 

default_socket_timeout = 120

Restart your webserver and try again.

 

Hope that helps!

Re: Error while using FedEx as shipping method

We already did this setting still no effect. Although, the FedEx work fine at our local development environment but not working on our staging environment. 

Re: Error while using FedEx as shipping method

The log attached is from var/log/exception.log. Yes, there are some paid extensions we have used in our application. PHP version we are using is 7.1.33