jhs2jhs / WebDownloadJobsManage

Download Web for purpose
Apache License 2.0
0 stars 0 forks source link

connect ECONNREFUSED on client #1

Open jhs2jhs opened 10 years ago

jhs2jhs commented 10 years ago

\ client_jobs_settings_get http://ec2-54-220-209-62.eu-west-1.compute.amazonaws.com:8080/web_jobs/jobs_settings?settings_action=view request_get_http: connect ECONNREFUSED { [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' } { [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' } { uri: 'http://ec2-54-220-209-62.eu-west-1.compute.amazonaws.com:8080/web_jobs/error_log?client_id=jian-mac&job_step=&job_target=thingiverse&function_name=http_connect_wrong_status&error_message=Error%3A%20connect%20ECONNREFUSED&error_argus=Error%3A%20connect%20ECONNREFUSED', job_step: 'jobs_get' } request_get_http: connect ECONNREFUSED { [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' } ERROR: client_jobs_settings_get_err_callback { [Error: connect ECONNREFUSED] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect' }

jhs2jhs commented 10 years ago

guess Amazon web has connection limitation?

jhs2jhs commented 10 years ago
  1. https://github.com/nodejitsu/jitsu/issues/266
  2. http://grokbase.com/t/gg/nodejs/135waas70j/how-to-intercept-errors-from-server-when-using-streams
jhs2jhs commented 10 years ago

catch it as a exception, and restart to run it