IOException: Broken pipe

简介: IOException: Broken pipe

线上在excel导入时超过1500行就出现问题 IOException: Broken pipe数据量少的时候没问题,本地不可重现

查看日志

看日志,应该是失去客户端连接。应该是导入操作的http请求超时。

因为通过nginx代理到外网,最终对nginx配置如下,问题解决

location /guanli {
    root           html;
    index          index.html index.htm;
    proxy_set_header Host $host;
    proxy_set_header X-Real-Ip $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_send_timeout 1200s;
    # nginx接收upstream server数据超时, 默认60s, 如果连续的60s内没有收到1个字节, 连接关闭
    proxy_read_timeout 1200s;
    # nginx与upstream server的连接超时时间
    proxy_connect_timeout 1200s;
    # 发送数据至客户端超时, 默认60s, 如果连续的60s内客户端没有收到1个字节, 连接关闭
    send_timeout 1200s;
    proxy_pass     http://adminService;
 }

nginx配置中文网


相关文章
|
4月前
|
运维 Java 应用服务中间件
Unexpected EOF read on the socket问题研究及解决
Unexpected EOF read on the socket问题研究及解决
404 0
已解决 BrokenPipeError: [Errno 32] Broken pipe
已解决 BrokenPipeError: [Errno 32] Broken pipe
4638 0
已解决 BrokenPipeError: [Errno 32] Broken pipe
|
网络协议
av_interleaved_write_frame -32 broken pipe
av_interleaved_write_frame -32 broken pipe
219 0
av_interleaved_write_frame -32 broken pipe
解决:Oops internal error 40343 occured.Further work is not possible and IDA will close (打开文件出现40343错误)
解决:Oops internal error 40343 occured.Further work is not possible and IDA will close (打开文件出现40343错误)
316 0
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
645 0
解决:Oops! internal error 40343 occured.Further work is not possible and IDA will close(打开文件出现40343错误)
BrokenPipeError: [Errno 32] Broken pipe解决方法
BrokenPipeError: [Errno 32] Broken pipe解决方法
1380 0
成功解决lib\subprocess.py", line 997, in _execute_child startupinfo) FileNotFoundError: [WinError 2]
成功解决lib\subprocess.py", line 997, in _execute_child startupinfo) FileNotFoundError: [WinError 2]