write https error