Data Not recieving in DataPush URL from HIP Archana Eye Clinic

Hi @IntegrationSupport @sravani ,

I’m integrating M3, and since M2 isn’t started yet, I’m using the EMR web interface to create and link records to the ABHAID “91506400830325@sbx”.

Records are linked from the EMR, and I can see them in the PHR app as well.

As until “v0.5/health-information/cm/request” in the HIU Flow, everything was functioning as it should, but when I hit this URL, I am not receiving a response from the relevant HIP.

I code in javaScript so using elliptic library which provides support for a variety of elliptic curves, including Curve25519 and generating public and private key and nonce.

With my dataPush URL when I hit API ““v0.5/health-information/cm/request”” I am also getting response from gateway that it sessionStatus is “REQUESTED” but I am not getting any response from HIP on my data push URL.

On EMR, HIP where I create records is “Archana Eye Clinic”, and I am also requesting records against them from HIU.

Please find atached Postman curl for reference :

curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/health-information/cm/request
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIs…’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed0407060c1724d11c820452716ecffeba5100eab177ff3b57628e51f36d7e7034fa52cc07aaa8f752b56c2f98554f22434f’
–data ‘{
“requestId”: “5faa84c4-52b2-427f-8f86-243831f5397a”,
“timestamp”: “2023-09-27T07:04:24.617Z”,
“hiRequest”: {
“consent”: {
“id”: “55846a32-34f5-4133-89be-9c64c8d80274”
},
“dataPushUrl”: “https://eouza8wfq5grfuq.m.pipedream.net”,
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “Curve25519”,
“dhPublicKey”: {
“expiry”: “2022-12-26T10:25:26.274Z”,
“parameters”: “Curve25519/32byte random key”,
“keyValue”:“3dad87c74b7702f6ed61cb50a728b19260ea644196b7047c59e1ad3f65bb9594”
},
“nonce”: “22a586c8db08398f6f9fe59c284a10593a19a32d4b888fb178e0569b2d135d77”
}
}
}’

Response I am getting after hitting above curl on gateway is

error:null
hiRequest{2}
sessionStatus: REQUESTED
transactionId: 3c9928c6-197e-46bf-922b-a6115446a9ca
requestId: d80c5b15-f2e7-4969-ae8b-d4212713e40f
resp{1}
requestId: 2d5f16d8-ef0b-42c9-ba9f-2d0337a961b3
timestamp: 2023-09-27T06:23:37.810423838
client_ip: 14.143.232.140
headers{8}
accept: */*
authorizationBearer nY9OE7Q8nIaVTB1XERteBEraSvjlLXbH15…
content-length: 266
content-type: application/json
correlation-id: 37ee3309-2fea-48c4-bd12-5a0d9b8dafbb
host: eoxkbdadd9w1bvq.m.pipedream.net
user-agent: ReactorNetty/0.9.7.RELEASE
x-hiu-id: 91506400830325
method: POST
path: /v0.5/health-information/hiu/on-request
query{0}

@IntegrationSupport Suggest here please, because I am not getting issue,
Is it from my side or HIP is not sending any data

@pranab @Vjdev Please assist here.

Please help here as we are not getting any response in data push url, so we are not able to get issue is ours or from HIP (EMR Archana eye clinic) @pranab @Vjdev @IntegrationSupport

@kaustubh

Can You please help how can generate these
keys
{
“privateKey”: “DMxHPri8d7IT23KgLk281zZenMfVHSdeamq0RhwlIBk=”,
“publicKey”: “BAheD5rUqTy4V5xR4/6HWmYpopu5CO+KO8BECS0udNqUTSNo91TIqIIy1A4Vh+F94c+n9vAcwXU2bGcfsI5f69Y=”,
“x509PublicKey”: “MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQIXg+a1Kk8uFecUeP+h1pmKaKbuQjvijvARAktLnTalE0jaPdUyKiCMtQOFYfhfeHPp/bwHMF1NmxnH7COX+vW”,
“nonce”: “6uj1RdDUbcpI3lVMZvijkMC8Te20O4Bcyz0SyivX8Eg=”
}
can you please help me on these

Hi @Bhaskar1,

I’m assuming you’re an integrator, so you can refer to
fidelius-cli.
Because I’m coding in JS and I tried a lot of various approaches to generate this keyPairs with crypto or elliptic, but it was not working, so you have to refer to this gitHub doc and create your keypairs.
You can use this if you’re writing code in a language other than Java, too, like JS or Ruby, for example.

https://sandbox.abdm.gov.in/abdm-docs/FideliusCLI

@kaustubh
Hi
I am doing in java language can you please tell me 1 various approaches to generate this keypairs

download the fiedecilius bat file and write a rest end point which is calling Runtime class to execute the command gkm on the command line and then use buffered reader to get the generated key material into the code and saving it into the database and sending

Hi @kaustubh did you get issue resolved if yes please help me on this since we are facing same issue Thanks