I had also experienced this issue. For me it appeared when some of the erroneous code was trying to redirect to the HTTPS on port 80.
By removing a port 80 from a url, the redirect works.
HTTPS by default runs over the port 443.
In my case the Ubuntu system, in ports.conf I had as below:
And then, inside it , I had as below:
All I had to do was just remove a line NameVirtualHost 192.168.1.79. Restarted my apache and problem solved.
In my case I just copied a ssl config from another machine and had a wrong IP in
<VirtualHost wrong.ip.addr.here:443>. Changed the IP to what it should be, just restarted httpd and my site loaded over SSL as expected.