Closed RGB314 closed 5 months ago
This looks like a networking problem and not an interceptor one. Are you able to hit your endpoint with curl
?
I'll close this issue, but we can reopen if you believe this is something that the interceptor code is causing.
Commented line val request = HttpGet("https://www.google.com")
works though.
Can't access via curl
either - Access Denied
. I'm inside my company's network and AWS is obviously outside and needs the proxy.
I just wanted to know if AWS VPC endpoints (any service, not just OS) are accessible from outside AWS at all (if there aren't any proxies involved)?
Trying to access locally in order to have a quicker turnaround instead of having to deploy to AWS using the company's build pipeline.
AFAIK a VPC that has a network policy to only allow access from the VPC then that's what it allows. Your options are AWS Direct Connect, AWS site-to-site VPN, or via AWS VPN Client. There's some good material about this in https://aws.amazon.com/blogs/big-data/network-connectivity-patterns-for-amazon-opensearch-serverless/. For temporary access an SSH tunnel can work, but it's more involved.
Hi,
I'm trying to access the OpenSearch VPC endpoint from outside AWS (a Java client running on my PC and another running on a server). I have obtained the correct credentials from
software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider
(which works with other AWS services) but I'm unable to connect. The code and the error are:This is related to my attempt to connect to the cluster and be able to get raw search responses to reduce latency. See https://github.com/opensearch-project/opensearch-java/issues/905