231 lines
12 KiB
Plaintext
231 lines
12 KiB
Plaintext
|
|
|
|
================================
|
|
TIME : 2026-05-19 17:13:53.695971
|
|
TABLE : Sales
|
|
ERROR : Error ('Connection aborted.', TimeoutError('timed out')) executing HTTP request attempt 1 (http://172.188.12.194:8123)
|
|
TRACEBACK :
|
|
Traceback (most recent call last):
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 788, in urlopen
|
|
response = self._make_request(
|
|
conn,
|
|
...<10 lines>...
|
|
**response_kw,
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
|
|
conn.request(
|
|
~~~~~~~~~~~~^
|
|
method,
|
|
^^^^^^^
|
|
...<6 lines>...
|
|
enforce_content_length=enforce_content_length,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connection.py", line 512, in request
|
|
self.send(b"%x\r\n%b\r\n" % (len(chunk), chunk))
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\http\client.py", line 1086, in send
|
|
self.sock.sendall(data)
|
|
~~~~~~~~~~~~~~~~~^^^^^^
|
|
TimeoutError: timed out
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
Traceback (most recent call last):
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 546, in _raw_request
|
|
response = self.http.request(method, url, **kwargs)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\_request_methods.py", line 143, in request
|
|
return self.request_encode_body(
|
|
~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
method, url, fields=fields, headers=headers, **urlopen_kw
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\_request_methods.py", line 278, in request_encode_body
|
|
return self.urlopen(method, url, **extra_kw)
|
|
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\poolmanager.py", line 457, in urlopen
|
|
response = conn.urlopen(method, u.request_uri, **kw)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 842, in urlopen
|
|
retries = retries.increment(
|
|
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\util\retry.py", line 498, in increment
|
|
raise reraise(type(error), error, _stacktrace)
|
|
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\util\util.py", line 38, in reraise
|
|
raise value.with_traceback(tb)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 788, in urlopen
|
|
response = self._make_request(
|
|
conn,
|
|
...<10 lines>...
|
|
**response_kw,
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
|
|
conn.request(
|
|
~~~~~~~~~~~~^
|
|
method,
|
|
^^^^^^^
|
|
...<6 lines>...
|
|
enforce_content_length=enforce_content_length,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connection.py", line 512, in request
|
|
self.send(b"%x\r\n%b\r\n" % (len(chunk), chunk))
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\http\client.py", line 1086, in send
|
|
self.sock.sendall(data)
|
|
~~~~~~~~~~~~~~~~~^^^^^^
|
|
urllib3.exceptions.ProtocolError: ('Connection aborted.', TimeoutError('timed out'))
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "d:\Python Code\Sales_Import.py", line 494, in <module>
|
|
ch_client.insert_df(
|
|
~~~~~~~~~~~~~~~~~~~^
|
|
table=f"`{TABLE_NAME}`",
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
df=chunk,
|
|
^^^^^^^^^
|
|
database=CH_CONFIG['database']
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\client.py", line 1013, in insert_df
|
|
return self.insert(table,
|
|
~~~~~~~~~~~^^^^^^^
|
|
df,
|
|
^^^
|
|
...<5 lines>...
|
|
transport_settings=transport_settings,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
context=context)
|
|
^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\client.py", line 978, in insert
|
|
return self.data_insert(context)
|
|
~~~~~~~~~~~~~~~~^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 347, in data_insert
|
|
response = self._raw_request(block_gen, params, headers, error_handler=error_handler, server_wait=False)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 558, in _raw_request
|
|
raise OperationalError(f'Error {ex} executing HTTP request attempt {attempts}{err_url}') from ex
|
|
clickhouse_connect.driver.exceptions.OperationalError: Error ('Connection aborted.', TimeoutError('timed out')) executing HTTP request attempt 1 (http://172.188.12.194:8123)
|
|
|
|
================================
|
|
|
|
================================
|
|
TIME : 2026-05-19 17:15:26.425862
|
|
TABLE : Sales
|
|
ERROR : Error ('Connection aborted.', TimeoutError('timed out')) executing HTTP request attempt 1 (http://172.188.12.194:8123)
|
|
TRACEBACK :
|
|
Traceback (most recent call last):
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 788, in urlopen
|
|
response = self._make_request(
|
|
conn,
|
|
...<10 lines>...
|
|
**response_kw,
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
|
|
conn.request(
|
|
~~~~~~~~~~~~^
|
|
method,
|
|
^^^^^^^
|
|
...<6 lines>...
|
|
enforce_content_length=enforce_content_length,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connection.py", line 512, in request
|
|
self.send(b"%x\r\n%b\r\n" % (len(chunk), chunk))
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\http\client.py", line 1086, in send
|
|
self.sock.sendall(data)
|
|
~~~~~~~~~~~~~~~~~^^^^^^
|
|
TimeoutError: timed out
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
Traceback (most recent call last):
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 546, in _raw_request
|
|
response = self.http.request(method, url, **kwargs)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\_request_methods.py", line 143, in request
|
|
return self.request_encode_body(
|
|
~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
method, url, fields=fields, headers=headers, **urlopen_kw
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\_request_methods.py", line 278, in request_encode_body
|
|
return self.urlopen(method, url, **extra_kw)
|
|
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\poolmanager.py", line 457, in urlopen
|
|
response = conn.urlopen(method, u.request_uri, **kw)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 842, in urlopen
|
|
retries = retries.increment(
|
|
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\util\retry.py", line 498, in increment
|
|
raise reraise(type(error), error, _stacktrace)
|
|
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\util\util.py", line 38, in reraise
|
|
raise value.with_traceback(tb)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 788, in urlopen
|
|
response = self._make_request(
|
|
conn,
|
|
...<10 lines>...
|
|
**response_kw,
|
|
)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
|
|
conn.request(
|
|
~~~~~~~~~~~~^
|
|
method,
|
|
^^^^^^^
|
|
...<6 lines>...
|
|
enforce_content_length=enforce_content_length,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\urllib3\connection.py", line 512, in request
|
|
self.send(b"%x\r\n%b\r\n" % (len(chunk), chunk))
|
|
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\http\client.py", line 1086, in send
|
|
self.sock.sendall(data)
|
|
~~~~~~~~~~~~~~~~~^^^^^^
|
|
urllib3.exceptions.ProtocolError: ('Connection aborted.', TimeoutError('timed out'))
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "d:\Python Code\Sales_Import.py", line 494, in <module>
|
|
ch_client.insert_df(
|
|
~~~~~~~~~~~~~~~~~~~^
|
|
table=f"`{TABLE_NAME}`",
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
df=chunk,
|
|
^^^^^^^^^
|
|
database=CH_CONFIG['database']
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\client.py", line 1013, in insert_df
|
|
return self.insert(table,
|
|
~~~~~~~~~~~^^^^^^^
|
|
df,
|
|
^^^
|
|
...<5 lines>...
|
|
transport_settings=transport_settings,
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
context=context)
|
|
^^^^^^^^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\client.py", line 978, in insert
|
|
return self.data_insert(context)
|
|
~~~~~~~~~~~~~~~~^^^^^^^^^
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 347, in data_insert
|
|
response = self._raw_request(block_gen, params, headers, error_handler=error_handler, server_wait=False)
|
|
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\clickhouse_connect\driver\httpclient.py", line 558, in _raw_request
|
|
raise OperationalError(f'Error {ex} executing HTTP request attempt {attempts}{err_url}') from ex
|
|
clickhouse_connect.driver.exceptions.OperationalError: Error ('Connection aborted.', TimeoutError('timed out')) executing HTTP request attempt 1 (http://172.188.12.194:8123)
|
|
|
|
================================ |