-
Notifications
You must be signed in to change notification settings - Fork 82
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
Trino Gateway Health check fails when trino cluster has oauth2 enabled #166
Comments
Trino only currently supports the authorization code flow, so you'll need to switch to JDBC health checks and set up a separate authn mechanism for the gateway service user. For example, you can set |
if the auth is
|
the issue with JDBC is internal trino clusters might not have TLS enabled (for various reasons) while it is a strict requirement for JDBC client. |
TLS is not required for JDBC connections |
I think this is resolved by #264 |
Yeah .. good call @oneonestar .. pleasetest and confirm once the new 7 release is out @JustinR5 |
Please reopen if things still doesn't work for you. |
Whenever Trino gateway runs a health check with the trino backend clusters, it returns an 'Unauthorized to fetch cluster stats' error and sets the status of the cluster to 'false'. When changing trino authentication to 'form' from 'oauth2' the health check works.
The text was updated successfully, but these errors were encountered: