title: Apache SSL received a record that exceeded the maximum permissible length
body: <p>I have an error when running an https request: </p>
  
  <blockquote>
    <p>SSL received a record that exceeded the maximum permissible length.<br>
    (Error code: ssl_error_rx_record_too_long)</p>
  </blockquote>
  
  <p>I run it on a Windows 7 box with Apache 2.x, and my Apache setting vhost is:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;  
      ServerName repocenter.com  
      ServerAlias www.repocenter.com  
      ServerAdmin root@repocenter.com  
      &lt;Proxy *&gt;  
          Order allow,deny  
          Allow from all  
      &lt;/Proxy&gt;  
      ProxyPreserveHost On  
      ProxyPass / http://192.168.210.1:9991/  
      ProxyPassReverse / http://192.168.210.1:9991/  
      SetEnvIf X-Url-Scheme https HTTPS=1  
      CustomLog logs/repocenter.com-access.log common  
      ErrorLog logs/repocenter.com-error.log  
  &lt;/VirtualHost&gt;  
  
  &lt;VirtualHost _default_:443&gt;   
      ServerName repocenter.com:443  
      ServerAlias www.repocenter.com:443   
      ServerAdmin root@repocenter.com       
      &lt;Proxy *&gt;  
          Order allow,deny  
          Allow from all  
      &lt;/Proxy&gt;  
      ProxyPreserveHost On  
      ProxyPass / http://192.168.210.1:9991/  
      ProxyPassReverse / http://192.168.210.1:9991/  
      SetEnvIf X-Url-Scheme https HTTPS=1     
  &lt;/VirtualHost&gt;  
  </code></pre>
  
  <p>Is it a syntax error, and how would I correct it?</p>