yaobinshi / test1

test for scratch
MIT License
0 stars 0 forks source link

wget fails, uniformative error message #366

Open yaobinshi opened 9 years ago

yaobinshi commented 9 years ago

Author Name: Mark Donohoe Original Redmine Issue: 471, http://www.fossology.org/issues/471 Original Date: 2012/01/17 Original Assignee: Bob Gobeille


using svn rev. 5394, on 4privet.ostt, the file RedHat.tar.gz was uploaded from url from fonightly.usa.hp.com, wget failed, the wget log shows:

2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: received: "OK" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: received: "@@@0" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: sent to agent "42 - http://fonightly.usa.hp.com/~markd/RedHat.tar.gz -l 1 -R index.html* " 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: sent to agent "END" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: received: "FATAL wget_agent.c.371: upload 42 Download failed; Return code 3 from: /usr/bin/wget -q --no-check-certificate --progress=dot -rc -np -e robots=off -k -P '/var/local/lib/fossology/agents/wget' 'http://fonightly.usa.hp.com/~markd/RedHat.tar.gz' -l 1 -R index.html* 2>&1" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: received: "HEART: 1" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: received: "BYE 12" 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: agent failed with error code 12 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: communication thread closing 2012-01-17 05:57:44 scheduler [32252] :: JOB[210].wget_agent[32542]: agent failed

The message really doesn't say what went wrong. What is return code 3 and what is error code 12? Can't tell from this message what is wrong and how it might be fixed. Assigning this to Bob since he made the last 3 changes.