zhengshubin opened a new issue, #2533:
URL: https://github.com/apache/arrow-adbc/issues/2533
### What happened?
I want to forbidden proxy when use arrow flight sql, but it not work.
import os
import adbc_driver_manager
import adbc_driver_flightsql.dbapi as flight_sql
os.environ.pop("http_proxy",None)
os.environ.pop("http_proxy",None)
conn=flight_sql.connect("grpc://xx-01:19040",db_kwargs = {
adbc_driver_manager.DatabaseOptions.USERNAME.value: "root",
adbc_driver_manager.DatabaseOptions.PASSWORD.value: ""
})
[FlightSQL] connection error: desc = "transport: Error while dialing: failed
to do connect handshake, response: \"HTTP/1.1 403 Forbidden
If i use bash to forbidden proxy ,it work.
unset http_proxy
unset https_proxy
python a.py
### Stack Trace
_No response_
### How can we reproduce the bug?
_No response_
### Environment/Setup
_No response_
--
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]