mohankumar-h opened a new issue, #43870:
URL: https://github.com/apache/airflow/issues/43870

   ### Apache Airflow Provider(s)
   
   amazon
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-amazon          8.25.0
   
   ### Apache Airflow version
   
   2.9.3
   
   ### Operating System
   
   airflow@airflow-webserver-7d758d8f79-lcpnr:/opt/airflow$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" 
VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian 
HOME_URL="https://www.debian.org/"; SUPPORT_URL="https://www.debian.org/support"; 
BUG_REPORT_URL="https://bugs.debian.org/";
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   Deployed though official helm chart on k8s 1.29 
   
   ### What happened
   
   We are trying to connect to minio s3 object store bucket using 
apache-airflow-providers-amazon provider Connector.
   
   1. Login to Airflow Webserver 
   2. Admin -> connections -> Connection ID (Any Name you can provide )-> 
Connection Type  as Amazon Web services -> Extra
   {
     "aws_access_key_id": "XXXXXXXXXXXXXX",
     "aws_secret_access_key": "XXXXXXXXXXXXXXXXXXXXX",
     "endpoint_url": "https://minio-url.xxx.com:443";,
     "verify": false
   }
   
   When we test connection 
   
   Error: 'EndpointConnectionError' error occurred while testing connection: 
Could not connect to the endpoint URL: "https://sts.default.amazonaws.com/";
   
   It is trying to connect https://sts.default.amazonaws.com/ for 
authentication and authorization
   
   Why it is trying to connect https://sts.default.amazonaws.com/ ? instead of  
"endpoint_url": "https://minio-url.xxx.com:443";,?
   
   ### What you think should happen instead
   
   It suppose to connect to minio endpoint_url   "endpoint_url": 
"https://minio-url.xxx.com:443";, instead of connecting to 
https://sts.default.amazonaws.com
   
   ### How to reproduce
   
   We are trying to connect to minio s3 object store bucket using 
apache-airflow-providers-amazon provider Connector.
   
   1. Login to Airflow Webserver 
   2. Admin -> connections -> Connection ID (Any Name you can provide )-> 
Connection Type  as Amazon Web services -> Extra
   {
     "aws_access_key_id": "XXXXXXXXXXXXXX",
     "aws_secret_access_key": "XXXXXXXXXXXXXXXXXXXXX",
     "endpoint_url": "https://minio-url.xxx.com:443";,
     "verify": false
   }
   
   When we test connection 
   
   Error: 'EndpointConnectionError' error occurred while testing connection: 
Could not connect to the endpoint URL: "https://sts.default.amazonaws.com/";
   
   It is trying to connect https://sts.default.amazonaws.com/ for 
authentication and authorization
   
   Why it is trying to connect https://sts.default.amazonaws.com/ ? instead of  
"endpoint_url": "https://minio-url.xxx.com:443";,?
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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