xinyiZzz commented on issue #38666:
URL: https://github.com/apache/arrow/issues/38666#issuecomment-1813830616

   ```
   OperationalError                          Traceback (most recent call last)
   Cell In[3], line 9
         6 sql = "select * from hdf5 limit 1000000;"
         7 my_uri = "grpc://xxxx:10478"
   ----> 9 conn = flight_sql.connect(uri=my_uri, db_kwargs={
        10             adbc_driver_manager.DatabaseOptions.USERNAME.value: 
"root",
        11             adbc_driver_manager.DatabaseOptions.PASSWORD.value: "",
        12         })
        13 cursor = conn.cursor()
        14 start_time = datetime.now()
   
   File ~\anaconda\Lib\site-packages\adbc_driver_flightsql\dbapi.py:120, in 
connect(uri, db_kwargs, conn_kwargs, **kwargs)
       118 try:
       119     db = adbc_driver_flightsql.connect(uri, db_kwargs=db_kwargs)
   --> 120     conn = adbc_driver_manager.AdbcConnection(db, **(conn_kwargs or 
{}))
       121     return adbc_driver_manager.dbapi.Connection(db, conn, **kwargs)
       122 except Exception:
   
   File ~\anaconda\Lib\site-packages\adbc_driver_manager\_lib.pyx:617, in 
adbc_driver_manager._lib.AdbcConnection.__init__()
   
   File ~\anaconda\Lib\site-packages\adbc_driver_manager\_lib.pyx:227, in 
adbc_driver_manager._lib.check_error()
   
   OperationalError: IO: [FlightSQL] connection error: desc = "transport: Error 
while dialing: dial tcp xxxx:10478: connectex: An established connection was 
aborted by the software in your host machine." (Unavailable; 
AuthenticateBasicToken)
   ```
   On the same LAN, I still get error on Windows. not problem on MacOS. The 
code is the Python above.
   @lidavidm  Ask for advice, Is there any special way to use ADBC on Windows?
   
   adbc_driver_manager version 0.8
   adbc_driver_flightsql version 0.8


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to