我有一位客户试图访问我的其中一个站点,但他们不断收到此错误 > ssl_error_rx_record_too_long
他们在所有浏览器、所有平台上都会收到此错误。我根本无法重现该问题。
我的服务器和我自己位于美国,客户位于印度。
我用谷歌搜索了这个问题,主要来源似乎是 SSL 端口使用 HTTP。我检查了我的服务器,这没有发生。我试过 the solution mentioned here ,但客户表示没有解决问题。
谁能告诉我如何解决这个问题,或者我如何重现这个问题???
解决方案
原来客户的本地代理配置错误!
link mentioned by Subimage对我来说是正确的钱。它建议更改虚拟主机标记,即从 <VirtualHost myserver.example.com:443>
至 <VirtualHost _default_:443>
Error code: ssl_error_rx_record_too_long
This usually means the implementation of SSL on your server is not correct. The error is usually caused by a server side problem which the server administrator will need to investigate.
Below are some things we recommend trying.
Ensure that port 443 is open and enabled on your server. This is the standard port for https communications.
If SSL is using a non-standard port then FireFox 3 can sometimes give this error. Ensure SSL is running on port 443.
If using Apache2 check that you are using port 443 for SSL. This can be done by setting the ports.conf file as follows
Listen 80
Listen 443 https
Make sure you do not have more than one SSL certificate sharing the same IP. Please ensure that all SSL certificates utilise their own dedicated IP.
If using Apache2 check your vhost config. Some users have reported changing <VirtualHost>
to _default_
resolved the error.
这解决了我的问题。我很少在谷歌上搜索错误消息并第一时间找到正确答案! :-)
除了上述之外,还有其他人发现的导致问题的其他一些解决方案: