Open bergpb opened 4 months ago
What version of Trino Gateway are you using... this codepath changed heavily..
Hi @mosabua, I'm using version 5 downloaded from this URL: https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/5/gateway-ha-5-jar-with-dependencies.jar
Do I need to use another version?
I believe this is heavily changed by now. I suggest you test this again when version 6 is released. We are working towards that to happen as soon as possible.
I tried switching the HttpConnectorFactory
to HttpsConnectFactory
and it seems to work - https://github.com/trinodb/trino-gateway/blob/230439e99979adb1b3b26a69b13fccc8e5839b4d/gateway-ha/src/main/java/io/trino/gateway/baseapp/AppModule.java#L49
You'll need to change on the subsequent lines as well. Can you give that a try @bergpb ?
Can you send a PR that implements a switch based on protocol @prakhar10 or @bergpb
Sure, I can do that.
Any updates on this fix, I have raised a issue as well. https://github.com/trinodb/trino-gateway/issues/383
Hey folks, I'm working configuring Trino Gateway to use with our current Trino Cluster (running with HTTPS). After a lot of tries, and some team member help, we are able to make the application working without configuration issues, here the relevant part of the config file:
Most of these configurations are from the Dropwizard docs, since we don't have detailed docs on how to deploy Trino Gateway with HTTPS.
After applying these configurations, the application starts, and was able to run healthychecks with Trino clusters, but the Web UI is not available. Here an error log found:
We don't know if that is a configuration issue or a bug in the application, so any help on this will be appreciated.