improved handling of URL is down
report exact error code