Ⅰ. Issue Description
I encountered an tengine/nginx error while uploading a large 2.9GB file to my server, using https.
Ⅱ. Describe what happened
tengine log have [crit] error: SSL_read:bad length.
2024/04/15 19:07:40 [crit] 6348#6348: *51273 SNI: xxx.xxx.com SSL_read() failed (SSL: error:140DF10F:SSL routines:SSL_read:bad length), client: xx.xx.xx.xx, server:xxx.xxx.com, request: "PUT /adl/lfs-test-repo2.git/info/lfs/objects/fcac6f56113d2923b67739da64b92793b7254c855e84de801e4b6c6bdd8e2f2a/3145728000 HTTP/1.1", host: "xxx.xxx.com"
Ⅲ. Describe what you expected to happen
upload 2.9GB file success.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
upload 2.9GB file with https.
Ⅴ. Anything else we need to know?
- If applicable, add nginx debug log doc .
Ⅵ. Environment:
- Tengine version: Tengine/2.5.7_20220713195920
- nginx version: nginx/1.18.0
- OS Alibaba Group Enterprise Linux 7
- Kernel: Linux xxxx.ali4000.alios7.x86_64
3条答案
按热度按时间kuhbmx9i1#
提供从TLS握手开始的完整debug日志
kxkpmulp2#
4smxwvx53#
SSL_read int溢出。