Actually, I think I have discovered the issue, not the exact solution but...if I swap out the url for the IP address it works...I do the same in the includes/modules/shipping/usps.php (see below) it returns rates...
Example:
PHP Code:
...
switch (MODULE_SHIPPING_USPS_SERVER) {
case 'production':
$usps_server = '56.0.34.43';
$api_dll = 'shippingapi.dll';
break;
...
results from modified curltester.php
PHP Code:
Connecting to USPS (port 80)...
Error 28: connect() timed out!
Connection Details:
Array
(
[url] => "HTTP://production.shippingapis.com/ShippingAPI.dll"
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 5.042165
[namelookup_time] => 0.048846
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
)
PHP Code:
Connecting to USPS via IP (port 80)...
GOOD: CURL Connection successful.
Connection Details:
Array
(
[url] => "HTTP://56.0.34.43/ShippingAPI.dll"
[content_type] => text/xml
[http_code] => 200
[header_size] => 454
[request_size] => 209
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.164458
[namelookup_time] => 0.000165
[connect_time] => 0.081003
[pretransfer_time] => 0.081085
[size_upload] => 37
[size_download] => 212
[speed_download] => 1289
[speed_upload] => 224
[download_content_length] => 212
[upload_content_length] => 37
[starttransfer_time] => 0.16444
[redirect_time] => 0
)
Bookmarks