socket rebuild but error occured