deal error while access http