Stream: cds hooks
Topic: Sandbox broken
Josh Mandel (Apr 03 2019 at 18:46):
Current sandbox tries to connect to the default FHIR server:
Access to XMLHttpRequest at 'https://api.hspconsortium.org/cdshooksdstu2/open/metadata' from origin 'https://sandbox.cds-hooks.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
@Nikolai Schwertner is this a known issue with the HSPC server (CORS off)? Maybe related to the recent updates?
Dennis Patterson (Apr 03 2019 at 19:16):
I get a 301 Moved Permanently on that hspc url, Location: https://api-v8-dstu2.hspconsortium.org:443/cdshooksdstu2/open/metadata
Nikolai Schwertner (Apr 03 2019 at 21:29):
@Josh Mandel I was not aware of the CORS issue, but we did recently upgrade to HAPI 3.7 and the platform version which is part of the endpoint base hostnames changed. The old endpoints are supposed to return a redirect to the new ones. @Jacob Crump could you please look into this?
Nikolai Schwertner (Apr 03 2019 at 23:51):
@Josh Mandel and CDS Sandbox users: We started an internal discussion about the need (or lack of) for the versioned endpoints that change with each new upgrade of HSPC to the latest HAPI causing such side effects. We hope that we come with a resolution tomorrow. We will keep you posted. @Jacob Crump @Shilpy Sharma @Travis Cummings
Nikolai Schwertner (Apr 04 2019 at 15:47):
@Josh Mandel @Dennis Patterson We resolved the redirect issues with the endpoints. The https://api.hspconsortium.org/cdshooksdstu2/open endpoint should work same as before. I tested via the CDS Hooks harness and did not observe any further issues. Could you please confirm that everything is resolved on your end as well?
We will be working on a long term solution of eliminating the versioned endpoint bases altogether .
Dennis Patterson (Apr 05 2019 at 15:14):
@Nikolai Schwertner the sandbox looks to be working again. Thank you!
Last updated: Apr 12 2022 at 19:14 UTC