Hello,
Is there some DNS restrictions on https://healthidsbx.abdm.gov.in/api/v1/ endpoint ( geographical etc. ?)
When I try to do basic GET request on above from my local system i get the expected 401 Unauthorized error.
As a test I did simple cURL get as follows
ubuntu@ip-172-31-17-48:~$ curl --location 'https://example.com' | head -n 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1256 100 1256 0 0 9812 0 --:--:-- --:--:-- --:--:-- 9812
<!doctype html>
<html>
<head>
<title>Example Domain</title>
ubuntu@ip-172-31-17-48:~$ curl --location 'https://healthidsbx.abdm.gov.in/api/v1/' | head -n 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:09 --:--:-- 0
curl: (28) Failed to connect to healthidsbx.abdm.gov.in port 443: Connection timed out
The machine has access to internet as I can see it was able to connect quickly to https://example.com but the call timed out https://healthidsbx.abdm.gov.in/api/v1