https and error view