On 31.03.21 11:06, Aggarcia wrote:
I was looking from a txt file if a group of websites where UP and running. And i found out that www.nalco.com gets freeze Command: wget --spider --wait=5 --timeout=5 --tries=1 www.nalco.com It says it gets "301 Moved Permanently" (everything right) until it redirects to https://www.ecolab.com/nalco-water where it gets freeze. I have put timeout without wait and wait with more tries etc but i think it is getting freeze even before it starts the timecount. Hope you guys have a solution for this issue cause i could not find one anywhere around, Thanks for reading!, Agustín.
Hey, which OS are you on and which version of wget are you running ? My test on Linux with wget 1.21 works as expected: $ LC_ALL=C wget --spider --wait=5 --timeout=5 --tries=1 www.nalco.com Spider mode enabled. Check if remote file exists. --2021-04-02 13:08:56-- http://www.nalco.com/ Resolving www.nalco.com (www.nalco.com)... 204.69.39.107 Connecting to www.nalco.com (www.nalco.com)|204.69.39.107|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.ecolab.com/nalco-water [following] Spider mode enabled. Check if remote file exists. --2021-04-02 13:09:02-- https://www.ecolab.com/nalco-water Resolving www.ecolab.com (www.ecolab.com)... 23.79.144.150Connecting to www.ecolab.com (www.ecolab.com)|23.79.144.150|:443... connected. HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up. Regards, Tim
OpenPGP_signature
Description: OpenPGP digital signature
