Forums / Installing on a Linux/Unix Server / 28 => connect() timed out during install.

28 => connect() timed out during install.

Views: 1,145

Results 1 to 2 of 2
31 Jul 2013, 4:44 PM
#1
tbrown7552 avatar

tbrown7552

New Zenner

Join Date:
Jul 2013
Location:
United States
Posts:
1
Plugin Contributions:
0

28 => connect() timed out during install.

During the install i got this.

So i ran curltester.php

curltester.php:

28 connect() timed out!
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] => 20.023194
[namelookup_time] => 0.040971
[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
(
)

[redirect_url] => 

)

curltester.php?paypal=1:

COMMUNICATIONS TEST OKAY.
You may see error information below, but that information simply confirms that the server actually responded, which means communications is open.
Array
(
[url] => "https://api-3t.paypal.com/nvp"
[content_type] => text/plain; charset=utf-8
[http_code] => 200
[header_size] => 153
[request_size] => 204
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.250573
[namelookup_time] => 0.012177
[connect_time] => 0.060582
[pretransfer_time] => 0.166477
[size_upload] => 37
[size_download] => 146
[speed_download] => 582
[speed_upload] => 147
[download_content_length] => 146
[upload_content_length] => 37
[starttransfer_time] => 0.250551
[redirect_time] => 0
[certinfo] => Array
(
)

[redirect_url] => 

)

ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error
EOF

curltester.php?authnet=1:

COMMUNICATIONS TEST OKAY.
You may see error information below, but that information simply confirms that the server actually responded, which means communications is open.
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.572863
[namelookup_time] => 0.014556
[connect_time] => 0.117094
[pretransfer_time] => 0.467798
[size_upload] => 37
[size_download] => 151
[speed_download] => 263
[speed_upload] => 64
[download_content_length] => 151
[upload_content_length] => 37
[starttransfer_time] => 0.572846
[redirect_time] => 0
[certinfo] => Array
(
)

[redirect_url] => 

)

The following errors have occurred.

(13) The merchant login ID or password is invalid or the account is inactive.

EOF

curltester.php?firstdata=1:

COMMUNICATIONS TEST OKAY.
You may see error information below, but that information simply confirms that the server actually responded, which means communications is open.
Array
(
[url] => "https://secure.linkpt.net:1129/LSGSXML"
[content_type] =>
[http_code] => 200
[header_size] => 40
[request_size] => 213
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.486826
[namelookup_time] => 0.012705
[connect_time] => 0.077523
[pretransfer_time] => 0.37445
[size_upload] => 37
[size_download] => 280
[speed_download] => 575
[speed_upload] => 76
[download_content_length] => 280
[upload_content_length] => 37
[starttransfer_time] => 0.486789
[redirect_time] => 0
[certinfo] => Array
(
)

[redirect_url] => 

)

Malformed or unrecognized request.
EOF

I have opened a ticket with my hosting company. They said on the initial curltester.php that they arent even able to ping zen-cart.com like they are blocked. They are perfectly willing to fix the problem but we need to know what the issue is.

31 Jul 2013, 8:57 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 28 => connect() timed out during install.

Proceed with installation.
It's very possible that your host's IP got blocked from the forum because of spam originating from one of their unmonitored servers.

Your site doesn't need to talk to the zen-cart.com server for any reason in normal use. The only time it ever tries what you saw is during the install just to test CURL. But you've proven that CURL is fine to connect to sites that do matter for your normal use.

Summary: you look fine; carry on normally.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.