I am trying to set-up Athena connection in VSCode using SQLTools extension.
When I do Test Connection, I get this error
Error opening connection Inaccessible host: athena.us-east-1.amazonaws.com'. This service may not be available in the
us-east-1' region.
I am behind VPN. If I disconnect from VPN, I can establish the connection to Athena
If the VPN is on, I get the above error.
I also have awscliv2 installed and if I run a script adapted from this, it returns the results, even when connected to VPN
I also tried this successfully so, doesn't seem to be general network issue.
How can I connect to Athena from VSCode when still being connected to VPN?
nc -v athena.us-east-1.amazonaws.com 443 Connection to athena.us-east-1.amazonaws.com port 443 [tcp/https] succeeded!
How can I fix this error