Connectivity of dbx serverless to api gateway dns in aws is failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2025 01:57 AM
Hello,
I'm trying to establish the connection between dbx serverless account which is in "Account A" to the api gateway dns name which is in "Account B" is failing. i have created a api gateway with the custom domain for ex : "api-dev.amazon.com" and also create a ACM certificate along with "A" record for it.
While accessing the dns with the api endpoint in the same network its working fine for me. But while accessing it from other network its failing and giving the below error
nnectionError: HTTPSConnectionPool(host='api-dev.amazon.com', port=443): Max retries exceeded with url: /v1/quality (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7745d552d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Can someone kindly guide on this issue on how to solve the connectivity issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2025 07:51 AM
Hello @deepud26 ,
There are a few different things that could be causing this, and without more details it’s hard to pinpoint the exact issue. What I suggest is running the following command in "Account B" in a notebook:
nslookup api-dev.amazon.com
If you don’t get any DNS information back, then either:
1. the domain is not public (which may not be what you want), or
2. the API Gateway is set up as Private and the VPC endpoint is not configured correctly.
3. or maybe something else
Hope that helps a bit. Let me know how it goes.
Best, Ilir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2025 07:55 AM
Hello @ilir_nuredini ,
I'm trying the below way
below error im getting :
This is a serverless setup that we are trying to create connectivity