誤ってforce_sslをtrueに設定しましたが、falseに戻してサーバーを実行すると、次のエラーが発生します。
ERROR bad Request-Line
WEBrick 1.3.1
INFO ruby 1.9.3 (2012-02-16) [x86_64-darwin11.4.0]
WEBrick::HTTPServer#start: pid=472 port=3000
ERROR bad Request-Line `\x16\x03\x01\x00?\x01\x00\x00?\x03\x02P?Mf\x00??C?'.
どうすればこれを修正できますか?
ローカルホストでhttpurlを押すと、httpsにリダイレクトされ、次のエラーが発生します。
SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.