elementechemlyn / NEMS-Postman

A postman environment and collection for experimenting with NEMS in OpenTest
0 stars 0 forks source link

Facing issue in Integration Env- 500 internal server error - #3

Open j4jig opened 3 years ago

j4jig commented 3 years ago

Hi Team, We are at stage of testing our development on INT env. We received certificate after EPR(End-Point registration). Using that certificate received and client private key I tried calling create subscription api and it is giving me 500 internal server error with following response in body:

block Web Page Blocked! The page cannot be displayed. Please contact the administrator for additional information.

URL: msg.intspineservices.nhs.uk/STU3/Subscription

Client IP: 99.80.174.239 Attack ID: 20000018 Message ID: 000006966472

Passed following parameters: messages = ["newborn-hearing-1"] nhs_number = "*" from_asid = "****" to_asid = "**" meshbox_id = "****" requester_ods = "**" issuer_uri = "****" spine_endpoint = "https://msg.intspineservices.nhs.uk" subscription_url = "/STU3/Subscription"

Header Info : request["fromASID"] = "***" request["InteractionID"] = "urn:nhs:names:services:clinicals-sync:SubscriptionsApiPost" request["toASID"] = "****" request["Content-Type"] = "application/fhir+xml" request["Accept"] = "application/fhir+xml" request["Authorization"] = "Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJpc3MiOiJudXJ0dXJleS1ZR01YQS5udXJ0dXJleWxpbWl0ZWQudGhpcmRwYXJ0eS5uaHMudWsiLCJzdWIiOiJodHRwczovL2ZoaXIubmhzLnVrL0lkL2FjY3JlZGl0ZWQtc3lzdGVtfDIwMDAwMDAwMTUzMSIsImF1ZCI6Imh0dHBzOi8vbXNnLmludHNwaW5lc2VydmljZXMubmhzLnVrL1NUVTMvU3Vic2NyaXB0aW9uIiwicmVhc29uX2Zvcl9yZXF1ZXN0IjoiZGlyZWN0Y2FyZSIsInNjb3BlIjoicGF0aWVudC9TdWJzY3JpcHRpb24ud3JpdGUiLCJyZXF1ZXN0aW5nX3N5c3RlbSI6Imh0dHBzOi8vZmhpci5uaHMudWsvSWQvYWNjcmVkaXRlZC1zeXN0ZW18MjAwMDAwMDAxNTMxIiwicmVxdWVzdGluZ19vcmdhbml6YXRpb24iOiJodHRwczovL2ZoaXIubmhzLnVrL0lkL29kcy1vcmdhbml6YXRpb24tY29kZXxZR01YQSIsImlhdCI6MTYyNDg4NDU2OSwiZXhwIjoxNjI0ODg0ODY5fQ." scope = "patient/Subscription.write"

We are trying to access the api over the internet.

This client IP returned in response is our QA env IP address. It might be that our IP address is not whitelisted to access this api. Is that the case?

From our end, I have checked settings/configurations at our end and things seem to be fine.There is no network blockage from our side. We don’t block any outbound traffic. Everything is allowed out from our side.

We are already using other NHS systems like IM1, NHSLogin etc, the same way and they all are working.

Can anyone please help me out with resolving this issue. It will be very grateful.