Closed nozebraline closed 2 years ago
Are you using zero copy replication: https://clickhouse.com/docs/en/guides/sre/s3-multi-region#disable-zero-copy-replication ?
HTTP code -1 is just default code specified by AWS SDK when it creates HTTPResponse object. If it doesn't receive any response it will return "empty" object with code -1.
Are you using zero copy replication: https://clickhouse.com/docs/en/guides/sre/s3-multi-region#disable-zero-copy-replication ?
Although I didn't know why, I solved the problem by increasing the bandwidth to 25Gbps. Thank you for your help.
I am Integrating ClickHouse with MinIO(https://clickhouse.com/docs/en/integrations/s3/s3-merge-tree) and occasionally I am receiving an HTTPResponse with a StatusCode = -1.
Below are the entries from the clickhouselog:
2022.09.09 11:01:52.990116 [ 11439 ] {0a3da8d4-ef5b-4bba-8944-43fe1276c0e3} AWSClient: Failed to make request to: http://172.16.124.43:9000/henry/var/mtwmtkhrsaauunchovzqouftnwpoouyk: Poco::Exception. Code: 1000, e.code() = 0, Timeout: connect timed out: 172.16.124.43:9000, Stack trace (when copying this message, always include the lines below):
clone in /lib/x86_64-linux-gnu/libc-2.27.so ✘ (version 22.8.4.7 (official build)) 09/09/2022 14:00.44 /home/mobaxterm 4bba-8944-43fe1276c0e3} AWSClient: HTTP response code: -1
Resolved remote host IP address:
Request ID:
Exception name:
Error message: Poco::Exception. Code: 1000, e.code() = 0, Timeout: connect timed out: 172.16.124.43:9000 (version 22.8.4.7 (official build))
0 response headers:
I suspect the problem is with the network bandwidth, and I try to modify the parameters connect_timeout_ms and request_timeout_ms (https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#table_engine-mergetree-s3). but it seems not work.
Please help me solve the problem