Fixed a bug causing https to be blocked.