Replies: 1 comment
-
|
Connection reset by peer (xxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443 就是单纯的网络不可达吧 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
使用的是clickhouse cloud云实例,https://console.clickhouse.cloud/
不论是用https 8443端口还是http 9440端口,都无法连接。
日志如下:
[root@localhost docker-compose]# docker logs -f --tail=50 archery
2025-05-08 12:09:41,579 - clickhouse_driver.connection - WARNING - Failed to connect to xxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443
Traceback (most recent call last):
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 399, in connect
return self._init_connection(host, port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 343, in _init_connection
self.receive_hello()
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 478, in receive_hello
packet_type = read_varint(self.fin)
^^^^^^^^^^^^^^^^^^^^^
File "clickhouse_driver/varint.pyx", line 62, in clickhouse_driver.varint.read_varint
File "clickhouse_driver/bufferedreader.pyx", line 55, in clickhouse_driver.bufferedreader.BufferedReader.read_one
File "clickhouse_driver/bufferedreader.pyx", line 237, in clickhouse_driver.bufferedreader.BufferedSocketReader.read_into_buffer
ConnectionResetError: [Errno 104] Connection reset by peer
[2025-05-08 12:09:41,581][MainThread:139793149671232][task_id:default][clickhouse.py:152][WARNING]- ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443)
2025-05-08 12:09:41,581 - default - WARNING - ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxxxyyy.ap-south-1.aws.clickhouse.cloud:8443)
2025-05-08 12:09:56,412 - clickhouse_driver.connection - WARNING - Error on socket shutdown: [Errno 107] Transport endpoint is not connected
2025-05-08 12:09:56,412 - clickhouse_driver.connection - WARNING - Failed to connect to xxxxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443
Traceback (most recent call last):
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 399, in connect
return self._init_connection(host, port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 343, in _init_connection
self.receive_hello()
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 478, in receive_hello
packet_type = read_varint(self.fin)
^^^^^^^^^^^^^^^^^^^^^
File "clickhouse_driver/varint.pyx", line 62, in clickhouse_driver.varint.read_varint
File "clickhouse_driver/bufferedreader.pyx", line 55, in clickhouse_driver.bufferedreader.BufferedReader.read_one
File "clickhouse_driver/bufferedreader.pyx", line 237, in clickhouse_driver.bufferedreader.BufferedSocketReader.read_into_buffer
ConnectionResetError: [Errno 104] Connection reset by peer
[2025-05-08 12:09:56,414][MainThread:139793149671232][task_id:default][clickhouse.py:152][WARNING]- ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxxyyy.ap-south-1.aws.clickhouse.cloud:8443)
2025-05-08 12:09:56,414 - default - WARNING - ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443)
2025-05-08 12:17:08,627 - clickhouse_driver.connection - WARNING - Error on socket shutdown: [Errno 107] Transport endpoint is not connected
2025-05-08 12:17:08,627 - clickhouse_driver.connection - WARNING - Failed to connect to xxxxxxyyyyy.ap-south-1.aws.clickhouse.cloud:8443
Traceback (most recent call last):
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 399, in connect
return self._init_connection(host, port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 343, in _init_connection
self.receive_hello()
File "/opt/venv4archery/lib/python3.11/site-packages/clickhouse_driver/connection.py", line 478, in receive_hello
packet_type = read_varint(self.fin)
^^^^^^^^^^^^^^^^^^^^^
File "clickhouse_driver/varint.pyx", line 62, in clickhouse_driver.varint.read_varint
File "clickhouse_driver/bufferedreader.pyx", line 55, in clickhouse_driver.bufferedreader.BufferedReader.read_one
File "clickhouse_driver/bufferedreader.pyx", line 237, in clickhouse_driver.bufferedreader.BufferedSocketReader.read_into_buffer
ConnectionResetError: [Errno 104] Connection reset by peer
[2025-05-08 12:17:08,628][MainThread:139793149671232][task_id:default][clickhouse.py:152][WARNING]- ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443)
2025-05-08 12:17:08,628 - default - WARNING - ClickHouse语句执行报错,语句:SELECT 1,错误信息Code: 210. Connection reset by peer (xxxxyyyy.ap-south-1.aws.clickhouse.cloud:8443)
Beta Was this translation helpful? Give feedback.
All reactions