sbbagal13 opened a new issue #16075:
URL: https://github.com/apache/superset/issues/16075
A clear and concise description of what the bug is.
### Expected results
Connection Successful
### Actual results
[SupersetError(message="HTTPSConnectionPool(host='myhost', port=443): Max
retries exceeded with url: /v1/statement (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate (_ssl.c:1091)')))",
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR:
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>,
extra={'engine_name': 'Trino', 'issue_codes': [{'code': 1002, 'message': 'Issue
1002 - The database returned an unexpected error.'}]})]
2021-08-04
21:58:19,406:WARNING:superset.views.base:[SupersetError(message="HTTPSConnectionPool(host='cstone-dev-trino.apps.lv-tst01.ocp.c1b',
port=443): Max retries exceeded with url: /v1/statement (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate (_ssl.c:1091)')))",
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR:
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>,
extra={'engine_name': 'Trino', 'issue_codes': [{'code': 1002, 'message': 'Issue
1002 - The database returned an unexpected error.'}]})]
10.32.3.1 - - [04/Aug/2021:21:58:19 +0000] "POST
/api/v1/database/test_connection HTTP/1.1" 422 499
"http://cstone-dev-viz.apps.lv-tst01.ocp.c1b/databaseview/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/91.0.4472.164 Safari/537.36 Edg/91.0.864.71"
#### Screenshots
If applicable, add screenshots to help explain your problem.
#### How to reproduce the bug
Try to connect to secured trino over https
### Environment
Openshift kubernetes
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version
of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't
found one similar.
### Additional context
How to add SSL related information and JKS truststore to authenticate trino
from superset
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]