SSL_write() failed (SSL: error:1409F07F
Vladimir V. Kamarzin
vvk at vvk.pp.ru
Wed Oct 15 15:28:45 MSD 2008
Hi
nginx используется в качествве фронтенда, Имеются проблемы с отдачей некоторых
страниц, например некоторые файлы оказываются недокачанными. В логе такое:
2008/10/15 17:13:11 [crit] 3352#0: *906298 SSL_write() failed (SSL: error:1409F07F:SSL routines:SSL3_WRITE_PENDI
NG:bad write retry) while sending to client, client: 77.242.xx.xx, server: xxe.xx.ru, request: "GET /s
tudent/TestList.aspx?sem=2 HTTP/1.0", upstream: "http://xx.xx.x.xx:80/student/TestList.aspx?sem=2", host: "xx
xx.xx.ru", referrer: "https://xx.xx.ru/student/TestStudent.aspx"
Гугленье показало что подобные ошибки наблюдались в nginx 0.5.35, в ветке 0.6
было исправлено. Но тем не менее я ловлю это на 0.6.31.
Если включить дебаг, видно такое:
2008/10/15 17:22:21 [debug] 3975#0: *34 http write filter FFFFFFFF
2008/10/15 17:22:21 [debug] 3975#0: *34 copy filter: -1 "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 pipe read upstream: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 pipe buf free s:0 t:1 f:0 082A1A40, pos 082A1A40, size: 1737 file: 0, size: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 pipe buf free s:0 t:1 f:0 08299A38, pos 08299A38, size: 0 file: 0, size: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 event timer: 22, old: 4122402, new: 4122435
2008/10/15 17:22:21 [debug] 3975#0: *34 http upstream downstream error
2008/10/15 17:22:21 [debug] 3975#0: *34 finalize http upstream request: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 finalize http proxy request
2008/10/15 17:22:21 [debug] 3975#0: *34 free rr peer 3 0
2008/10/15 17:22:21 [debug] 3975#0: *34 close http upstream connection: 22
2008/10/15 17:22:21 [debug] 3975#0: *34 event timer del: 22: 4122402
2008/10/15 17:22:21 [debug] 3975#0: *34 http upstream temp fd: -1
2008/10/15 17:22:21 [debug] 3975#0: *34 http output filter "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 copy filter: "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 http postpone filter "/Reports/completed/.privateAffairForms.kat.rtf?" BFC26D48
2008/10/15 17:22:21 [debug] 3975#0: *34 http postpone filter out "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 copy filter: -1 "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 http finalize request: -1, "/Reports/completed/.privateAffairForms.kat.rtf?"
2008/10/15 17:22:21 [debug] 3975#0: *34 http close request
2008/10/15 17:22:21 [debug] 3975#0: *34 http log handler
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 082A1A40
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08299A38
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08291A30
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 0826DD38, unused: 8
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 082833B8, unused: 3683
2008/10/15 17:22:21 [debug] 3975#0: *34 close http connection: 21
2008/10/15 17:22:21 [debug] 3975#0: *34 SSL_shutdown: 1
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 0827F3B0
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08229D18
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08254740
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08229C10
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08254120
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 08215088, unused: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 082150D0, unused: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 081E9A58, unused: 4
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 081E9AA0, unused: 0
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 081E9AE8, unused: 4
2008/10/15 17:22:21 [debug] 3975#0: *34 free: 081EB778, unused: 24
nginx-0.6.31-alt0.M40.1
ALT Linux 4.0 branch
конфиг:
server {
listen 443;
server_name xxx.xxxe.ru;
keepalive_timeout 70;
ssl on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_certificate /etc/nginx/ssl/xx_cert.pem;
ssl_certificate_key /etc/nginx/ssl/xx_privatekey.pem;
location / {
proxy_pass http://xx-iis-pool-test;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
В чём может быть причина? Чего делать?
--
vvk
More information about the nginx-ru
mailing list