Skip to content
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

Connect to Trino data source if no Port #1106

Open
seventechco opened this issue Jan 13, 2025 · 4 comments
Open

Connect to Trino data source if no Port #1106

seventechco opened this issue Jan 13, 2025 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@seventechco
Copy link

Describe the bug

  • I cannot connect to a trino server that is behind a load balancer which will do the port forwarding to 8080

  • However On my VS code trino connector, I can connect by simply setting the HOST as https://query.example.com and leave the port blank.

Screenshot 2025-01-13 at 11 15 59 AM

Expected behavior

Can we not make the port mandatory ? and then allow Use SSL to simply connect directly over HTTPS

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac OS Sonoma 14.6.1
  • Browser: Chrome

Wren AI Information

  • Version: 0.13.2
  • LLM_PROVIDER= # openai_llm
  • GENERATION_MODEL= # gpt-4o

Additional context
N/A

Relevant log output
N/A

@seventechco seventechco added the bug Something isn't working label Jan 13, 2025
@wwwy3y3
Copy link
Member

wwwy3y3 commented Jan 13, 2025

Could you try using port 80 ?

@seventechco
Copy link
Author

Yes i have tried that as well and it would not work. Our URL is just https://query.example.com if i used 443 as PORT that will fail as well

@seventechco
Copy link
Author

seventechco commented Jan 15, 2025

I have even tried to add a custom port on my trino endpoint and that too failed

Host : query.example.com
Port : 443
Use SSL : Yes

This too failed

When i tried connecting to Trino using Metabase BI tool using https://github.com/starburstdata/metabase-driver it worked with the following settings

Host : query.example.com
Port : 443
Use SSL : Yes

@wwwy3y3
Copy link
Member

wwwy3y3 commented Jan 15, 2025

hmm, got it. Thanks for reporting. We'll look into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Next
Development

No branches or pull requests

2 participants