아파치 OpenSSL 루프

아파치 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였습니다).

관련 정보