fix https and http problems with torque CDB-926