Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spine SSL context used for outbound http calls #116

Closed
no-man-is-an-island opened this issue Mar 2, 2021 · 1 comment · Fixed by #145
Closed

Spine SSL context used for outbound http calls #116

no-man-is-an-island opened this issue Mar 2, 2021 · 1 comment · Fixed by #145

Comments

@no-man-is-an-island
Copy link

Affects gp2gp version:

0.0.3

Steps to reproduce:

Trigger a successful gp2gp flow with the GP2GP_SPINE_* env vars set

Error:

The request to the GP2GP_MHS_OUTBOUND_URL with the ehr extract attempts to use the spine SSL context:

Error while processing task queue message ID:3d2ff5aa-2b83-40f4-bb3d-7f5f7a75285f:2:1:2-1" org.springframework.web.reactive.function.client.WebClientRequestException: General OpenSslEngine problem; nested exception is javax.net.ssl.SSLHandshakeException: General OpenSslEngine problem 
at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:137) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: Error has been observed at the following site(s): |_ checkpoint ⇢ Request to POST https://dev-mhs-outbound.infra.newhealth.care [DefaultWebClient] Stack trace: at org.springframework.web.reactive.fun

A workaround until the SSP flow is implemented is to simply not specify the GP2GP_SPINE_* env vars

@mattd-kainos mattd-kainos linked a pull request Apr 7, 2021 that will close this issue
@mattd-kainos
Copy link
Contributor

Discovered during testing that this continues to be an issue in the GP Connect consumer adaptor: https://github.com/nhsconnect/integration-adaptor-gpc-consumer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants