Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Curl Errors: I must be banned??

Curl Errors: I must be banned??

Views: 1,835

Results 1 to 2 of 2
8 Jul 2015, 6:49 AM
#1
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Curl Errors: I must be banned??

I'm setting up a live VPS account, with server located in the west coast, and on installing Zen Cart I get

CURL problems detected: 28 => Connection timed out after 11161 milliseconds more info...
CURL requires SSL support. Please notify webmaster or hosting company. 28 => Connection timed out after 11160 milliseconds more info..

Running phpinfo() shows Curl support is enabled with SSL

Running curltester.php?details=on gives

Connecting to Zen Cart Support Server (http) ...
Error 28: Connection timed out after 5162 milliseconds

Connection Details:
Array
(
    [url] => "http://www.zen-cart.com/testcurl.php"
    [content_type] => 
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 6.021851
    [namelookup_time] => 0.153811
    [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
    [certinfo] => Array
        (
        )

    [primary_ip] => 104.236.245.70
    [primary_port] => 80
    [local_ip] => 
    [local_port] => 0
    [redirect_url] => 
)


Connecting to Zen Cart Support Server (https) ...
Error 28: Connection timed out after 5533 milliseconds

Connection Details:
Array
(
    [url] => "https://www.zen-cart.com/testcurl.php"
    [content_type] => 
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 5.532291
    [namelookup_time] => 0.155623
    [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
    [certinfo] => Array
        (
        )

    [primary_ip] => 104.236.245.70
    [primary_port] => 443
    [local_ip] => 
    [local_port] => 0
    [redirect_url] => 
)


Connecting to USPS (port 80)...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "http://production.shippingapis.com/shippingapi.dll"
    [content_type] => text/xml
    [http_code] => 200
    [header_size] => 390
    [request_size] => 226
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.775411
    [namelookup_time] => 0.150206
    [connect_time] => 1.187434
    [pretransfer_time] => 1.760841
    [size_upload] => 37
    [size_download] => 212
    [speed_download] => 119
    [speed_upload] => 20
    [download_content_length] => 212
    [upload_content_length] => 37
    [starttransfer_time] => 1.775391
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 56.0.70.50
    [primary_port] => 80
    [local_ip] => 173.254.231.91
    [local_port] => 39729
    [redirect_url] => 
)


Connecting to USPS Test/Staging/Sandbox Server (port 80)...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "http://stg-production.shippingapis.com/ShippingApi.dll"
    [content_type] => text/xml
    [http_code] => 200
    [header_size] => 390
    [request_size] => 230
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.337184
    [namelookup_time] => 0.150201
    [connect_time] => 0.276178
    [pretransfer_time] => 0.27627
    [size_upload] => 37
    [size_download] => 212
    [speed_download] => 628
    [speed_upload] => 109
    [download_content_length] => 212
    [upload_content_length] => 37
    [starttransfer_time] => 0.33716
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 56.0.71.29
    [primary_port] => 80
    [local_ip] => 173.254.231.91
    [local_port] => 32879
    [redirect_url] => 
)


Connecting to UPS (port 80)...
GOOD: Socket established

Connecting to UPSXML (SSL) (wwwcie.ups.com) ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://wwwcie.ups.com/ups.app/xml/Rate"
    [content_type] => application/xml
    [http_code] => 200
    [header_size] => 171
    [request_size] => 214
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.670754
    [namelookup_time] => 0.150217
    [connect_time] => 0.240349
    [pretransfer_time] => 0.522381
    [size_upload] => 37
    [size_download] => 362
    [speed_download] => 539
    [speed_upload] => 55
    [download_content_length] => 362
    [upload_content_length] => 37
    [starttransfer_time] => 0.670745
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 153.2.224.65
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 38604
    [redirect_url] => 
)


