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

Using http_proxy with the plugin #1164

Closed
1 task
adbdkb opened this issue Jun 15, 2023 · 2 comments
Closed
1 task

Using http_proxy with the plugin #1164

adbdkb opened this issue Jun 15, 2023 · 2 comments

Comments

@adbdkb
Copy link

adbdkb commented Jun 15, 2023

Unable to connect to Athena from the extension

I am trying to set-up a VSCode connection using SQLTools to connect to Athena. This is connected to issue # 36 ( kovihq/sqltools-athena-driver#36 )

This is my set-up
Athena-in-VSCode

I have http_proxy defined and also tried setting up proxy in VSCode - but get the same error

VSCode_Proxy_settings
When working with a colleague of mine when he also was trying to connect - we came to this conclusion

it is definately a proxy issue though, you wont be able to connect to the athena endpoint, without a hardcoded proxy in VScode, and that would explain all 3 scenarios: 1 - off network (no proxy needed) works, 2 - on-network terminal (proxy configured) works, 3 - on-network vscode, cannot conenct to the Athena endpoint

He also looked at the extension code and said 'ask for the plugin developer team to use http_proxy settings from VSCode'

Is is possible to add it to the extension, so it could be used when a proxy needs to be defined?

Desktop (please complete the following information):

  • SQLTools Version: v0.27.1

  • VS Code Version: 1.79.1

  • OS: Windows 10

  • Driver:

    • Other? ATHENA JDBC Driver
  • Database version: [e.g. Athena ]

Additional context
Add any other context about the problem here.

@adbdkb adbdkb added the triage label Jun 15, 2023
@gjsjohnmurray
Copy link
Collaborator

This needs to be fixed in the driver. I hope the author of that extension picks up the issue you have opened on that repo.

@adbdkb
Copy link
Author

adbdkb commented Jun 15, 2023

Ok. There has been no response or movement on that one

And one of the tickets I saw of this project where it was commented that making use of the proxy set-up in vscode can be done in this extension itself, so was hoping it will be picked up here and fixed.

Thanks for responding though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants