Requests are getting timed-out with error: RPC failed; curl 18 transfer closed with outstanding read data remaining
Requests are getting timed-out with error: RPC failed; curl 18 transfer closed with outstanding read data remaining
我正在尝试使用 git 推送将一些存储库从一台服务器推送到另一台服务器。它适用于规模巨大(如 90GB)但内部 refs/objects(大约 10,000+)数量较少的项目。但是当我试图推动一个非常小的项目(比如 2GB),它有大量的引用(大约 100,000+)时,它会失败并出现超时错误,如下所示:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
我也从服务器端检查过,这是我遇到的错误:
(70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed
到目前为止,我已经尝试了以下方法,但没有成功:
- KeepAlive 开启(在 apache httpd.conf 中)
- 超时 36000(在 apache httpd.conf)
- KeepAliveTimeout 36000(在 apache httpd.conf)
- nginx.ingress.kubernetes.io/proxy-connect-timeout = 36000(入口注释)
- nginx.ingress.kubernetes.io/proxy-read-timeout = 36000(入口注释)
- nginx.ingress.kubernetes.io/proxy-send-timeout = 36000(入口注释)
知道为什么会这样吗?解决方法是什么?
这是由于 default.conf 配置而发生的,以某种方式优先于实际的 httpd.conf 文件,如果有人想知道:)
我正在尝试使用 git 推送将一些存储库从一台服务器推送到另一台服务器。它适用于规模巨大(如 90GB)但内部 refs/objects(大约 10,000+)数量较少的项目。但是当我试图推动一个非常小的项目(比如 2GB),它有大量的引用(大约 100,000+)时,它会失败并出现超时错误,如下所示:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
我也从服务器端检查过,这是我遇到的错误:
(70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed
到目前为止,我已经尝试了以下方法,但没有成功:
- KeepAlive 开启(在 apache httpd.conf 中)
- 超时 36000(在 apache httpd.conf)
- KeepAliveTimeout 36000(在 apache httpd.conf)
- nginx.ingress.kubernetes.io/proxy-connect-timeout = 36000(入口注释)
- nginx.ingress.kubernetes.io/proxy-read-timeout = 36000(入口注释)
- nginx.ingress.kubernetes.io/proxy-send-timeout = 36000(入口注释)
知道为什么会这样吗?解决方法是什么?
这是由于 default.conf 配置而发生的,以某种方式优先于实际的 httpd.conf 文件,如果有人想知道:)