Apache OpenSSL ループ

Apache OpenSSL ループ

Windows Azure ホストの Ubuntu 12.04 Apache サーバー上のサイトを SSL を使用するように構成したところ、サイトは正常に動作し、リダイレクトも正常に行われています。仮想ホストの構成は次のとおりです。

<VirtualHost *:80>
ServerName site1.company.com
Redirect permanent / https://site1.company.com/
</VirtualHost>

<VirtualHost *:443>
DocumentRoot /var/www/site1
ServerName site1.company.com
Options -Indexes
DirectoryIndex login.php
SSLEngine on
SSLCertificateFile /etc/apache2/certs/company.com.crt
SSLCertificateKeyFile /etc/apache2/certs/server1.key
SSLCertificateChainFile /etc/apache2/certs/gd_bundle.crt
</VirtualHost>

すべての仮想ホストはほぼ同じように構成されています。ただし、Apache のエラー ログに大量のエントリが表示されており、運用中のパフォーマンスや問題について心配しています。

[debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start
[debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization
[debug] ssl_engine_io.c(1908): OpenSSL: I/O error, 11 bytes expected to read on BIO#7f8f746c6ae0     [mem: 7f8f746cc0d0]
[debug] ssl_engine_kernel.c(1903): OpenSSL: Exit: error in unknown state
[info] [client x.x.x.x] (70014)End of file found: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!]
[info] [client x.x.x.x.] Connection closed to child 5 with abortive shutdown (server site1.company.com:443)
[info] [client x.x.x.x] Connection to child 0 established (server site1.company.com:443)
[info] Seeding PRNG with 656 bytes of entropy

このループは 15 秒ごとに繰り返されます。何か設定を間違えたのでしょうか? すべてのサイトはエラーなく正常に動作します。

答え1

ここでの謎は解決しました。それは Azure のロード バランサー プローブでした。IP アドレスが香港に登録されていると報告された理由はわかりませんが、今では非常に納得できます。エンドポイントのステータスを更新して問題を修正するには、エンドポイントを削除して再作成する必要がありました。

すべては文書化されているhttp://social.msdn.microsoft.com/Forums/silverlight/en-US/04589d2d-4acb-4f86-a2d0-957dc2a73a4f/endpoints-not-working-dns-scans-them

168.63.129.16 が香港に登録されていなければ、これはずっと簡単に理解できたでしょう (それが私のサーバーにアクセスしていた IP でした)

関連情報