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),那麼更容易弄清楚

相關內容