Connection error when using CD2 API to create web logs table

ctcck
Community Member

Hi support,

 

I try to initial the database of web_logs table with API 'initdb'.

dap initdb --connection-string postgresql://scott:password@localhost/testdb --namespace canvas_logs --table web_logs

 

The connection error  prompts up and the process has been stopped.

======================================================================================

2023-11-15 12:14:00,794 - INFO - Downloading [object 3/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:01,921 - INFO - Downloading [object 1/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:07,020 - INFO - Downloading [object 2/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:12,496 - INFO - Downloading [object 4/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:14:56,407 - INFO - Downloading [object 5/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:15:51,952 - INFO - Downloading [object 6/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:16:54,126 - INFO - Downloading [object 7/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:18:01,415 - INFO - Downloading [object 8/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:19:10,043 - INFO - Downloading [object 9/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:20:20,514 - INFO - Downloading [object 10/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:22:11,609 - INFO - Downloading [object 11/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
2023-11-15 12:24:30,321 - INFO - Downloading [object 12/172 - job 3b2cfbab-ba84-4066-b402-c939d3af053c]
ERROR:asyncio:Future exception was never retrieved
future: <Future finished exception=ConnectionError('unexpected connection_lost() call')>
ConnectionError: unexpected connection_lost() call

======================================================================================

 

I try several times and the error still came up. Does anyone encounter the same issue?

 

Please advise

Labels (4)
0 Likes
Users who also had this question