Connecting to UPSXML (SSL) (www.ups.com) ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://www.ups.com/ups.app/xml/Rate"
    [content_type] => application/xml
    [http_code] => 200
    [header_size] => 189
    [request_size] => 211
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.571145
    [namelookup_time] => 0.150215
    [connect_time] => 0.246108
    [pretransfer_time] => 0.490472
    [size_upload] => 37
    [size_download] => 362
    [speed_download] => 633
    [speed_upload] => 64
    [download_content_length] => 362
    [upload_content_length] => 37
    [starttransfer_time] => 0.571137
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 153.2.224.50
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 53103
    [redirect_url] => 
)


Connecting to UPSXML (SSL) (onlinetools.ups.com) ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://onlinetools.ups.com/ups.app/xml/Rate"
    [content_type] => application/xml
    [http_code] => 200
    [header_size] => 171
    [request_size] => 219
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.574274
    [namelookup_time] => 0.150209
    [connect_time] => 0.264662
    [pretransfer_time] => 0.496548
    [size_upload] => 37
    [size_download] => 362
    [speed_download] => 630
    [speed_upload] => 64
    [download_content_length] => 362
    [upload_content_length] => 37
    [starttransfer_time] => 0.574267
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 153.2.224.76
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 54965
    [redirect_url] => 
)


Connecting to FedEx (port 80)...
GOOD: Socket established

Connecting to PayPal IPN (port 443)...
GOOD: Socket established

GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://www.paypal.com/cgi-bin/webscr"
    [content_type] => text/html
    [http_code] => 302
    [header_size] => 2122
    [request_size] => 212
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.788972
    [namelookup_time] => 0.150219
    [connect_time] => 0.185071
    [pretransfer_time] => 0.267369
    [size_upload] => 37
    [size_download] => 26
    [speed_download] => 32
    [speed_upload] => 46
    [download_content_length] => -1
    [upload_content_length] => 37
    [starttransfer_time] => 0.788873
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 23.204.251.12
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 40236
    [redirect_url] => https://www.paypal.com/home
)


Connecting to PayPal IPN (port 443) Sandbox ...
GOOD: Socket established

GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://www.sandbox.paypal.com/cgi-bin/webscr"
    [content_type] => text/html; charset=ISO-8859-1
    [http_code] => 302
    [header_size] => 1813
    [request_size] => 220
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.745214
    [namelookup_time] => 0.150198
    [connect_time] => 0.183063
    [pretransfer_time] => 0.291011
    [size_upload] => 37
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 49
    [download_content_length] => -1
    [upload_content_length] => 37
    [starttransfer_time] => 0.68367
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 173.0.82.77
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 41749
    [redirect_url] => https://www.sandbox.paypal.com/home
)


Connecting to PayPal Express/Pro Server ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://api-3t.paypal.com/nvp"
    [content_type] => text/plain; charset=utf-8
    [http_code] => 200
    [header_size] => 541
    [request_size] => 204
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.644794
    [namelookup_time] => 0.150209
    [connect_time] => 0.416425
    [pretransfer_time] => 0.52567
    [size_upload] => 37
    [size_download] => 146
    [speed_download] => 226
    [speed_upload] => 57
    [download_content_length] => 146
    [upload_content_length] => 37
    [starttransfer_time] => 0.644719
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 173.0.88.101
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 37563
    [redirect_url] => 
)


Connecting to PayPal Express/Pro Sandbox ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://api-3t.sandbox.paypal.com/nvp"
    [content_type] => text/plain; charset=utf-8
    [http_code] => 200
    [header_size] => 381
    [request_size] => 212
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.577884
    [namelookup_time] => 0.152855
    [connect_time] => 0.184746
    [pretransfer_time] => 0.258444
    [size_upload] => 37
    [size_download] => 146
    [speed_download] => 252
    [speed_upload] => 64
    [download_content_length] => 146
    [upload_content_length] => 37
    [starttransfer_time] => 0.57782
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 173.0.82.83
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 56743
    [redirect_url] => 
)


