-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CERTIFICATE_VERIFY_FAILED while connecting to the databricks sql endpoint using python through M2M auth #439
Comments
@benc-db can you please take a look? Seems that error comes from SDK |
@saurabhdataeng a quick question: if you use access token instead of oauth - does it work? |
@kravets-levko Yes, it works fine when I use access_token. |
I think the earlier error was due to some request quota exceed. Now I am getting different error with same code.
|
I have found a work around: Downgraded the databricks-sql-connector version to 2.7.1.dev2 as mentioned Now its woking as expected. |
@saurabhdataeng this warning comes from urllib and normally should be just printed, but not interrupt your script. Do you have anything that may override that behaviour and change warnings to exceptions? Also, try to disable warnings and see if anything changes: import warnings
...
warnings.simplefilter("ignore") |
@kravets-levko |
Also experiencing this issue with the boiler plate code, opened a new issue. |
I think I found a solution for this in my issue |
Just wanted to add some signal that the boilerplate M2M code appears to be non-functional on |
main.py content
.env content
ERROR
Packages
The text was updated successfully, but these errors were encountered: