Fixed error that occurred when hitting https endpoints and incremented version