Open vishakha041 opened 3 weeks ago
(adb) --($:~/.../adb/slim-stanford-car-dataset)---$ adb utils execute summary
2024-08-23 11:13:31,493 : ERROR : aperturedb.Connector : 8653999936 : 330 : Error connecting to server: [Errno 54] Connection reset by peer [127.0.0.1:456 as admin using TCP with SSL=True]
Traceback (most recent call last):
File "/Users/rcledat/mambaforge/envs/adb/lib/python3.10/site-packages/aperturedb/Connector.py", line 306, in _connect
response = self._recv_msg()
File "/Users/rcledat/mambaforge/envs/adb/lib/python3.10/site-packages/aperturedb/Connector.py", line 195, in _recv_msg
recv_len = self.conn.recv(4) # get message size
ConnectionResetError: [Errno 54] Connection reset by peer
Stack (most recent call last):
File "/Users/rcledat/mambaforge/envs/adb/bin/adb", line 8, in
(adb) --($:~/.../adb/slim-stanford-car-dataset)---$ adb config ls [11:14:59] Available configurations: configure.py:96 {'global': {'test': [127.0.0.1:456 as admin using TCP with SSL=True]}, 'active': 'test'}
(base) --($:~/Documents/adb)---$ cat docker-compose.yaml version: '3.1'
services:
aperturedb: image: drewaogle/aperturedb-standalone:0.17.17.1 restart: always privileged: true volumes: # Map ApertureDB storage and logs into local directory
456:55555 # HOST_PORT:CONTAINER_PORT environment: ADB_PORT: 456
webui: image: aperturedata/aperturedb-webui ports:
services:
aperturedb: image: drewaogle/aperturedb-standalone:0.17.17.1 restart: always privileged: true volumes: # Map ApertureDB storage and logs into local directory
webui: image: aperturedata/aperturedb-webui ports:
For point no. 2 , there was no socket timeout set before calling connect. Putting that to a reasonable value mitigates this scenario.
4 it bails out unless an extra flag is used.
@vishakha041 @drewaogle . The develop branch has these fixes. Time to try let me know how the experience turns out.
Drew’s tagged version worked for ApertureDB server.
Adb ingest doesn’t work due to the port forwarding stuff. Adb UI connected.(This was docker compose problem)