Connecting to PayPal Payflowpro Server ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://payflowpro.paypal.com/transaction"
    [content_type] => text/namevalue
    [http_code] => 200
    [header_size] => 151
    [request_size] => 216
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.331998
    [namelookup_time] => 0.150221
    [connect_time] => 0.182866
    [pretransfer_time] => 0.292352
    [size_upload] => 37
    [size_download] => 43
    [speed_download] => 129
    [speed_upload] => 111
    [download_content_length] => 43
    [upload_content_length] => 37
    [starttransfer_time] => 0.331935
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 173.0.82.162
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 41198
    [redirect_url] => 
)


Connecting to AuthorizeNet Production Server ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://secure.authorize.net/gateway/transact.dll"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 263
    [request_size] => 224
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.747047
    [namelookup_time] => 0.150964
    [connect_time] => 0.449735
    [pretransfer_time] => 0.637406
    [size_upload] => 37
    [size_download] => 151
    [speed_download] => 202
    [speed_upload] => 49
    [download_content_length] => 151
    [upload_content_length] => 37
    [starttransfer_time] => 0.746983
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 64.94.118.32
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 54232
    [redirect_url] => 
)


Connecting to AuthorizeNet Developer/Sandbox Server ...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://test.authorize.net/gateway/transact.dll"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 287
    [request_size] => 222
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.569924
    [namelookup_time] => 0.150209
    [connect_time] => 0.309955
    [pretransfer_time] => 0.408817
    [size_upload] => 37
    [size_download] => 151
    [speed_download] => 264
    [speed_upload] => 64
    [download_content_length] => 151
    [upload_content_length] => 37
    [starttransfer_time] => 0.569875
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 23.204.243.236
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 33528
    [redirect_url] => 
)


Connecting to First Data GGe4 server (SSL)...
GOOD: CURL Connection successful.

Connection Details:
Array
(
    [url] => "https://checkout.globalgatewaye4.firstdata.com/payment"
    [content_type] => text/html; charset=utf-8
    [http_code] => 302
    [header_size] => 919
    [request_size] => 229
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.572842
    [namelookup_time] => 0.150194
    [connect_time] => 0.150527
    [pretransfer_time] => 0.16211
    [size_upload] => 37
    [size_download] => 265
    [speed_download] => 462
    [speed_upload] => 64
    [download_content_length] => -1
    [upload_content_length] => 37
    [starttransfer_time] => 0.572746
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 198.41.221.130
    [primary_port] => 443
    [local_ip] => 173.254.231.91
    [local_port] => 55388
    [redirect_url] => https://checkout.globalgatewaye4.firstdata.com/check_cookie?ant=6bf6b09a4b6a2b309336368458d6baa5&order=5498d1d409ece3e7902800d9ba92f2b19f9aa0b93da89e7993ef5d336681a57b&purch=115886999&t=1
)


Connecting to LinkPointAPI server (port 1129)...
Error 56: NSS: client certificate not found (nickname not specified)

Connection Details:
Array
(
    [url] => "https://secure.linkpt.net/LSGSXML"
    [content_type] => 
    [http_code] => 0
    [header_size] => 2
    [request_size] => 213
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.564696
    [namelookup_time] => 0.350593
    [connect_time] => 0.365392
    [pretransfer_time] => 0.503973
    [size_upload] => 37
    [size_download] => 278
    [speed_download] => 492
    [speed_upload] => 65
    [download_content_length] => -1
    [upload_content_length] => 37
    [starttransfer_time] => 0.56227
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 208.72.248.102
    [primary_port] => 1129
    [local_ip] => 173.254.231.91
    [local_port] => 34293
    [redirect_url] => 
)


Testing completed. See results above.

I have tried deactivating my VPS firewall and even 'allowed' 104.236.245.70 as a destination. Still no luck.

Given that the curltester shows successful connection to some http and https addresses, could it be that my ip address, under a previous owner, was banned by Zen Cart?

8 Jul 2015, 12:55 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Curl Errors: I must be banned??

As you say, it's probably that your IP was blocked for spam.** You can still proceed with installing Zen Cart** (that CURL test is not going to block you from completing installation). The fact that CURL is connecting to payment and shipping services (as you demonstrated with using the /extras/curltester.php script) means CURL is fine on your server, and will be able to perform its necessary tasks. So proceeding past that alert in zc_install is fine.